X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fv6808.h;h=2b25aee042beaa9498af14590ffe17299066c3d7;hb=2879315d07ce59a7996bc8a137c3b66ae018013a;hp=ec19a63f9ef36ce93144a852fc85a37cac610609;hpb=f51c96856129613e8aefd07a777dc59812ded4c7;p=stargem2 diff --git a/src/v6808.h b/src/v6808.h index ec19a63..2b25aee 100755 --- a/src/v6808.h +++ b/src/v6808.h @@ -39,16 +39,17 @@ struct V6808REGS 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__