Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 947B

5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
12345678910111213141516171819202122232425262728293031323334
  1. # emul
  2. This folder contains a couple of tools running under the [libz80][libz80]
  3. emulator.
  4. ## Requirements
  5. You need `ncurses` to build the `forth` executable. In debian-based distros,
  6. it's `libncurses5-dev`.
  7. ## Build
  8. First, make sure that the `libz80` git submodule is checked out. If not, run
  9. `git submodule init && git submodule update`.
  10. After that, you can run `make` and it builds the `forth` interpreter.
  11. ## Usage
  12. The `./forth` executable here works like the one in `/cvm`, except that it runs
  13. under an emulated z80 machine instead of running natively. Refer to
  14. `/cvm/README.md` for details.
  15. ## Not real hardware
  16. `./forth` doesn't try to emulate real hardware
  17. because the goal here is to facilitate "high level" development.
  18. These apps run on imaginary hardware and use many cheats to simplify I/Os.
  19. For real hardware emulation (which helps developing drivers), see the `hw`
  20. folder.
  21. [libz80]: https://github.com/ggambetta/libz80