RE: A86: Re: power down


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

RE: A86: Re: power down




I was messing around with this calc-off code and had a problem running it
from a BASIC program (I don't know why you would want to, but in case you do
. . .) because the BASIC would pick up the ON press and break.  I tried
adding the line

res 4,(IY+$09)

after the code that Kirk gave and turns off the ON bit (I think, but I'm not
sure since I'm a beginner) so the calc doesn't register it.  So if you're
worried that the calc will pick up the ON, just add that after.

Bryan

-----Original Message-----
From:	owner-assembly-86@lists.ticalc.org
[mailto:owner-assembly-86@lists.ticalc.org] On Behalf Of Kirk Meyer
Sent:	Tuesday, December 07, 1999 5:48 PM
To:	assembly-86@lists.ticalc.org
Subject:	A86: Re: power down


If you want to return to your program ( I assume you do ) then do this:

 ld a,1
 out (3),a
 halt
 ld a,11
 out (3),a

----- Original Message -----
From: Brent Schneider <brent@calc.org>
To: <assembly-86@lists.ticalc.org>
Sent: Tuesday, December 07, 1999 5:49 PM
Subject: A86: power down


>
> What is the most efficient way to power down the calc in asm?
>
> Thanks,
> Brent
>
>




Follow-Ups: References: