e392e05c87
There's no real reason not to include the generated files. Closes: #1 |
||
---|---|---|
include/zel | ||
tables | ||
tests | ||
.gitignore | ||
Doxyfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
z80_instructions.c | ||
z80_types.h | ||
z80.c |
z80 Emulation Library
I wrote this z80 emulator library in 2008 after being dissatisfied with other emulators for one reason or another. It aims to be cycle-accurate by modeling the number of T-cycles per instruction. See the Z80 CPU User Manual for details about T-cycles.
Operation
Libzel is very low level. It operates one instruction at a time, calling callbacks to read memory, perform I/O, and handle interrupts. No assumptions are made about memory layout or peripheral organization.
None of the standard Zilog peripherals are implemented and they must be handled by the callbacks.
Paper
Libzel was used to emulate the Sequoia AVC Advantage voting machine as described in Checkoway et al.'s Can DREs Provide Long-Lasting Security? The Case of Return-Oriented Programming and the AVC Advantage.