http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Programming \ AMS_jumptable question

Click here to log in (you must be logged in to post comments).

AuthorComment
marcus777
Probe
Posted: 29 Dec 2008
17:19 GMT
Total Posts: 5
I have been successfully written control programs for my TI84+SE; now, I am interested in replicating that work for the M68K processor in the TI89 Titanium.
I would like some detailed info regarding the Exec command; how does it pass expressions to the asm routine (stack, regs, what)? Also, I have learned from (someplace) that 0h0000 is required in order to get around the error "relocation data invalid or corrupt". For instance the rts (return from subroutine) 0h4e75 will not work: Exec("4e75"); however, this command does work: Exec("4et50000"). Why?
Also, it would be nice to understand the load address for the Titanium... TI84+SE is 0h9d95... what is it for TI89 Titanium?
And, it would be nice to have some detailed info on the AMS_jumptable. Where can I find that?
It has been a little discouraging to find so little (even on WikiTi) for the TI89Titanium... there is mountains of info for the TI84+SE... I guess the M68000 doesn't have the interest... or not enough units are in the field...
marcus777
Probe
Posted: 29 Dec 2008
17:26 GMT
Total Posts: 5
oops sorry Exec("4e750000") works

What does the 0000 do to eliminate the "relocation data" error?

haveacalc
Guardian
avatar
Posted: 30 Dec 2008
09:06 GMT
Total Posts: 1111
I'm more of a Z80 man myself, but there has been extensive work on 68k calcs by plenty of people. Because of how much larger the OS on these calcs (92, 92+, Voyage 200, 89, 89Ti) is, since they really are very similar in function, going straight for ASM ends up being a bit cumbersome. Have you heard of TIGCC? It's what people generally use, though there are certainly exceptions. Also, Techno-Plaza is a good resource. As you noticed, WikiTI is much more for Z80 calcs and stuff.

---
-quoted directly from most movies that don't exist (and some that do).
marcus777
Probe
Posted: 30 Dec 2008
22:14 GMT
Total Posts: 5
haveacalc, thanks for the reply. TIGCC and TechnoPlaza are my new best friends. I have received several polite replies from TI-Cares indicating that they do not care at all. Their SDK will not run without the old Microsoft JVM (way backlevel at this point, and I don't think even legal) and TI does not appear to have any plans to update their SDK anytime soon. I was able to get a copy (from the TI SDK) of tiams.inc and tiams.h / which in conjunction with the asm stuff from TIGCC has given me a good leg-up on the jumptable... but, its a very incomplete picture at this point. For instance, ClrScn offset 0h19e isn't even listed in tiams.inc! (among many others) It is clear that Sierra wants folks to use the C interface and download from the PC. I am writing small robotics control routines (hand assembling) and poking them into the machine with the Exec command (on the TI89 Titanium) and with the asm command on the TI84. I am trying to write some interface tools at this time and need to know a little more about the jumptable and the ports, especially the timers. I just don't get it... TI (or Sierra) should have that jumptable fully documented, and their site should have full documentation on their ports, pinouts, and AMS jumptable. It would make life easier for them as well. The TI84 Z80 stuff really caught on. Its time to get the ball rolling with the M68000 stuff. Oh well, this is what makes hacking fun, right? :)





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org