Setting up PAT80 Emulator

This commit is contained in:
Daniele
2022-02-06 20:30:49 +01:00
parent 1c77bc82ac
commit 7ce4046796
6 changed files with 53 additions and 0 deletions

9
pat80-emulator/README.md Normal file
View File

@@ -0,0 +1,9 @@
# PAT80 Emulator
Uses algodesigner's Z80 emulator (see submodule in z80 folder).
Instances the Z80 object (representing the CPU) and:
- intercepts all memory access and returns the corresponding rom value (read from rom file) if PC is in first 32k of memory (TODO)
- intercepts all memory access and stops execution returning error if trying to write to first 32k of memory (TODO)
## Usage
Build with `make all`
Run with `./pat80emu`