Search the Community
Showing results for tags 'init'.
Found 2 results
Hey all, I'm trying to make a really long program, so instead of actually wasting all my space with one program I have several programs daisy chained together in extended basic. So far I've had no problems, but things would be a lot less tricky if I was able to send variables between the programs. From what I understand, whenever you start a new program, the variables are all wiped to zero, but you can save values in specific locations on the expanded memory (like 8199 or something like that). I also believe that you are supposed to use (in some combination) init, load, link and/or peek in order to do so, but I cannot figure out how. Anyone know how to do this? Thanks!
I've been digging about on binary object files and how they are put together. There are the standard kind, and then some SDX specific ones. To start with, I want to ask a question about the standard ones. I understand they start with: FFFF then another word designating the start address to load into, then one more word with the end address. That's 6 bytes in that header. What I was wondering is if there are additional segments, do they all start with the same kind of 6 byte header, or do they just have the start and end address words and skip the FFFF. In other words, is the FFFF only at the start of the file but not on each segment?