A86: Power Down Routine


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

A86: Power Down Routine



I grabbed this power down routine from some 85 source and threw together
what I had learned about the 86. It allows me to turn off the calculator,
but I can't turn it back on. (It freezes) Can anyone find anything wrong
with this code?

PowerDown:
        ld a,1
        out (3),a
        xor a
        out (4),a
        halt
TurnOn:
        ld a,22
        out (4),a
        rra
        out (3),a
_______________
     Chris Belloni
buzzme@raex.com