GitXplorerGitXplorer
t

lua-8080

public
10 stars
0 forks
4 issues

Commits

List of commits on branch master.
Unverified
24eb33b1cc02c7a514f7c31cc7449565c7da4760

Update README to remove ambiguous test pass

ttobiasvl committed 4 years ago
Unverified
00ea5de3eaa523cae20678b36052f0569e41b61e

Add emulator examples

ttobiasvl committed 4 years ago
Unverified
789f3e5eebb3d30dc0969280a773f2f45757d722

Use proper MIT license format

ttobiasvl committed 5 years ago
Unverified
a5e11eee6e6899aa40efaf3bd3e428f1dcc8a7c2

Fix DAA. Finally closes #5

ttobiasvl committed 5 years ago
Unverified
e3ba1222beab05d134f77be76c960d4da644b5e5

Micro-optimize instructions. Closes #4

ttobiasvl committed 5 years ago
Unverified
03b6a3c8a15b5783eeab306db4cefa07a60e34b3

Optimize bus (closes #6) and stub out memory breakpoint

ttobiasvl committed 5 years ago

README

The README file for this repository.

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:

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