Re: A86: Off and ret routine


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

Re: A86: Off and ret routine




In a message dated 11/21/98 19:44:03 Eastern Standard Time,
croop@oregontrail.net writes:

> Is there a way to turn the calculator off from a program and then have
>  it continue program execution?  I thought calling _calcoff ($4101?) did
>  this but it goes to the homescreen when you turn it back on...
>  
>  Cassady Roop
>  


you have to turn off the screen yourself

	ld a,1
	out (3),a		;turn off screen
	halt				;wait for interrupt (on being pressed)
	ld a,11
	out (3),a		;turn on screen