Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Z80Core: a Z80 core written in Java.

This core is a slightly modified core extracted from JSpeccy, ready to be used in any emulator that needs a Z80 CPU.

This library emulates the full Z80 CPU instruction set, including:

  • Undocumented instructions such as SLL.

  • Undocumented flags 3 & 5 from F register.

  • Hidden register MEMPTR (known as WZ in official Zilog documentation).

  • Strict execution order for every instruction.

  • Precise timing for all instructions, totally decoupled from the core.

An example that executes the CP/M v2.2 tests ZEXALL & ZEXDOC is included as a use case.

Compile the standard Java test application with:

mvn clean install

Run with:

./exerciser/target/z80exerciser.jar
Note

You’ll need graalvm to compile the native version of the application

Compile the native Java test application with:

mvn clean install -Pnative

Run with:

./exerciser/target/z80exerciser

Z80Core profiling with YourKit

Z80Core has been profiled using Yourkit.
YourKit is kindly supporting open source projects with its full-featured Java Profiler.

YourKit log

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications.
YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

About

A Z80 core written in Java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages