Author Topic: IM 2 on SE/84+ hardware  (Read 3241 times)

0 Members and 1 Guest are viewing this topic.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
IM 2 on SE/84+ hardware
« on: July 14, 2011, 05:11:29 am »
Remember how in IM 2, the high byte comes from the I register and the low byte of the address for your ISR is random? That may have been true for the TI-83+, but I don't think it's true for the TI-83+SE and TI-84+(SE). A while ago, I did some tests on my TI-84+SE that suggested that in IM 2, the only vector that ever gets used is the FF one. Now, once again, I have written a slightly more advanced tester, based on MicrOS, to keep track of what vectors are issued. Attached is a program for this and its source. Be aware, this program erases all of your RAM. Run the program, and you just get a basic hex editor, starting at address 6200. Address 6200 is the start of a table keeping track of how often a particular IM 2 vector is used. Each entry is two-bytes, so to check how often 20h was used, go to 6240h. The only vector I have ever seen is FF (63FE). Does anybody else with TI-83+SE or TI-84+(SE) ever see a non-zero value in the 6200h to 63FDh range?
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: IM 2 on SE/84+ hardware
« Reply #1 on: July 14, 2011, 11:03:49 am »
Yes, on my 84+SE S-0404 with ViewScreen port.  The vector seems to be random, writing to various bytes between 6200h and 6400h.  On my 84+BE S-0306F it appears "normal" (nothing but 63FEh written to).  Could this have to do with the ASIC version or port 15 at all?

EDIT: 100th post!
« Last Edit: July 14, 2011, 11:04:08 am by Mighty Moose »
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

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: IM 2 on SE/84+ hardware
« Reply #2 on: July 14, 2011, 11:32:46 am »
Yeah, DrDnar, I made a test like this a long time ago, and I can say that mine is random. It favors some addresses, but in the end, it's unpredictable.

I just ran mine and I get hits in random blobs about every 30 bytes.
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 DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: IM 2 on SE/84+ hardware
« Reply #3 on: July 14, 2011, 04:53:31 pm »
It could indeed be very related to the ASIC revision. Perhaps only the ones that read 45 from port 15 are predictable? Which would make this kind of useless.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: IM 2 on SE/84+ hardware
« Reply #4 on: July 14, 2011, 07:11:16 pm »
Hmm... Sound interesting.  It would be nice if we didn't have to fill that huge space with all the same number.  :/
ld a, 0
ld a, a