|
> how-to's > memory / tsr >> how to program a "TSR"i can't say TSR, but a lot of people know this word, so I'll use this. first of all, look at the following graphic, it shows you, how the TI92 memory is divided to create a TSR routine, you have to copy your routine to this "Fixed
memory area". So, now we have to find the fixed memory area. At the moment
I don't know where the fixed memory area starts, but when you search the first
space from the top, then it works (see MXMLib).
The top depends from the memory size. The top at 128Kb calculators is at 0x1ffff
and on 256Kb at 0x3ffff. To find out, how much memory the calculator has, you
have to check the bit 0 from the I/O port 0x600001. After this, the routine has
to find the first empty space, because there could be some stuff (Fargo kernel
for example!).
Now, I'll show you a TSR routine (relative branches, variables, ...)
I hope this will help you! |
powered by ticalc.org,
levante.de, xoom.com,
listbot.com, fastcounter.com
last update on 12.12.1999