mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 19:48:06 +11:00
124da6adec
Although the SPI Relay driver is RC2014-specific, the SD Card driver is generic enough to be a subsystem. That's the second subsystem we add and this warrants, I think, the formalization of a new concept: protocols.
13 lines
431 B
Plaintext
13 lines
431 B
Plaintext
SPI relay driver
|
|
|
|
This driver is designed for a ad-hoc adapter card that acts as a
|
|
SPI relay between the z80 bus and the SPI device. Sending any-
|
|
thing on SPI_CSLOW and SPI_CSHIGH is expected to select/deselect
|
|
the device, and writing to SPI_DATA is expected to initiate a
|
|
byte exchange. The result of the exchange is excpected to be re-
|
|
trieved by reading SPI_DATA.
|
|
|
|
Provides the SPI relay protocol.
|
|
|
|
Load driver with "596 LOAD".
|