A83: Re: Link error handler


[Prev][Next][Index][Thread]

A83: Re: Link error handler




I think one for the 83 was posted on this list at some point, but I don't
have it.  As for the 83+, its quite easy.  All you have to do is this:

(to load error handler)
ld hl,customerrorhandleraddress
call $59

(to unload error handler)
call $5c

...only unload the error handler if an error was not trapped.  IE:
sendabytewithnoerrors:
ld hl,blah
call $59
bcall _sendabyte
call $5c
blah:
ret

Hope this helps,

-Dan

----- Original Message -----
From: "M. Delmas" <delmas.temp@wanadoo.fr>
To: <assembly-83@lists.ticalc.org>
Sent: Saturday, January 15, 2000 6:27 AM
Subject: A83: Link error handler


>
> Does anyone make a link error handler for the 83 or 83+.
> I think it's stupid to use external link routine (size of prog is bigger)
> whereas one is included in the rom which respects the ti link protocol.
The
> problem is the error that occurs after 2 seconds of inactivity. That's why
> an error handler is needed.
>
>
>
>



References: