uint8 cc; // 6808 Condition Code register
uint8 a; // 6808 A register
uint8 b; // 6808 B register
- uint32 clock; // 6808 clock
+ uint64 clock; // 6808 clock
uint8 (* RdMem)(uint16); // Address of uint8 read routine
void (* WrMem)(uint16, uint8); // Address of uint8 write routine
uint32 cpuFlags; // v6808 IRQ/RESET flags
+ uint32 clockOverrun; // Amount of overflow between runs
};
// Function prototypes
void Execute6808(V6808REGS *, uint32); // Function to execute 6808 instructions
-uint32 GetCurrentV6808Clock(void); // Get the clock of the currently executing CPU
+uint64 GetCurrentV6808Clock(void); // Get the clock of the currently executing CPU
//uint8 GetCCRegister(void); // Hmm.
#endif // __V6808_H__