package
Version:
v0.0.0-...-9ddd1ca
Opens a new window with list of versions in this module.
Published: Feb 19, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetOpcodeName returns a string with the opcode name and immediate values
CPU is the main struct holding Z80 state
New returns an initialized CPU instance
Tick emulates a single step during the main loop for the cpu.
Returns the amount of cycles that execution has taken.
Flag is one of the 4 possible flags used in the flag register (high part of AF)
Opcode represents a function that executes an opcode
Decode retrieves the instruction identified by the value pointed at by the PC.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.