SpectrumMemory class

Constructors

SpectrumMemory({bool isRomProtected = true})

Properties

displayBuffer ByteData
no setter
hashCode int
The hash code for this object.
no setterinherited
isRomProtected bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load(int origin, Iterable<int> data, {bool ignoreRomProtection = false}) → void
Load a list of byte data into memory, starting at origin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(int origin, int length) Uint8List
Read a block of memory, starting at origin.
readByte(int address) int
Read a single byte from the given memory location.
readWord(int address) int
Read a single word from the given memory location.
reset() → void
Resets or clears the memory address space.
toString() String
A string representation of this object.
inherited
writeByte(int address, int value) → void
Write a single byte to the given memory location.
writeWord(int address, int value) → void
Write a single word to the given memory location.

Operators

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

Constants

ramTop → const int
romTop → const int
The raw memory in the ZX Spectrum 48K