Skip to content

MemInfo ​

cpp
#include <Components/Memory/MemoryTypes.h>
cpp
struct MemInfo

Defined in Components/Memory/MemoryTypes.h:285

State of the memory.

Public Attributes ​

ReturnNameDescription
boolhasRomA Kickstart ROM is installed.
boolhasWomA Write-Once-Memory is installed.
boolhasExtAn Extension ROM is installed.
boolhasBootRomThe installed ROM is a Boot ROM.
boolhasKickRomThe installed ROM is a Kickstart ROM.
boolwomLockThe Write-Once-Memory is write-protected.
u32romMaskAddress mask of the ROM.
u32womMaskAddress mask of the Write-Once-Memory.
u32extMaskAddress mask of the Extension ROM.
u32chipMaskAddress mask of the Chip RAM.
MemSrccpuMemSrcMemory source of each 64 KB bank as seen by the CPU.
MemSrcagnusMemSrcMemory source of each 64 KB bank as seen by Agnus.

hasRom ​

cpp
bool hasRom

Defined in Components/Memory/MemoryTypes.h:287

A Kickstart ROM is installed.


hasWom ​

cpp
bool hasWom

Defined in Components/Memory/MemoryTypes.h:288

A Write-Once-Memory is installed.


hasExt ​

cpp
bool hasExt

Defined in Components/Memory/MemoryTypes.h:289

An Extension ROM is installed.


hasBootRom ​

cpp
bool hasBootRom

Defined in Components/Memory/MemoryTypes.h:290

The installed ROM is a Boot ROM.


hasKickRom ​

cpp
bool hasKickRom

Defined in Components/Memory/MemoryTypes.h:291

The installed ROM is a Kickstart ROM.


womLock ​

cpp
bool womLock

Defined in Components/Memory/MemoryTypes.h:292

The Write-Once-Memory is write-protected.


romMask ​

cpp
u32 romMask

Defined in Components/Memory/MemoryTypes.h:294

Address mask of the ROM.


womMask ​

cpp
u32 womMask

Defined in Components/Memory/MemoryTypes.h:295

Address mask of the Write-Once-Memory.


extMask ​

cpp
u32 extMask

Defined in Components/Memory/MemoryTypes.h:296

Address mask of the Extension ROM.


chipMask ​

cpp
u32 chipMask

Defined in Components/Memory/MemoryTypes.h:297

Address mask of the Chip RAM.


cpuMemSrc ​

cpp
MemSrc cpuMemSrc[256]

Defined in Components/Memory/MemoryTypes.h:299

Memory source of each 64 KB bank as seen by the CPU.


agnusMemSrc ​

cpp
MemSrc agnusMemSrc[256]

Defined in Components/Memory/MemoryTypes.h:300

Memory source of each 64 KB bank as seen by Agnus.