X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Finclude%2Ftom.h;h=be51f63747a08ad6143efc1fbfb3ba008ff7874f;hb=67a5f1a40072983cf87ae2093ca95c271d14e706;hp=e521d58b334f6e862f915aa73049966179d45222;hpb=135a0c52a2bcbcc37192c61801de6e9c80aeebff;p=virtualjaguar diff --git a/src/include/tom.h b/src/include/tom.h index e521d58..be51f63 100644 --- a/src/include/tom.h +++ b/src/include/tom.h @@ -20,10 +20,12 @@ extern uint32 tom_height; void tom_init(void); void tom_reset(void); void tom_done(void); -unsigned tom_byte_read(unsigned int offset); -unsigned tom_word_read(unsigned int offset); -void tom_byte_write(unsigned offset, unsigned data); -void tom_word_write(unsigned offset, unsigned data); + +uint8 TOMReadByte(uint32 offset, uint32 who = UNKNOWN); +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); uint32 tom_getVideoModeWidth(void); uint32 tom_getVideoModeHeight(void);