Virgil Dupras 650481f849 | 3 年前 | |
---|---|---|
.. | ||
hw | 3 年前 | |
libz80 @ 8a1f935daa | 4 年前 | |
.gitignore | 3 年前 | |
Makefile | 3 年前 | |
README.md | 3 年前 | |
emul.c | 4 年前 | |
emul.h | 4 年前 | |
forth.c | 4 年前 | |
xcomp.fs | 3 年前 |
This folder contains a couple of tools running under the libz80 emulator.
You need ncurses
to build the forth
executable. In debian-based distros,
it's libncurses5-dev
.
First, make sure that the libz80
git submodule is checked out. If not, run
git submodule init && git submodule update
.
After that, you can run make
and it builds the forth
interpreter.
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.
./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 the hw
folder.