7001446212
Recipes contain bits and pieces of hardware-related knowledge, but these bits feel sparse. I've been wanting to consolidate hardware- related documentation for a while, but always fell at odds with the recipes organisation. We don't have recipes anymore, just a /doc/hw section that contains hardware-related documentation which often translate to precise instructions to run Collapse OS on a specific machine. With this new organisation, I hope to end up with a better, more solid documentation.
13 lines
490 B
Plaintext
13 lines
490 B
Plaintext
ACIA driver
|
|
|
|
Manage I/O from an asynchronous communication interface adapter
|
|
(ACIA). provides "(emit)" to put c char on the ACIA as well as
|
|
an input buffer from which a provided "(key)" reads. This driver
|
|
installs an interrupt handler at RST38 to handle RX.
|
|
|
|
To use, begin by loading declarations (B582) before xcomp is
|
|
loaded. These declarations provide default values for ports and
|
|
memory offsets that you can override. See B582.
|
|
|
|
Then, in the driver part, load range 583-588.
|