mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:28:05 +11:00
73623fff53
it seems I left my asm argument harmonization half done here. Instructions list at B208 doesn't correspond to many actual mnemonics. This mnemonic here was the worst offender.
15 lines
392 B
Plaintext
15 lines
392 B
Plaintext
IFNZ, ( buffer full? )
|
|
( no, continue )
|
|
DE ADDHLd, ( restore ACIAW> )
|
|
( buffer not full, let's write )
|
|
ACIA_IO INAi,
|
|
(HL) A LDrr,
|
|
( advance W> )
|
|
HL INCd,
|
|
ACIAW> LD(n)HL,
|
|
DE ACIA) LDd(n),
|
|
DE SUBHLd,
|
|
|
|
|
|
( cont. )
|