Z80State class

Z80 CPU State

Stores all registers and state required to run a Z80CPU

Implementers

Constructors

Z80State({int a = 0x00, int b = 0x00, int c = 0x00, int d = 0x00, int e = 0x00, int h = 0x00, int l = 0x00, int aPrime = 0x00, int bPrime = 0x00, int cPrime = 0x00, int dPrime = 0x00, int ePrime = 0x00, int hPrime = 0x00, int lPrime = 0x00, int ix = 0x0000, int iy = 0x0000, int i = 0x00, int r = 0x00, int sp = 0xdff0, int pc = 0x0000, Z80Flags? flags, Z80Flags? flagsPrime, int interruptMode = 0, int iff1 = 0, int iff2 = 0, bool halted = false, bool doDelayedDi = false, bool doDelayedEi = false, int cycleCounter = 0})
Constructs a new Z80State
Z80State.fromJson(Map<String, dynamic> state)
Loads CPU State from a Map
factory

Properties

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

Methods

clone() Z80State
Clones the current CPU state
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Saves current CPU state to a Map
toString() String
A string representation of this object.
override

Operators

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