1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 01:40:56 +11:00
collapseos/blk/497
Virgil Dupras bf4ab0f1b4 z80: protect or avoid BC wherever it's used
For the IY->BC move, of course.
2020-07-05 23:12:17 -04:00

9 lines
157 B
Plaintext

CODE @PUT ( c a -- f ) EXX, ( protect BC )
DE POP,
BC POP,
chkPS,
A 0x04 LDri, ( @PUT )
0x28 RST,
PUSHZ,
EXX, ( unprotect BC ) ;CODE