1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 14:38:05 +11:00
collapseos/blk/583

14 lines
455 B
Plaintext
Raw Normal View History

(entry) ~ACIA ( Set RST 38 jump ) PC ORG @ 0x39 + !
AF PUSH, HL PUSH, DE PUSH,
( Read our character from ACIA into our BUFIDX )
ACIA_CTL INAi,
0x01 ANDi, ( is ACIA rcv buf full? )
IFNZ,
( correct interrupt cause )
ACIAW> LDHL(n),
( is it == to ACIAR>? )
( +0 == ACIAR> )
DE ACIAR> LDdd(n),
( carry cleared from ANDi above )
DE SBCHLd, ( cont. )