Author Topic: [83+] Place for IM 2 table?  (Read 2701 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
[83+] Place for IM 2 table?
« 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:

  • saveSScreen
  • statVars
  • appBackUpScreen
  • plotSScreen (duh)

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?
« Last Edit: December 04, 2012, 03:32:45 pm by Runer112 »

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: [83+] Place for IM 2 table?
« Reply #1 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.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: [83+] Place for IM 2 table?
« Reply #2 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. ;)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: [83+] Place for IM 2 table?
« Reply #3 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.
« Last Edit: December 04, 2012, 05:13:29 pm by tr1p1ea »
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."