~vdupras/collapseos-rc2014

RC2014 port of Collapse OS
Target Dusk v1
Add missing docs about mass storage initialization
Add support for the RC2014 CF module

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~vdupras/collapseos-rc2014
read/write
git@git.sr.ht:~vdupras/collapseos-rc2014

You can also use your local clone with git send-email.

#RC2014 target for Collapse OS

This is a Collapse OS port for the RC2014. It features support for:

  • The MC6850-based serial communication card
  • The Zilog SIO-based serial communication card
  • SD card access through handmade SPI relay card
  • Compact Flash access through the RC2014 CF module.

These are the possible configurations:

  • mc6850 (default): MC6850 ACIA with SD card
  • sio: Zilog SIO with SD card
  • cf: MC6850 ACIA with CF module. There is no emulation for the CF module yet.

To build, run make conf=name in this directory. This will yield a rc2014_<conf>.rom file as well as a emul_<conf>.sh. The ROM file should be written to a ROM of at least 8KB.

This repository has a RC2014 emulator, you can launch the built ROM through that emulator with ./emul_<conf>.sh.

This port is fully self-hosting, that is, the resulting ROM can build the resulting ROM.

For the rest, refer to documentation in doc.

#Accessing mass storage

Initializing mass storage right at power up is tricky in terms of timing, so the default builds don't do it. This means that before accessing blocks, you need to manually initialize the target device. For SD cards, it's sdc$ and for CF cards, it's ata$.