[A83] Re: Running external ASM programs from within an ASM program...


[Prev][Next][Index][Thread]

[A83] Re: Running external ASM programs from within an ASM program...




>How can one run an assembly program without moving it though? Doesn't
>ION run programs with < 40 bytes free memory? How is this done?
>
>Thomas Lutz
>Stevens Institute of Technology

Ion is installed right after $9327 (Ti-83-). When you
start prgmA, the TI-OS copies the "nop" from prgm000000
to $9327 and moves everything behind $9327. This takes up
that < 40 bytes. Then after the nop is the ion program.
When ion itself runs a program, it places that program
byte after byte to $9327 so there is no mem needed.
This way of program execution causes that you can load
something into your prog that's running(*), and it would
still be there the next time because the whole prog is
placed back to it's origin.

(*)
...
ld (hiscore),a
...
ret

hiscore: .db 0


      SUCKER




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.