1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-09-16 10:18:45 +10:00
collapseos/blk/585
Virgil Dupras 9424770caa rc2014: add a declaration part to ACIA drivers
Driver configuration don't need their own words at runtime, we only
need to compile them as literals when compiling words.

Now that we have this "declaration blocks" pattern emerging, it
seems like a good idea to take advantage of this in drivers, both
for simplifying the xcomp unit and to make final binary slimmer.
2020-06-28 17:30:01 -04:00

10 lines
215 B
Plaintext

IFZ, ( end of buffer reached? )
( yes )
ACIA( LDHL(n),
ACIAW> LD(n)HL,
THEN,
THEN,
THEN,
DE POP, HL POP, AF POP,
EI, RETI,