Z80CPU class

Z80 CPU

Maintains its' own state as Z80State

Requires an implementation of Z80Core so it can operate.

Inheritance

Constructors

Z80CPU(Z80Core _core)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Z80State
Returns a cloned CPU state
getter/setter pairinherited

Methods

clone() Z80State
Clones the current CPU state
inherited
interrupt(bool nonMaskable, int data) → void
Simulates pulsing the processor's INT (or NMI) pin
isHalted() bool
Reports if the CPU is halted
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset CPU
runInstruction() int
Runs a single instruction
toJson() Map<String, dynamic>
Saves current CPU state to a Map
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited