Next: C128 memory module, Previous: CRTC module, Up: Module formats [Contents][Index]

#### 9.2.2.15 C64 memory module

The C64 memory module actually consists of two modules. The "C64MEM" module is mandatory and contains the RAM dump. The "C64ROM" module is optional and contains a dump of the ROM images.

The size of the C64 memory modules differs with each different memory configuration. The RAM configuration is saved in the snapshot, and restored when the snapshot is loaded.

Version numbers: Major 0, Minor 0

The C64MEM module

Type | Name | Description
BYTE | CPUDATA | CPU port data byte
BYTE | CPUDIR | CPU port direction byte
BYTE | EXROM | state of the EXROM line (?)
BYTE | GAME | state of the GAME line (?)
ARRAY | RAM | 64KiB RAM dump

The C64ROM module

Type | Name | Description
ARRAY | KERNAL | 8KiB dump of the kernal ROM
ARRAY | BASIC | 8KiB dump of the basic ROM
ARRAY | CHARGEN | 4KiB dump of the chargen ROM