Omnimaga

Omnimaga => News => Topic started by: DJ Omnimaga on September 04, 2011, 09:56:59 pm

Title: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: DJ Omnimaga on September 04, 2011, 09:56:59 pm
Seen in TI-Planet news (http://www.tiplanet.org/forum/viewtopic.php?t=8151), it appears that someone has discovered an exploit in TI-80 calculators that run ROM 4.0 that allows the execution of native ASM code. Randy Ruler would be apparently in the process of preparing a ROM dumping program to finish getting the rest of the system code that couldn't be gotten so far and a shell or kernel allowing the execution of ASM programs compatible with Texas Instruments' proprietary 980 KHz processor from the TI-80 and also a TI-80 emulator.

The TI-80 was released in 1995 as a cheaper alternative to the TI-82. It has around 7 KB of RAM, a 64x48 pixels LCD, runs on a 16 bits proprietary 980 KHz processor and doesn't act as normal to gravity as other models. It was discontinued in 2002, replaced by the TI-73.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: calc84maniac on September 04, 2011, 09:59:02 pm
Wow 64x48 pixels. Seems pretty interesting. I wonder if there is documentation for that processor somewhere?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: DJ Omnimaga on September 04, 2011, 10:02:30 pm
I'm not sure. I wonder what's the processor at all. Does it even have a name? ??? 
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Camdenmil on September 05, 2011, 12:04:32 am
Hmm, that would mean that all ti graphing calcs can be programmed in asm. I wonder if the the cpu at least similar to a z80. According to datamath  the ti 80's cpu is inside an asic so who knows.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Michael_Lee on September 05, 2011, 12:08:26 am
and doesn't act as normal to gravity as other models.

??? lolwut?

I don't know much about asm, but this sounds pretty interesting.  Hmm, I wonder... What if Axe was ported to every calculator TI ever made? :D
Pretty unlikely though, methinks.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: AngelFish on September 05, 2011, 12:48:54 am

The TI-80 was released in 1995 as a cheaper alternative to the TI-82. It has around 7 KB of RAM, a 64x48 pixels LCD, runs on a 16 bits proprietary 980 KHz processor and doesn't act as normal to gravity as other models.

TI invented anti-gravity for the TI-80?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: JosJuice on September 05, 2011, 02:02:36 am

The TI-80 was released in 1995 as a cheaper alternative to the TI-82. It has around 7 KB of RAM, a 64x48 pixels LCD, runs on a 16 bits proprietary 980 KHz processor and doesn't act as normal to gravity as other models.

lolwut? TI invented anti-gravity for the TI-80?
Maybe they just put a bunch of rocks in it so that it gets heavier? :P
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Ashbad on September 05, 2011, 09:02:36 am
and doesn't act as normal to gravity as other models.

??? lolwut?

I don't know much about asm, but this sounds pretty interesting.  Hmm, I wonder... What if Axe was ported to every calculator TI ever made? :D
Pretty unlikely though, methinks.

100% unlikely.  Since it doesn't have enough RAM to even hold an early version of Axe, probably doesn't have syscalls remotely similar to the 84+ (the TI80 would have ones only used by the OS, so they would be extremely undocumented and probably not easy to call/use), no flash, *no way to even transfer programs* (no ports for cables whatsoever, and hence no real OS dumps), etc.

So, no most likely Axe won't be ported to this platform :P

Edit: hmm, well, even with ROM dumps, it'll be a while before everything is documented.  But it's a good start towards getting assembly working on the TI80.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Camdenmil on September 05, 2011, 10:33:32 am
Just like later versions of the ti 81, the ti 80 has an a spot for soldering a jack. Makes you wonder why ti put the circuitry for a link port and didn't bother putting one on the calcs.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Freyaday on September 05, 2011, 11:12:02 am
Well, this is interesting. Looks like I'll never be able to port Nymless to this thing, though.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Jim Bauwens on September 05, 2011, 03:48:09 pm
Interesting.
Good job whoever found the exploit :)
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: AngelFish on September 05, 2011, 04:40:07 pm
I doubt the TI-80 even has the filesystem necessary to support a compiler of any kind, considering the only program that it was ever intended to run is launched by the boot code.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: fb39ca4 on September 05, 2011, 05:32:40 pm
and doesn't act as normal to gravity as other models.

??? lolwut?

I don't know much about asm, but this sounds pretty interesting.  Hmm, I wonder... What if Axe was ported to every calculator TI ever made? :D
Pretty unlikely though, methinks.
Good luck running it on the TI-108 :P If you are just talking about graphing calculators, though, with the exception of this, it is a possibility if someone decided to do all the work.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Juju on September 05, 2011, 06:08:50 pm
Just like later versions of the ti 81, the ti 80 has an a spot for soldering a jack. Makes you wonder why ti put the circuitry for a link port and didn't bother putting one on the calcs.
Some 80s shipped with a link port for use with teacher software. Which only had the ability to take screenshots.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: ralphdspam on September 05, 2011, 06:32:35 pm
Sounds interesting...
How is the instruction set for this CPU?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on September 05, 2011, 07:06:56 pm
Just like later versions of the ti 81, the ti 80 has an a spot for soldering a jack. Makes you wonder why ti put the circuitry for a link port and didn't bother putting one on the calcs.
Some 80s shipped with a link port for use with teacher software. Which only had the ability to take screenshots.

Yes, the jack is soldered on TI-80 ViewScreen (teachers).
But the OS only supports (natively) screen captures transfers.

According to epsstore.ti.com, a special TI-Graph Link Software is needed.
But I've never been able to find it.

Any info about that?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: DJ Omnimaga on September 05, 2011, 11:04:13 pm
Interesting. I wonder if archive.org might have some stuff... sadly most of their links are broken when I go there, though.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: fb39ca4 on September 05, 2011, 11:11:00 pm
980khz of raw processing power...fun :)
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on September 07, 2011, 10:22:11 am
epsstore.ti.com mentions a specific TI-Graph Link software for the TI-80 ViewScreen.

But it doesn't seem to be available after following the download link.

http://epsstore.ti.com/OA_HTML/csksxvm.jsp?JServSessionIdrootdlek21=788jvnl6g1.n6LzoN8L/AzOnMTOogTxpQOUtxCLbx0Ka0--&jfn=ZGA7FEED6D49FC4CBA6038FE47A8DBAACB4CE955D386FFABE1BF9980B8FC97D40EE72D1C15B4BC78F5D5EB5F6DD57D0D3FE4&lepopus=Ux8J30MXY3if4zuiipiztxc7:S&lepopus_pses=ZG373201F5F7C78421BF40EFED3456588FEE6E50318485BC3788C0FD2693769EC3D899DF4C576FECE3E678C0224F84FBD5C9E146D730F62E25&nSetId=76716&nBrowseCategoryId=10544&cskViewSolSourcePage=cskmbasicsrch.jsp%3FcategoryId%3D10544%26fRange%3Dnull%26fStartRow%3D0%26fSortBy%3D2%26fSortByOrder%3D1
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: TIfanx1999 on September 08, 2011, 09:56:52 am
It's cool to see yet another old calc being hacked. :)
@Critor: I'd wager it's been removed since the calc is no longer in production. Searching on google I read that The TI-80 viewscreen calcs came with their TI graph link software included. I only searched briefly though, and I have no idea how accurate the information is. The other possibility is to try to email TI-cares, but I'm unsure if they'd even have access to the old linking software.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on September 08, 2011, 10:02:49 am
I've found the same information as you.

The TI-80 ViewScreen specific Graph Link software was supposed to be included with the calculator.


I've allready emailed TI-Cares about that.

Guess what?...
They never replied :P
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: TIfanx1999 on September 08, 2011, 10:07:00 am
Lol, not even a response? Wow, it seems they are getting slack. :P Hmm.. well, we do have a few members with quite massive calc. collections. Maybe you should ask around.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Jim Bauwens on September 08, 2011, 03:44:28 pm
I've got an old cd laying around of TI that contains multiple graphlinks. I'll look for it tomorrow, and maybe it has the one for the TI-80 x)
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Camdenmil on September 08, 2011, 09:08:26 pm
Wouldn't this mean all ti graphing calcs are now programmable with asm. (hopefully the nspire cx will be programmable with time)
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Freyaday on September 09, 2011, 12:07:12 am
Wouldn't this mean all ti graphing calcs are now programmable with asm. (hopefully the nspire cx will be programmable with time)
All TI calcs are programmable.
Some don't allow you to program anything useful.
Instead, TI leaves the task of producing useful software up to itself.
TI is not very good at producing software.
There is math do be done here, but MathPrint just crashed on me, so I'm kinda screwed.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: ralphdspam on September 09, 2011, 02:01:00 am
Does anybody have any documentation of the processor's opcodes?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on September 10, 2011, 04:12:12 am
It's a proprietary 16-bits processor, which has never been used in anything else than the TI-80 to our knowledge.

So the documentation will have to be built by ourselves by looking at the ROM dumps.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: calc84maniac on September 10, 2011, 08:35:15 am
It's a proprietary 16-bits processor, which has never been used in anything else than the TI-80 to our knowledge.

So the documentation will have to be built by ourselves by looking at the ROM dumps.
How did we determine that it was a 16-bit processor?
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on September 10, 2011, 09:12:49 am
By looking at the ROM dumps.

Odd and even code frequencies are very different, which means that instructions are 16-bits wide.


Also, in the self test keyboard test, the displayed hexadecimal key code is 16-bits wide (it begins by 0x00).
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: calc84maniac on September 10, 2011, 06:14:19 pm
By looking at the ROM dumps.

Odd and even code frequencies are very different, which means that instructions are 16-bits wide.


Also, in the self test keyboard test, the displayed hexadecimal key code is 16-bits wide (it begins by 0x00).
16-bit instructions doesn't mean a 16-bit processor, though. The TI-34 Multiview and co. that we dumped a while back had a 4-bit processor with 16-bit instructions.
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: GB on September 11, 2011, 04:17:03 pm
Looking for TI-Graph Link 80? This might be of help:
http://www.ebay.com/itm/TI-View-Screen-TI-Graph-Link-TI-80-graph-calculator-/120764814036?pt=Calculators&hash=item1c1e24d2d4
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: critor on October 13, 2011, 05:18:06 pm
Assembly on the TI-80 isn't publicly available yet...


But the 1st TI-80 emulator has just been released, meaning that starting from today, all TI graphing calculator models have a matching emulator!!! :)
It's a great day! :):)

http://tiplanet.org/forum/viewtopic.php?p=117059#p117059



(http://i43.servimg.com/u/f43/13/23/13/53/8243610.gif)

Only the 4.0 ROM is supported yet. Of course it's not included, and you'll have to get it someway...
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: Juju on October 13, 2011, 05:36:05 pm
Awesome!
Title: Re: ASM to arrive on TI-80 ROM 4.0 soon?
Post by: DJ Omnimaga on October 13, 2011, 10:43:24 pm
Wow great! I saw this on ticalc.org and this definitively deserves news so far. :)