Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
445B

  1. SPI relay driver
  2. This driver is designed for a ad-hoc adapter card that acts as a
  3. SPI relay between the z80 bus and the SPI device. When writing
  4. to SPI_CTL, we expect a bitmask of the device to select, with
  5. 0 meaning that everything is de-selected. Reading SPI_CTL
  6. returns 0 if the device is ready or 1 if it's still running an
  7. exchange. Writing to SPI_DATA initiates an exchange.
  8. Provides the SPI relay protocol. Load driver with "419 LOAD".