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
sdc.h
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.