Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Matrefeytontias on July 06, 2012, 07:05:07 am

Title: Token hook on the regular 83 ?
Post by: Matrefeytontias on July 06, 2012, 07:05:07 am
Hi guys !

I already did some token hook on the 8x+ calculators, and I wondered if it was possible to do the same on a regular 83 ... ?

If it is, I need the location of the romcall _enableTokenHook ($4F99 on a 83+) to do it ...

Anyone knows something ?
Title: Re: Token hook on the regular 83 ?
Post by: aeTIos on July 06, 2012, 09:00:12 am
I doubt it exists since the TI-83 does not support APPs.
Title: Re: Token hook on the regular 83 ?
Post by: Matrefeytontias on July 06, 2012, 12:07:08 pm
I dunno if hooks and ARC are related ...
Title: Re: Token hook on the regular 83 ?
Post by: Runer112 on July 06, 2012, 01:19:54 pm
I believe aeTIos is entirely correct. To quote the wikiti page about hooks for the 83+:
Hooks are a hidden feature of the TI OS that were originally included for the official TI flash apps to use.

Since flash applications did not exist on the 83, neither do hooks.
Title: Re: Token hook on the regular 83 ?
Post by: Matrefeytontias on July 06, 2012, 02:45:10 pm
Okay, thanks for the info, I lock the topic so :)
Title: Re: Token hook on the regular 83 ?
Post by: thepenguin77 on July 06, 2012, 10:18:09 pm
I remember brandonW saying to avoid OS 1.14 because TI was trying to get the token hook to work correctly.

Since I'm pretty sure almost all the 83+ OSs came out after the 83 ones, this would be another piece of evidence to say it does not exist.
Title: Re: Token hook on the regular 83 ?
Post by: tr1p1ea on July 27, 2012, 10:55:18 pm
That being said, you could possibly make a TSR that chains with the TIOS int? Not sure on the stability of such a thing.
Title: Re: Token hook on the regular 83 ?
Post by: calcdude84se on July 27, 2012, 11:28:35 pm
That probably won't do what he wants, though. The token hook is called whenever the OS needs to display a token. A TSR interrupt is called whenever an interrupt triggers. Not the same thing at all.
Concerning a TSR interrupt, if the 83 OS is sufficiently similar to the 83+ OS, then various things that really shouldn't (like viewing the graph screen by pressing [GRAPH]) will switch the processor back to IM1, killing your interrupt. Probably not very stable :/
Title: Re: Token hook on the regular 83 ?
Post by: tr1p1ea on July 27, 2012, 11:33:14 pm
They arent the same thing but it might be possible to attempt to replicate some of the functionality. However you are right that there is plenty of opportunity for the OS to kill the interrupt anyway, so not stable indeed.

Custom ROM anyone? :).
Title: Re: Token hook on the regular 83 ?
Post by: calcdude84se on July 28, 2012, 01:21:41 am
Not on an 83. An 83's ROM is not erasable. Sorry :/