2020-05-14 15:13:16 -04:00
|
|
|
(entry) ~ACIA ( Set RST 38 jump ) PC ORG @ 0x39 + !
|
2020-06-27 22:01:56 -04:00
|
|
|
AF PUSH, HL PUSH, DE PUSH,
|
2020-04-23 12:42:41 -04:00
|
|
|
( Read our character from ACIA into our BUFIDX )
|
2020-06-27 22:01:56 -04:00
|
|
|
ACIA_CTL INAi,
|
|
|
|
0x01 ANDi, ( is ACIA rcv buf full? )
|
2020-04-23 12:42:41 -04:00
|
|
|
IFNZ,
|
|
|
|
( correct interrupt cause )
|
2020-06-28 17:30:01 -04:00
|
|
|
ACIAW> LDHL(n),
|
2020-04-23 12:42:41 -04:00
|
|
|
( is it == to ACIAR>? )
|
|
|
|
( +0 == ACIAR> )
|
2020-08-14 21:41:34 -04:00
|
|
|
DE ACIAR> LDd(n),
|
2020-06-27 22:01:56 -04:00
|
|
|
( carry cleared from ANDi above )
|
|
|
|
DE SBCHLd, ( cont. )
|