[A83] Re: Turning calc off
[Prev][Next][Index][Thread]
[A83] Re: Turning calc off
You can also turn OFF the APD timer if you need to. Screwed up an app I did
once somehow by going into off mode during a bad spot without exiting the
program.
Corey
----- Original Message -----
From: "Sebastiaan Roodenburg" <sebastiaan@rimsystems.nl>
To: <assembly-83@lists.ticalc.org>
Sent: Thursday, January 16, 2003 5:42 PM
Subject: [A83] Re: Turning calc off
> If i remember correct, an other way to turn off the calc would be using
the
> TIOS: set the APD timer to 0, and wait for the next interrupt (halt)...
>
> > -----Original Message-----
> > From: assembly-83-bounce@lists.ticalc.org
> > [mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Jeff
> > Sent: Friday, January 17, 2003 12:09 AM
> > To: assembly-83@lists.ticalc.org
> > Subject: [A83] Turning calc off
> >
> >
> > I know this seems like a dumb question, but how do you use
> > assembly to turn
> > off the calculator, wait for the ON key, then turn it back on?
> > This is what
> > I do know:
> >
> > - The tutorial for power off in ASMguru does not work. It seems obvious
> > that it couldn't.
> > - Examples of power off that I've seen use "ld a,1 / out
> > ($03),a". What
> > does this do?
> > - "ld a,2 / out ($10),a" turns off the LCD and "ld a,2 / out
> > ($10),a" turns it on.
> > - HALT stops the processor until an interrupt occurs. How do I disable
> > timer interrupts, though, and only interrupt with the ON key?!!?
> >
> > jeff
> >
>
>
>
References: