collapseos/emul/rc2014
Virgil Dupras 329219fa89 emul: copy libz80 directly into tree, pre-generated
libz80 doesn't move much anymore, there not much advantage to the
git module indirection.
2020-10-24 15:42:08 -04:00
..
.gitignore emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
acia.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
acia.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
classic.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
Makefile emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
README.md emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
sdc.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
sdc.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
sio.c emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -04:00
sio.h emul: bring "hw" subfolders one level higher 2020-10-24 14:37:19 -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.