X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Finclude%2Ftom.h;h=a03fa72870602ec434579935191c50d3d1b1a791;hb=01faaae82e1ab5db002090a15287d1edff5907c4;hp=a98aadfca23ecee91df01be16e9eb1130db895e0;hpb=cd61d997688c71e8eeecf39e4ce9d77a08872d7b;p=virtualjaguar diff --git a/src/include/tom.h b/src/include/tom.h index a98aadf..a03fa72 100644 --- a/src/include/tom.h +++ b/src/include/tom.h @@ -25,7 +25,8 @@ uint16 TOMReadWord(uint32 offset, uint32 who = UNKNOWN); void TOMWriteByte(uint32 offset, uint8 data, uint32 who = UNKNOWN); void TOMWriteWord(uint32 offset, uint16 data, uint32 who = UNKNOWN); -void tom_exec_scanline(int16 * backbuffer, int32 scanline, bool render); +//void TOMExecScanline(int16 * backbuffer, int32 scanline, bool render); +void TOMExecScanline(uint16 scanline, bool render); uint32 tom_getVideoModeWidth(void); uint32 tom_getVideoModeHeight(void); uint8 tom_getVideoMode(void); @@ -38,15 +39,16 @@ uint16 tom_get_vdb(void); int tom_irq_enabled(int irq); uint16 tom_irq_control_reg(void); void tom_set_irq_latch(int irq, int enabled); -void tom_pit_exec(uint32 cycles); +void TOMExecPIT(uint32 cycles); void tom_set_pending_jerry_int(void); void tom_set_pending_timer_int(void); void tom_set_pending_object_int(void); void tom_set_pending_gpu_int(void); void tom_set_pending_video_int(void); -void tom_reset_timer(void); +void TOMResetPIT(void); -uint32 TOMGetSDLScreenPitch(void); +//uint32 TOMGetSDLScreenPitch(void); +void TOMResetBackbuffer(int16 * backbuffer); // Exported variables