diff options
Diffstat (limited to 'src/mame/drivers/konamigv.cpp')
-rw-r--r-- | src/mame/drivers/konamigv.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/konamigv.cpp b/src/mame/drivers/konamigv.cpp index 97ba9e7203c..650631c4fd8 100644 --- a/src/mame/drivers/konamigv.cpp +++ b/src/mame/drivers/konamigv.cpp @@ -161,9 +161,9 @@ protected: virtual void machine_start() override; - DECLARE_WRITE16_MEMBER(btc_trackball_w); - DECLARE_READ16_MEMBER(tokimeki_serial_r); - DECLARE_WRITE16_MEMBER(tokimeki_serial_w); + void btc_trackball_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t tokimeki_serial_r(); + void tokimeki_serial_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); void scsi_dma_read( uint32_t *p_n_psxram, uint32_t n_address, int32_t n_size ); void scsi_dma_write( uint32_t *p_n_psxram, uint32_t n_address, int32_t n_size ); @@ -194,8 +194,8 @@ public: private: virtual void machine_start() override; - DECLARE_READ16_MEMBER(flash_r); - DECLARE_WRITE16_MEMBER(flash_w); + uint16_t flash_r(offs_t offset); + void flash_w(offs_t offset, uint16_t data); void simpbowl_map(address_map &map); @@ -455,7 +455,7 @@ INPUT_PORTS_END /* Simpsons Bowling */ -READ16_MEMBER(simpbowl_state::flash_r) +uint16_t simpbowl_state::flash_r(offs_t offset) { if (offset == 4) // set odd address { @@ -477,7 +477,7 @@ READ16_MEMBER(simpbowl_state::flash_r) return 0; } -WRITE16_MEMBER(simpbowl_state::flash_w) +void simpbowl_state::flash_w(offs_t offset, uint16_t data) { int chip; @@ -534,7 +534,7 @@ INPUT_PORTS_END /* Beat the Champ */ -WRITE16_MEMBER(konamigv_state::btc_trackball_w) +void konamigv_state::btc_trackball_w(offs_t offset, uint16_t data, uint16_t mem_mask) { // osd_printf_debug( "w %08x %08x %08x %08x\n", m_maincpu->pc(), offset, data, mem_mask ); @@ -580,7 +580,7 @@ INPUT_PORTS_END /* Tokimeki Memorial games - have a mouse and printer and who knows what else */ -READ16_MEMBER(konamigv_state::tokimeki_serial_r) +uint16_t konamigv_state::tokimeki_serial_r() { // bits checked: 0x80 and 0x20 for periodic status (800b6968 and 800b69e0 in tmoshs) // 0x08 for reading the serial device (8005e624) @@ -588,7 +588,7 @@ READ16_MEMBER(konamigv_state::tokimeki_serial_r) return 0xffff; } -WRITE16_MEMBER(konamigv_state::tokimeki_serial_w) +void konamigv_state::tokimeki_serial_w(offs_t offset, uint16_t data, uint16_t mem_mask) { /* serial EEPROM-like device here: when mem_mask == 0x000000ff only, |