diff options
Diffstat (limited to 'src/mame/drivers/terak.cpp')
-rw-r--r-- | src/mame/drivers/terak.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/terak.cpp b/src/mame/drivers/terak.cpp index 032ed1a0443..d2b7d53141c 100644 --- a/src/mame/drivers/terak.cpp +++ b/src/mame/drivers/terak.cpp @@ -28,10 +28,10 @@ public: void terak(machine_config &config); private: - DECLARE_READ16_MEMBER(terak_fdc_status_r); - DECLARE_WRITE16_MEMBER(terak_fdc_command_w); - DECLARE_READ16_MEMBER(terak_fdc_data_r); - DECLARE_WRITE16_MEMBER(terak_fdc_data_w); + uint16_t terak_fdc_status_r(); + void terak_fdc_command_w(uint16_t data); + uint16_t terak_fdc_data_r(); + void terak_fdc_data_w(uint16_t data); uint32_t screen_update_terak(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void mem_map(address_map &map); @@ -43,7 +43,7 @@ private: required_device<t11_device> m_maincpu; }; -READ16_MEMBER( terak_state::terak_fdc_status_r ) +uint16_t terak_state::terak_fdc_status_r() { logerror("terak_fdc_status_r\n"); if (m_cmd==3) @@ -54,20 +54,20 @@ READ16_MEMBER( terak_state::terak_fdc_status_r ) return 0; } -WRITE16_MEMBER( terak_state::terak_fdc_command_w ) +void terak_state::terak_fdc_command_w(uint16_t data) { m_unit = (data >> 8) & 0x03; m_cmd = (data >> 1) & 0x07; logerror("terak_fdc_command_w %04x [%d %d]\n",data,m_unit,m_cmd); } -READ16_MEMBER( terak_state::terak_fdc_data_r ) +uint16_t terak_state::terak_fdc_data_r() { logerror("terak_fdc_data_r\n"); return 0; } -WRITE16_MEMBER( terak_state::terak_fdc_data_w ) +void terak_state::terak_fdc_data_w(uint16_t data) { logerror("terak_fdc_data_w %04x\n",data); } |