Re: LZ: power off
[Prev][Next][Index][Thread]
----------
From: Keith Batten <99kbatten@kamsc.k12.mi.us>
To: 'list-zshell@lists.ticalc.org'
Subject: RE: LZ: power off
Date: Wednesday, September 25, 1996 9:57 PM
>just use this routine to turn off yer calc(it will turn back on when you
>press [ON])
> ld a, 1b
> out (3), a
> di
> halt
> ei
> ld a, 1011b
> out (3), a
>
>PCoMP
>Visit Maximus Productions home page at: http://www.ntsource.com/~pcomp
i know about that routine but does anyone know how to use it to turn off
the calculator when the [ON] key is pressed? ive tried but it always messes
up.
-keith batten
-99kbatten@kamsc.k12.mi.us
----------
Just do a getkey and compare it to see if [on] was pressed. If the zero
flag is set jump to the power off routine.
References: