Omnimaga
Calculator Community => TI Calculators => ASM => Topic started by: Hot_Dog on April 18, 2011, 03:25:09 pm
-
I'm looking into writing a small, yet valuable, package called Sparrow that will allow users to run custom IM 1 routines without damaging the TI interrupt routine. (No runer, this is not Project Crabcake ;) )If the calculator crashes, the TI routine will run without any problems at all.
However, I do need to know, is there any OS section of flash (like a part of a page) that no Operating system on Ti-83+s or Ti-84+s has touched?
And I need to put a couple of lines of code in page 0, as well as that one spot in flash that I can write in. What's the best way to write to OS pages?
-
There's room on the end of almost all the pages for code. The amount just varies by OS.
But I would say you are much better off just making an IM 2 interrupt that that ends with jp $0038. It has exactly the same benefits as IM 1 interrupts but it is OS version independent. The reason I say this is different OS's do different things down at $0038 and adding code there could be difficult.
-
There's room on the end of almost all the pages for code. The amount just varies by OS.
But I would say you are much better off just making an IM 2 interrupt that that ends with jp $0038. It has exactly the same benefits as IM 1 interrupts but it is OS version independent. The reason I say this is different OS's do different things down at $0038 and adding code there could be difficult.
The different things at $0038 makes a lot of sense, but I have that under control. Considering that my goal with this is so programmers won't have to create a 257-byte jump table, can you tell me the best way to write to flash? I have no idea if B_CALLs will work on OS pages or not.
-
This topic is now locked.
-
This topic is now locked.
Why?
-
This topic is now locked.
Why?
Cause I'm not doing the project anymore, it's more of a hassle than I thought it would be to write to flash