Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Runer112 on December 04, 2012, 03:31:54 pm

Title: [83+] Place for IM 2 table?
Post by: Runer112 on December 04, 2012, 03:31:54 pm
So Builderboy has requested that the vector table for im 2 interrupts in Axe be moved, because right now it occupies an area of safe RAM that Axe users often want to use to store data (statVars). And I agree that this is probably a good idea. The question is, where's a good, safe spot to put it in static RAM that Axe doesn't expose to users? Axe exposes the following RAM areas, so they are off limits:


Also off limits are any areas of RAM that are needed by B_CALLs in any Axe command; for example, all of $8000-$8400 is off limits because of possible archive operations.

So far the best idea seems to be $9200, which is in the middle of where table data is stored. Destroying table data seems like it could be an acceptable side effect, but are there any better options?
Title: Re: [83+] Place for IM 2 table?
Post by: thepenguin77 on December 04, 2012, 05:07:44 pm
That sounds fine to me. I gave it a 5-star for stability in my chart as well as a 4-star for collateral damage (but that was because I didn't actually know).

So I think you're good.
Title: Re: [83+] Place for IM 2 table?
Post by: Runer112 on December 04, 2012, 05:10:05 pm
Does that mean you can't see any better spots? I couldn't either, I just wanted a more expert opinion like yours. ;)
Title: Re: [83+] Place for IM 2 table?
Post by: tr1p1ea on December 04, 2012, 05:13:15 pm
Well there is only one way to find out, a stringent testing phase is probably needed however.