|
Atari coding BBS
Re: filename |
Posted by: ggn
|
Sep,24.2014-10:18
|
Had a quick look around: Compendium says you're pretty much hosed for a standard system so I had a peek on steem debug. There I found a low address where the system stores the program launched. The address is hardcoded into TOS and of course will only work when you run a program from TOS (i.e. pexecing a program from a running program will not work). Not to mention that the address will change with different versions of TOS. And not even touched MiNT yet ;).
The closest thing to self-awareness I saw is to call fsfirst with the filename you expect it to be (for example, L_XXXXXX.PRG from bugaboo does that to decode the numbers from the filename and load bugaboo into the memory address you want).
So instead of an answer may I ask why would you need this?
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|