collapseos/emul
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
..
rc2014 emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
sms emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
ti emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
.gitignore emul: build from "cvm" instead of from itself 2020-06-26 22:08:45 -04:00
Makefile emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
README.md emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
emul.c emul/sms: add PS/2 keyboard emulation 2020-10-24 11:18:48 -04:00
emul.h emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
forth.c emul: make blk operations much faster 2020-06-22 06:29:00 -04:00
opcodes_decl.h emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
opcodes_impl.c emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
opcodes_table.h emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
xcomp.fs Move z80a from B200 to B5 2020-09-21 17:51:08 -04:00
z80.c emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00
z80.h emul: copy libz80 directly into tree, pre-generated 2020-10-24 15:42:08 -04:00

README.md

emul

This folder contains a couple of tools running under the libz80 emulator.

Requirements

You need ncurses to build the forth executable. In debian-based distros, it's libncurses5-dev.

Build

Run make and it builds the forth interpreter.

Usage

The ./forth executable here works like the one in /cvm, except that it runs under an emulated z80 machine instead of running natively. Refer to /cvm/README.md for details.

Not real hardware

./forth doesn't try to emulate real hardware because the goal here is to facilitate "high level" development.

These apps run on imaginary hardware and use many cheats to simplify I/Os.

For real hardware emulation (which helps developing drivers), see subfolders.