Skip to content

Memory ​

python
Memory(memory: DotNetZXSpectrumMemory)

Reads and writes the machine address space using integer indexes.

Addresses range from 0 to 65535 and values from 0 to 255.

Source

Methods ​

__getitem__ ​

python
__getitem__(index)

Read the byte at the given address.

Source

__setitem__ ​

python
__setitem__(index, value)

Write a byte at the given address.

Source