mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 15:28:06 +11:00
a19376df6c
We can get rid of acia.z80, but not of acia.fs yet, we still need it.
17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
IFNZ, ( buffer full? )
|
|
( no, continue )
|
|
DE ADDHLss, ( restore ACIAW> )
|
|
( buffer not full, let's write )
|
|
ACIA_IO INAn,
|
|
(HL) A LDrr,
|
|
( advance W> )
|
|
HL INCss,
|
|
( +2 == ACIAW> )
|
|
ACIA_MEM 2+ LD(nn)HL,
|
|
( +6 == ACIA) )
|
|
DE ACIA_MEM 6 + LDdd(nn),
|
|
DE SUBHLss,
|
|
|
|
|
|
( cont. )
|