1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 08:28:06 +11:00
collapseos/arch/z80/sms/blk/616

10 lines
277 B
Plaintext
Raw Normal View History

2020-05-16 05:41:06 +10:00
: (key)
_next C@ IF _next C@ 0 _next C! EXIT THEN
2020-05-16 05:41:06 +10:00
BEGIN _updsel UNTIL
_prevstat C@
0x20 ( BUTC ) OVER AND NOT IF DROP _sel C@ EXIT THEN
0x40 ( BUTA ) AND NOT IF 0x8 ( BS ) EXIT THEN
2020-05-16 05:41:06 +10:00
( If not BUTC or BUTA, it has to be START )
0xd _next C! _sel C@
2020-05-16 05:41:06 +10:00
;