1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 23:30:54 +11:00
collapseos/blk/581

17 lines
555 B
Plaintext
Raw Normal View History

ACIA driver
Manage I/O from an asynchronous communication interface adapter
2020-05-12 11:52:44 +10:00
(ACIA). provides "(emit)" to put c char on the ACIA as well as
an input buffer from which a provided "(key)" reads. You have
to call "~ACIA" on interrupt for this module to work well.
CONFIGURATION
ACIA_CTL: IO port for the ACIA's control registers
ACIA_IO: IO port for the ACIA's data registers
ACIA_MEM: Address in memory that can be used variables shared
with ACIA's native words. 8 bytes used.
2020-05-12 11:52:44 +10:00
The whole driver is cross-compilable and is loaded with
"582 LOAD"