Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.18 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.18 KB

lua-8080

An Intel 8080 emulator core written in Lua.

Requirements

Either the bit32 or BitOp module for bitwise operators.

Usage

This emulator core is modular, like the early microcomputers. It should be able to emulate most 8080-based computers, but you need to "wire it up" yourself, just like the old days.

See main.lua for an example of how to use it in your own programs.

You can also look at these emulators that use this core:

Tests

You can download one of the many Intel 8080 test suites and run them with the main.lua script.

Currently, it passes these tests:

  • 8080PRE.COM: Preliminary test for 8080/8085 CPU Exerciser by Ian Bartholomew and Frank Cringles
  • 8080EXER.COM: 8080/8085 CPU Exerciser by Ian Bartholomew and Frank Cringles
  • TST8080.COM: 8080/8085 CPU Diagnostic, version 1.0, by Microcosm Associates
  • CPUTEST.COM: 8080/Z80 CPU Diagnostic II, by SuperSoft Associates