Author Topic: You Can Help Discover More About the TI-8x Calculators!  (Read 9920 times)

0 Members and 1 Guest are viewing this topic.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
You Can Help Discover More About the TI-8x Calculators!
« on: March 12, 2013, 07:57:19 pm »
Although we know a lot about the TI-8x ASICs, there still remains significant work to be done. Recently, I have discovered something new that needs to be confirmed. You can help confirm this by typing in the following program and posting your results. This test can be performed by TI-83+SE, TI-84+, and TI-84+SE users; the TI-83+ is not relevant. If you have a MathPrint OS, disable MathPrint before trying this and clear the homescreen. The information from this test relates to port 27h and is realted to accessing the extra RAM pages. It may be of use to operating system writers, assembly programmers, and Axiom writers.

Code: [Select]
:AsmPrgm
:DB156F2600
:EF0745EF2E45
:F31E801686
:0E052100C173
:ED51723EFF
:D327463CD327
:ED79FB260068
:EF0745EF2E45
:C9
(For assembly experts:)
Code: [Select]
; Yes, I know you can optimize this by at least two bytes.
in a, (15h) ; DB15
ld l, a ; 6F
ld h, 0 ; 2600
b_call(_DispHL) ; EF0745
b_call(_NewLine) ; EF2E45
di ; F3
ld e, 80h ; 1E80
ld d, 86h ; 1686
ld c, 05 ; 0E05
ld hl, 0C100h ; 2100C1
ld (hl), e ; 73
out (c), d ; ED51
ld (hl), d ; 72
ld a, 0FFh ; 3EFF
out (27h), a ; D327
ld b, (hl) ; 46
inc a ; 3C
out (27h), a ; D327
out (c), a ; ED79
ei ; FB
ld h, 0 ; 2600
ld l, b ; 68
b_call(_DispHL) ; EF0745
b_call(_NewLine) ; EF2E45
ret ; C9

Run this like a regular assembly program. It should print two numbers. The first will is the ASIC ID and will be either 51 (TI-83+SE), 68 (TA2), 69 (TA3), or 85 (TA1, what all new calcs have); the second will be either 128 or 134.


If you don't mind causing a RAM reset, there's a second test you can perform. This test is related to custom interrupts. The test will cause a crash, hang, freeze, or otherwise errant behavior if it fails; if it passes, the busy indicator will keep scrolling until you press CLEAR (give it half a minute or so). If the above code printed 69 for the first number, this should pass if I'm right. If I'm right, all other values will cause a crash. Do not use any shells. Doing so is likely to cause a false negative. The test is simply this:
Code: [Select]
:AsmPrgm
:FBED46FD3421
:10FBEF1840
:FE0F20F1
:ED5676C9
Assembly = _: ei \ im 0 \ inc (iy+asm_flag1) \ djnz $-3 \ b_call(_GetCSC) \ cp skClear \ jr nz -_ \ im 1 \ halt \ ret
If this test passes with the first number from the above test being anything other than 69, let us know; it could provide a great optimization for Axe.
« Last Edit: March 13, 2013, 01:58:37 pm by DrDnar »
"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 dinosteven

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 194
  • Rating: +10/-1
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #1 on: March 12, 2013, 09:56:54 pm »
I have a TI-84+SE, purchased a little less than a year ago. I suppose that makes it a "new calc". More specs in case it's helpful: Originally boot code 1.03 and OS 2.55; downgraded to 1.02 and OS 2.41. zStart is installed.
The first program returned:
85
128
So I guess that means it has a TA1?

The second program sent me to a new line, nothing else. I noticed no changes after running it... So it passed and the first number wasn't a 69.
Hope this info helped!

EDIT:
I tested the new code. It froze up and Defragmented after battery removal and reset nearly everything in the archive :/
« Last Edit: March 13, 2013, 02:21:47 pm by dinosteven »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #2 on: March 12, 2013, 10:20:14 pm »
For my 84+ (it has 8 RAM pages), it returned 69,128. The second program crashes the calculator.

For my 84+SE (3 RAM pages), it returned 85, 128. The second program caused the calculator to freeze on the homescreen after displaying Done.

EDIT: With the new code, both calcualtor's pass.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #3 on: March 12, 2013, 10:23:45 pm »
That's really neat. It'd be nice to get some TA2 results. I'm using IM 0 as an easier-to-code proxy for IM 2 behavior. I'll work up a more thorough test tomorrow to verify that IM 2 on the TA1 really doesn't require the full 257-byte IVT we've always used with the TA2 and the TI-83+.

Quick edit: Actually, come to think of it, I think I already wrote that test. I'll have to dig through my flash drive later to find it.
« Last Edit: March 12, 2013, 10:24:25 pm by DrDnar »
"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 chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #4 on: March 13, 2013, 01:22:37 am »
My 84+SE:
85
128
The 2nd test crashed the calc, but i had to disable zStart first ;)

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #5 on: March 13, 2013, 01:58:37 am »
68, 128, freeze

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #6 on: March 13, 2013, 02:09:34 am »
I'll post results from my ti-84 + se and my ti 83+ se later today. I'll have two more calculators to post results for by the end of this week/early next week.

Offline deeph

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 138
  • Rating: +6/-0
    • View Profile
    • deeph.servhome.org
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #7 on: March 13, 2013, 05:19:14 am »
With my old TI 84+ SE : 69 and 128, and with the second test my calc just freeze (if I launch it with Noshell or not).

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #8 on: March 13, 2013, 08:03:14 am »
84+:
85
128
Fail(hang)

84+ SE:
85
128
Fail(hang)

83+SE:
51
128
Fail (hang)

Ti-84+ SE:
68
128
Fail (hang)
« Last Edit: March 13, 2013, 04:38:01 pm by Art_of_camelot »

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #9 on: March 13, 2013, 01:59:27 pm »
I screwed up the code for the second test. For some reason, I need to flush pending interrupts before quitting. So run the second test again, please.
"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 Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #10 on: March 13, 2013, 03:51:35 pm »
I edited my first post. Both calculators passed.

Offline deeph

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 138
  • Rating: +6/-0
    • View Profile
    • deeph.servhome.org
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #11 on: March 13, 2013, 04:18:42 pm »
Now the second test gives me an instant "RAM cleared".

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #12 on: March 13, 2013, 04:38:19 pm »
EDIT: I had posted another here but it's broken and I don't know why. :/

Now the second test gives me an instant "RAM cleared".
Are you sure it says 69? Double check that you typed in everything correctly.
« Last Edit: March 13, 2013, 06:52:49 pm by DrDnar »
"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 TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #13 on: March 13, 2013, 04:47:18 pm »
Edited my post with the new results. I'll have one more to add tomorrow.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: You Can Help Discover More About the TI-8x Calculators!
« Reply #14 on: March 13, 2013, 04:51:15 pm »
The new-new test works for both of my calculators :)