diff options
Diffstat (limited to 'src/devices/machine/eeprompar.cpp')
-rw-r--r-- | src/devices/machine/eeprompar.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/machine/eeprompar.cpp b/src/devices/machine/eeprompar.cpp index f0b4f595a25..787093f9194 100644 --- a/src/devices/machine/eeprompar.cpp +++ b/src/devices/machine/eeprompar.cpp @@ -47,7 +47,7 @@ ***************************************************************************/ #include "emu.h" -#include "machine/eeprompar.h" +#include "eeprompar.h" //#define VERBOSE 1 #include "logmacro.h" @@ -140,7 +140,7 @@ void eeprom_parallel_28xx_device::device_reset() // read/write - read/write handlers //------------------------------------------------- -WRITE8_MEMBER(eeprom_parallel_28xx_device::write) +void eeprom_parallel_28xx_device::write(offs_t offset, uint8_t data) { if (m_oe == 0) { @@ -157,7 +157,7 @@ WRITE8_MEMBER(eeprom_parallel_28xx_device::write) } } -READ8_MEMBER(eeprom_parallel_28xx_device::read) +uint8_t eeprom_parallel_28xx_device::read(address_space &space, offs_t offset) { if (m_oe == 1) { @@ -180,7 +180,7 @@ READ8_MEMBER(eeprom_parallel_28xx_device::read) // oe_w - direct write to /OE (true line state) //------------------------------------------------- -WRITE_LINE_MEMBER(eeprom_parallel_28xx_device::oe_w) +void eeprom_parallel_28xx_device::oe_w(int state) { LOG("%s: EEPROM %s for writing\n", machine().describe_context(), state ? "unlocked" : "locked"); m_oe = state ? 1 : 0; @@ -192,9 +192,9 @@ WRITE_LINE_MEMBER(eeprom_parallel_28xx_device::oe_w) // /OE line through external flip-flop //------------------------------------------------- -WRITE8_MEMBER(eeprom_parallel_28xx_device::unlock_write8) { oe_w(1); } -WRITE16_MEMBER(eeprom_parallel_28xx_device::unlock_write16) { oe_w(1); } -WRITE32_MEMBER(eeprom_parallel_28xx_device::unlock_write32) { oe_w(1); } +void eeprom_parallel_28xx_device::unlock_write8(uint8_t data) { oe_w(1); } +void eeprom_parallel_28xx_device::unlock_write16(uint16_t data) { oe_w(1); } +void eeprom_parallel_28xx_device::unlock_write32(uint32_t data) { oe_w(1); } //************************************************************************** |