MemoryBase class abstract
A general interface for contiguous memory space, as used in a microcomputer like the ZX Spectrum or TRS-80.
An actual computer implementation may extend this with a specific implementation that includes a fixed memory space, and probably some notion of a read-only ROM storage area.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
load(
int origin, Iterable< int> data) → 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) → void - 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