Appearance
MemConfig
cpp
#include <Components/Memory/MemoryTypes.h>cpp
struct MemConfigDefined in Components/Memory/MemoryTypes.h:246
Configuration options of the memory.
Public Attributes
| Return | Name | Description |
|---|---|---|
i32 | chipSize | RAM size in bytes. |
i32 | slowSize | Slow RAM size (in bytes). |
i32 | fastSize | Fast RAM size (in bytes). |
i32 | romSize | ROM size in bytes. |
i32 | womSize | Size of the Write-Once-Memory (in bytes). |
i32 | extSize | Size of the Extension ROM (in bytes). |
u32 | extStart | First memory page where the extended ROM is blended it. |
u8 | busWidth | Data bus width (16 or 32). |
bool | saveRoms | Indicates if snapshots should contain Roms. |
bool | slowRamDelay | Indicates if slow Ram accesses need a free bus. |
bool | slowRamMirror | Special ECS feature. |
BankMap | bankMap | Memory layout. |
RamInitPattern | ramInitPattern | Ram contents on startup. |
UnmappedMemory | unmappingType | Specifies how to deal with unmapped memory. |
chipSize
cpp
i32 chipSizeDefined in Components/Memory/MemoryTypes.h:249
RAM size in bytes.
slowSize
cpp
i32 slowSizeDefined in Components/Memory/MemoryTypes.h:250
Slow RAM size (in bytes).
fastSize
cpp
i32 fastSizeDefined in Components/Memory/MemoryTypes.h:251
Fast RAM size (in bytes).
romSize
cpp
i32 romSizeDefined in Components/Memory/MemoryTypes.h:254
ROM size in bytes.
womSize
cpp
i32 womSizeDefined in Components/Memory/MemoryTypes.h:255
Size of the Write-Once-Memory (in bytes).
extSize
cpp
i32 extSizeDefined in Components/Memory/MemoryTypes.h:256
Size of the Extension ROM (in bytes).
extStart
cpp
u32 extStartDefined in Components/Memory/MemoryTypes.h:259
First memory page where the extended ROM is blended it.
busWidth
cpp
u8 busWidthDefined in Components/Memory/MemoryTypes.h:262
Data bus width (16 or 32).
saveRoms
cpp
bool saveRomsDefined in Components/Memory/MemoryTypes.h:265
Indicates if snapshots should contain Roms.
slowRamDelay
cpp
bool slowRamDelayDefined in Components/Memory/MemoryTypes.h:268
Indicates if slow Ram accesses need a free bus.
slowRamMirror
cpp
bool slowRamMirrorDefined in Components/Memory/MemoryTypes.h:271
Special ECS feature.
bankMap
cpp
BankMap bankMapType: BankMap
Defined in Components/Memory/MemoryTypes.h:274
Memory layout.
ramInitPattern
cpp
RamInitPattern ramInitPatternType: RamInitPattern
Defined in Components/Memory/MemoryTypes.h:277
Ram contents on startup.
unmappingType
cpp
UnmappedMemory unmappingTypeType: UnmappedMemory
Defined in Components/Memory/MemoryTypes.h:280
Specifies how to deal with unmapped memory.