mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-13 10:58:05 +11:00
1a6a549857
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. |
||
---|---|---|
.. | ||
.gitignore | ||
acia.c | ||
acia.h | ||
classic.c | ||
Makefile | ||
README.md | ||
sdc.c | ||
sdc.h |
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
.