diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-08 18:03:45 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-08 18:03:45 +0200 |
commit | 1a66aa592aa34b3eca250e996e55e66fc6e9fbaa (patch) | |
tree | 90c11e97aefe3ef50bcf670726243d243fd4366a /src/mame/drivers/exterm.cpp | |
parent | e962aca9dfb746cd1452d50eb262bc0c4bc4bc39 (diff) |
drivers starting with e: removed read* and write* macros (nw)
Diffstat (limited to 'src/mame/drivers/exterm.cpp')
-rw-r--r-- | src/mame/drivers/exterm.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/exterm.cpp b/src/mame/drivers/exterm.cpp index 8087f879b44..fd1020d4374 100644 --- a/src/mame/drivers/exterm.cpp +++ b/src/mame/drivers/exterm.cpp @@ -90,13 +90,13 @@ void exterm_state::machine_start() * *************************************/ -WRITE16_MEMBER(exterm_state::host_data_w) +void exterm_state::host_data_w(offs_t offset, uint16_t data) { m_slave->host_w(offset / 0x0010000, data); } -READ16_MEMBER(exterm_state::host_data_r) +uint16_t exterm_state::host_data_r(offs_t offset) { return m_slave->host_r(offset / 0x0010000); } @@ -110,7 +110,7 @@ READ16_MEMBER(exterm_state::host_data_r) *************************************/ template<uint8_t Which> -READ16_MEMBER(exterm_state::trackball_port_r) +uint16_t exterm_state::trackball_port_r() { uint16_t port; @@ -143,7 +143,7 @@ READ16_MEMBER(exterm_state::trackball_port_r) * *************************************/ -WRITE16_MEMBER(exterm_state::output_port_0_w) +void exterm_state::output_port_0_w(offs_t offset, uint16_t data, uint16_t mem_mask) { /* All the outputs are activated on the rising edge */ @@ -171,7 +171,7 @@ WRITE16_MEMBER(exterm_state::output_port_0_w) } -WRITE8_MEMBER(exterm_state::sound_latch_w) +void exterm_state::sound_latch_w(uint8_t data) { // data is latched independently for both sound CPUs m_soundlatch[0]->write(data); @@ -194,14 +194,14 @@ TIMER_DEVICE_CALLBACK_MEMBER(exterm_state::master_sound_nmi_callback) } -WRITE8_MEMBER(exterm_state::ym2151_data_latch_w) +void exterm_state::ym2151_data_latch_w(uint8_t data) { /* bit 7 of the sound control selects which port */ m_ym2151->write(m_sound_control >> 7, data); } -WRITE8_MEMBER(exterm_state::sound_nmi_rate_w) +void exterm_state::sound_nmi_rate_w(uint8_t data) { /* rate is controlled by the value written here */ /* this value is latched into up-counters, which are clocked at the */ @@ -211,7 +211,7 @@ WRITE8_MEMBER(exterm_state::sound_nmi_rate_w) } -READ8_MEMBER(exterm_state::sound_nmi_to_slave_r) +uint8_t exterm_state::sound_nmi_to_slave_r() { /* a read from here triggers an NMI pulse to the slave */ m_audioslave->pulse_input_line(INPUT_LINE_NMI, attotime::zero); @@ -219,7 +219,7 @@ READ8_MEMBER(exterm_state::sound_nmi_to_slave_r) } -WRITE8_MEMBER(exterm_state::sound_control_w) +void exterm_state::sound_control_w(uint8_t data) { /* D7 = to S4-15 |