[A83] TI-OS shutdown


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

[A83] TI-OS shutdown




Somebody knows (or has the location) of some TI-OS shutdown
code? I'm having trouble with my interrupt program.
First of all, the way I check for 2nd + off doesn't seem
to work. (Ti-83(-))

bit shift2nd,(iy+shiftflags)
jr z,resume
bit oninterrupt,(iy+onflags)
jr z,resume

ld a,1
out (3),a
ei
halt
di
jr exit_interrupt

resume:
;...


And secondly, this way of shutting the calc down inside
an interrupt does shut the calc down, but I have to
press 2 times on <ON>. The screen flashes when I press
<ON>, but it shuts down again. Then I press it again
and finally it goes to the home screen.
Some help here??

       SUCKER

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Follow-Ups: