Author Topic: OS 2.21 From Calc to Computer  (Read 11740 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: OS 2.21 From Calc to Computer
« Reply #15 on: November 13, 2010, 08:44:39 am »
Build8xu from os2tools can do it.  If you get me a ROM file, I can get you an OS file.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OS 2.21 From Calc to Computer
« Reply #16 on: November 13, 2010, 12:56:18 pm »
Wow nice. I only really saw 2.22 much so far, as well as 2.41 and 2.43. THere was also 0.41 beta or something. One other rare OS was 1.17, but it's for the 83+/83+SE. It never got released on TI site, I think, just on some calcs.

My TI CD has OS 1.13 on it, I believe. I don't remember what TI-73, TI-89 and 92 OS it has, though. I got TI-CD version 2.1 from March 2001.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #17 on: November 13, 2010, 01:45:53 pm »
I recently acquired a very ancient TI-84+SE calculator with OS 2.21 still installed.  Is there any way I can get the OS from calculator to computer?
Thx.

Some months ago, I got a TI-73 ROM file with OS 1.50.
I wanted to generate a 73u update file from it, and that's why I've developped the following tool:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1641

I haven't used it for months, but if I remember well:
- you give it a z80 ROM file (TI-73, TI-83+, TI-83+SE, TI-84+, TI-84+SE, or TI-84+Nspire)
- you then get an unsigned OS update file (73u or 8xu)

You then need to correctly sign the OS update file using rabbitsign or something like that with the correct key (not included)
« Last Edit: November 13, 2010, 01:47:05 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OS 2.21 From Calc to Computer
« Reply #18 on: November 13, 2010, 01:47:46 pm »
Didn't you grab 1.50 from TI-Flash Debugger ROM then use that tool to convert it to an OS file? You had me testing it on my TI-73 a while ago. I think my calc still have it installed.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #19 on: November 13, 2010, 01:49:49 pm »
Didn't you grab 1.50 from TI-Flash Debugger ROM then use that tool to convert it to an OS file? You had me testing it on my TI-73 a while ago. I think my calc still have it installed.

Exactly.
By the way, my tool is command-line only.

It "could" be usefull for other things, like generating an OS update file from a basic TI-83 ROM.
(think to all the tricks you could play to your friends... :p )

Source code is included.
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OS 2.21 From Calc to Computer
« Reply #20 on: November 13, 2010, 01:52:40 pm »
Do you mean like running a TI-83 on a TI-83+? ;D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #21 on: November 13, 2010, 01:55:20 pm »
Do you mean like running a TI-83 on a TI-83+? ;D


Yes.
Although the OS would probably need some patches...

But with that tool, you can generate an update file from a basic TI-83 ROM, and then sign it for a TI-73/83+/84+.
Have fun exploring all those new possibilites! ^^
« Last Edit: November 13, 2010, 01:56:14 pm by critor »
TI-Planet co-admin.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: OS 2.21 From Calc to Computer
« Reply #22 on: November 13, 2010, 09:42:13 pm »
Yeah, I guess you could.  It would take some effort to get the OS to run properly on an 83+, but it could be done.  (Of course, some assembly programs wouldn't work properly, but many of them probably would.)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OS 2.21 From Calc to Computer
« Reply #23 on: November 14, 2010, 04:37:58 am »
I remember back in the days MirageOS had TI-82 emulation, but I wonder if anyone ever got it to work and how did we convert 82 files...
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #24 on: November 14, 2010, 12:28:11 pm »
Yeah, I guess you could.  It would take some effort to get the OS to run properly on an 83+, but it could be done.  (Of course, some assembly programs wouldn't work properly, but many of them probably would.)

In theory, what would have to be changed in order to make a TI-83 OS run on a TI-83+ hardware/emulator?
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OS 2.21 From Calc to Computer
« Reply #25 on: November 14, 2010, 01:09:18 pm »
I wonder if that might contain a bit of info? http://www.ticalc.org/archives/files/fileinfo/369/36923.html

From what I can guess, some memory addresses are just different between OSes.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: OS 2.21 From Calc to Computer
« Reply #26 on: November 14, 2010, 05:15:50 pm »
It's true that memory addresses are different, but that's not the issue here, since we're talking about replacing the entire OS.

The most significant change between the 83 and 83+ is how the memory mapping is controlled.  The 83's hardware is based on the 82's, so it has a single port (port 2) that controls both the "bank A" and "bank B" memory mapping.  But since that only allows for 8 ROM pages, port 0 is used to switch between the lower and upper 128k of ROM.  In contrast, the 83+ has two separate ports (6 and 7) that independently control the mapping for banks A and B, and allow you to access all 32 pages of Flash.  So all of the code dealing with port 2 would need to be revised to use port 6 and/or 7.  (There actually isn't very much code you'd need to change.)

Second, the link port works differently; both models use port 0 to read and write the link port, but different input and output values are used.

Third, where the 83 reads port 3 to check the status of the ON key and interrupts, on the 83+ you need to use port 4 instead.  I think the bits are the same, and writing to port 3 works the same way (writing to port 4 does something completely unrelated.)

Fourth, the 83+ prevents execution on RAM page zero by default; you'd probably want to turn this protection off in order to run TI-83 assembly programs.  On an 83+ SE or 84+, this protection can't be disabled, but you could use RAM page 3 instead.

And finally, you'd need to make some small tweaks just to get the OS to boot, since 83+ OSes must contain a magic number at 0056h, and the boot code hands control to the OS at address 0053h.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #27 on: November 14, 2010, 05:34:21 pm »
Very interesting FloppusMaximus.
Let me tell you what I have in mind.


You know that Brandon has developped a way to install a TI-83+ OS on a TI-73.


In France, we don't have the TI-73, but we have cheap calculators that aren't available in North-America: the TI-82Stats.fr and the TI-76.fr.

They are running special french-translated TI-83 compatible OSes (TI-Connect does detect them as TI-83, and TI-83 assembly programs can be run without any problem).
The TI-82Stats.fr has got the 1.11fr7 ROM version.
The TI-76.fr has got the 1.00fr5 ROM version.

But although the OS is TI-83 compatible, the motherboard is very similar to the latest TI-83+ motherboards.
And although a dump file is only 256Kb large, the calculator does include a 512kb Flash-ROM.


It would be very interesting if we could find some way to flash a (patched) TI-83+ OS in those Flash-ROM.
Unfortunately, DEL+ON doesn't seem to trigger any boot code menu.

And I cannot check if the boot code is there, because it is supposed to be at the end of the 512Kb ROM.
And using TI-83 assembly code, I cannot check anything beyond the 1st 256Kb of the ROM.
« Last Edit: November 14, 2010, 05:41:41 pm by critor »
TI-Planet co-admin.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: OS 2.21 From Calc to Computer
« Reply #28 on: November 14, 2010, 09:40:04 pm »
That's very interesting.  I wonder if the Flash chip is actually upgradeable.  Going by this image from Datamath, it looks like the write-enable pin (pin 11) is in fact connected to the ASIC, so it's possible.  But it's hard to imagine that they would have put user-upgradeable Flash in a calculator without including an 83+-style boot code.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 2.21 From Calc to Computer
« Reply #29 on: November 15, 2010, 12:25:53 pm »
That's very interesting.  I wonder if the Flash chip is actually upgradeable.  Going by this image from Datamath, it looks like the write-enable pin (pin 11) is in fact connected to the ASIC, so it's possible.  But it's hard to imagine that they would have put user-upgradeable Flash in a calculator without including an 83+-style boot code.

Seems the A17 Flash-ROM pin is not connected.
So without a hardware modification, the ASIC (which is the same as on the TI-73/83+: a TI-REF/TI-738X) cannot read/write anything in ROM beyond 0x3FFFFh.

So, if there is some boot code, the ASIC cannot access it.


So I'm wondering...
When there is a power-loss on a TI673/83+/84+, is the boot code executed before the OS?
How does the ASIC know where to look for the boot code?
Is it the boot code which checks for the "DEL" key being pressed?

Thanks.



Today, I've looked into the ASIC-Flash connections on the TI-82Stats.fr.
(probably identic to the TI-76.fr)

Here is what I have figured out:


In black, unused pins.
In white, grounded pins.
Connected pins are in the same color.



I've managed to un-ground the A17 Flash pin, and connect it to the ASIC pin between RESET# and A7. (don't know if it is the right one)

Anyway, I didn't manage to trigger a boot code after that using the DEL key.
« Last Edit: November 15, 2010, 12:27:02 pm by critor »
TI-Planet co-admin.