1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 13:18:06 +11:00
collapseos/emul/hw/rc2014
Virgil Dupras 1a6a549857 Make the SPI Relay protocol support multiple devices
Working on programming AVR chips exposes a glaring omission in my
first design of the SPI Relay: not allowing multiple devices make
this task hard. I constantly have to unplug my SD card before, plug
the AVR chip holder, then play a bit, then unplug the AVR holder,
then replug the SD card...

My prototype for a SPI relay design is built, but I haven't tested
it yet. I need to adapt the code first, which is what I do here.

When the prototype is tested, I'll update the SDC recipe with a new
schema.
2020-09-17 09:48:55 -04:00
..
.gitignore Add RC2014 classic emulation 2019-12-31 22:03:48 -05:00
acia.c Add RC2014 classic emulation 2019-12-31 22:03:48 -05:00
acia.h Add RC2014 classic emulation 2019-12-31 22:03:48 -05:00
classic.c Make the SPI Relay protocol support multiple devices 2020-09-17 09:48:55 -04:00
Makefile Fix makefile build-from-clean-repo glitches 2020-06-30 10:24:12 -04:00
README.md emul/hw/rc2014: add memdump command 2020-04-07 13:37:52 -04:00
sdc.c Make the SPI Relay protocol support multiple devices 2020-09-17 09:48:55 -04:00
sdc.h Make the SPI Relay protocol support multiple devices 2020-09-17 09:48:55 -04:00

RC2014 emulation

This emulates a RC2014 classic with 8K of ROM, 32K of RAM and an ACIA hooked to stdin/stdout.

Run make to build.

Usage

Run ./classic /path/to/rom (for example, os.bin from RC2014's recipe). Serial I/O is hooked to stdin/stdout. CTRL+D to quit.

Memory dump

You can press CTRL+E to dump the whole 64K of memory into memdump.