Skip to content

z80 emulator that aims to be cycle-accurate

License

Notifications You must be signed in to change notification settings

Ilgrim/libzel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

z80 emulator that aims to be cycle-accurate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 43.5%
  • Ruby 16.5%
  • C++ 14.9%
  • Python 14.8%
  • Makefile 6.8%
  • Perl 3.5%