Keeping labels between several pieces of code
Posted: Sun Jul 13, 2014 6:41 am
Hello, i wanted to adapt an old game on the oric and i've a problem to solve. I don't know how to do it with osdk
In the case of the program is too heavy to keep it in one part of code :
For example, i'll have :
$500 : main.c with .s subroutines and global datas
+
$4000 sub program 1 to do one thing
$4000 sub program 2 to do another thing
sub program x will be loaded and called by main.c
but to implement it easily, i'll have to keep labels of subroutines (in assembleur) and global datas in the code to develop sub program x.
What's the best way to do it with osdk ?
In the case of the program is too heavy to keep it in one part of code :
For example, i'll have :
$500 : main.c with .s subroutines and global datas
+
$4000 sub program 1 to do one thing
$4000 sub program 2 to do another thing
sub program x will be loaded and called by main.c
but to implement it easily, i'll have to keep labels of subroutines (in assembleur) and global datas in the code to develop sub program x.
What's the best way to do it with osdk ?