collapseos/emul/hw/rc2014
Virgil Dupras 1195b0313b emul/rc2014: add support for Zilog SIO
Very very simplistic, but works with our driver.
2020-09-24 21:01:14 -04:00
..
.gitignore
acia.c
acia.h
classic.c emul/rc2014: add support for Zilog SIO 2020-09-24 21:01:14 -04:00
Makefile emul/rc2014: add support for Zilog SIO 2020-09-24 21:01:14 -04:00
README.md emul/rc2014: add support for Zilog SIO 2020-09-24 21:01:14 -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
sio.c emul/rc2014: add support for Zilog SIO 2020-09-24 21:01:14 -04:00
sio.h emul/rc2014: add support for Zilog SIO 2020-09-24 21:01:14 -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.

There are 2 options. -s replaces the ACIA with a Zilog SIO and -c/path/to/image hooks up a SD card with specified contents.

Memory dump

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