I made a little program that displays my name at the bottom of the screen whilst in the homescreen, and ONLY there, well - cool, but sometimes during a BASIC program that does:
I think TI-BASIC requires the calc's interrupts and only the calc's interrupts to run correctly. Many menus and functions of the TI-OS are inaccessible when you run IM 2, for example, when I run my own TSR, and then try to graph something, it gives me an ERR:SYNTAX or something and then destroys the TSR and switches back to IM 1.
You mean rewrite the code at $0038 so that when it runs in IM 1 it calls whatever you want to? It's a bit impractical, since TI as pretty much stuffed that area full of code and there's no saferam there.
Maybe use a key hook instead of interrupts. If you hook into the part where it scans the keyboard (I think it's getKeyHookPtr), you can get effects like an interrupt, but no TIOS interrupting it.
You know your hexadecimal output routine is broken when it displays the character 'G'.
It doesn't run at a constant time, but I could use that to re-install the interrupt
@LolBbq: one could replace jr $006A \ in a,(4) by call Label \ nop, then have the code at $006A in your interrupt, end with in a,(4) and then jp to $003C
BUT it's ROM so we can't do that.. And you can't even map an other page to it..