X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftom.h;h=4d5eae94d2679e62c19c7da22f2c294bb1486163;hb=c035466b10cc62451441136274fbe1d80b2bad21;hp=0c9511ee9cd9f80a2246bbb616f62fc02e74b84f;hpb=d239de704f276a75d927900e3d413a44cc87116c;p=virtualjaguar diff --git a/src/tom.h b/src/tom.h index 0c9511e..4d5eae9 100644 --- a/src/tom.h +++ b/src/tom.h @@ -6,7 +6,8 @@ #define __TOM_H__ //#include "jaguar.h" -#include "types.h" +//#include "types.h" +#include "memory.h" #define VIDEO_MODE_16BPP_CRY 0 #define VIDEO_MODE_24BPP_RGB 1 @@ -37,7 +38,7 @@ uint16 TOMGetVDB(void); //uint16 tom_get_scanline(void); //uint32 tom_getHBlankWidthInPixels(void); -int TOMIRQEnabled(int irq); +int TOMIRQEnabled(int irq); uint16 TOMIRQControlReg(void); void TOMSetIRQLatch(int irq, int enabled); void TOMExecPIT(uint32 cycles); @@ -56,5 +57,10 @@ void TOMResetBackbuffer(uint32 * backbuffer); extern uint32 tomWidth; extern uint32 tomHeight; extern uint8 tomRam8[]; +extern uint32 tomTimerPrescaler; +extern uint32 tomTimerDivider; +extern int32 tomTimerCounter; + +extern uint32 tomDeviceWidth; #endif // __TOM_H__