Re: A83: BASIC-ASM Stuff. Was (Infrared and Radio Frequency Links)
[Prev][Next][Index][Thread]
Re: A83: BASIC-ASM Stuff. Was (Infrared and Radio Frequency Links)
In a message dated 02/07/99 12:17:43 PM, lairfight@softhome.net writes:
>You'd turn the lcd driver off. Have a look at the off routine in the rom,
>it starts at 7a3h in 1.07000. This is what I made out of it some (long)
>time ago:
>
>romdump0.dis:
><snip>
>
>Here comes the lowlevel OFF routine:
>
>07a3: 97 sub a
>07a4: d3 out (03h),a;lcd off, no timer interrupts, no on key
>07a5: 03
>07a6: 3e ld a,01h
>07a7: 01
>07a8: d3 out (03h),a;allow on key interrupt
>07a9: 03
>07aa: fb ei
>07ab: 76 halt;wait for on key
>
>When on is pressed, do the interrupt routine at 0038 (rst 38h)
>
><snap>
>
>Hmm.. wouldn't you have to write something to the lcd ports aswell? Just
>a thought.
>
>Linus
Hey Linus, a problem I encounterred with this was, when returning to the Basic
Program after turning it back On, it reads the ON Key too fast and then Breaks
from execution in the Basic prog. How would I correct this to continue in the
Basic program where it left off...? =P
--Jason K.
Follow-Ups: