Next: CPU 6809 module, Previous: Module framework, Up: Module formats [Contents][Index]

#### 9.2.2.3 CPU 6502 module

This module saves the core 6502 state. You will find a clock value there. All other modules save their own clock values relative to this value. However, the drive modules save their clocks relative to their appropriate CPUs of course.

Type | Name | Description
DWORD | CLK | the current CPU clock value. All other clock values are relative to this.
BYTE | AC | Accumulator
BYTE | XR | X index register
BYTE | YR | Y index register
BYTE | SP | Stack Pointer
WORD | PC | Programm Counter
BYTE | ST | Status Registers
DWORD | LASTOPCODE | ?
DWORD | IRQCLK | absolute CLK when the IRQ line came active
DOWRD | NMICLK | absolute CLK when the NMI line came active
DWORD | ? | ?
DWORD | ? | ?