summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/serflash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/serflash.cpp')
-rw-r--r--src/devices/machine/serflash.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/serflash.cpp b/src/devices/machine/serflash.cpp
index 32f2524d5eb..c616b4d34a7 100644
--- a/src/devices/machine/serflash.cpp
+++ b/src/devices/machine/serflash.cpp
@@ -162,7 +162,7 @@ void serflash_device::flash_hard_reset()
m_flash_page_index = 0;
}
-WRITE8_MEMBER( serflash_device::flash_enab_w )
+void serflash_device::flash_enab_w(uint8_t data)
{
//logerror("%08x FLASH: enab = %02X\n", m_maincpu->pc(), data);
m_flash_enab = data;
@@ -181,7 +181,7 @@ void serflash_device::flash_change_state(flash_state_t state)
//logerror("flash_change_state - FLASH: state = %s\n", m_flash_state_name[state]);
}
-WRITE8_MEMBER( serflash_device::flash_cmd_w )
+void serflash_device::flash_cmd_w(uint8_t data)
{
if (!m_flash_enab)
return;
@@ -287,7 +287,7 @@ WRITE8_MEMBER( serflash_device::flash_cmd_w )
}
}
-WRITE8_MEMBER( serflash_device::flash_data_w )
+void serflash_device::flash_data_w(uint8_t data)
{
if (!m_flash_enab)
return;
@@ -300,7 +300,7 @@ WRITE8_MEMBER( serflash_device::flash_data_w )
m_flash_page_addr++;
}
-WRITE8_MEMBER( serflash_device::flash_addr_w )
+void serflash_device::flash_addr_w(uint8_t data)
{
if (!m_flash_enab)
return;
@@ -336,7 +336,7 @@ WRITE8_MEMBER( serflash_device::flash_addr_w )
}
}
-READ8_MEMBER( serflash_device::flash_io_r )
+uint8_t serflash_device::flash_io_r()
{
uint8_t data = 0x00;
// uint32_t old;
@@ -395,14 +395,14 @@ READ8_MEMBER( serflash_device::flash_io_r )
return data;
}
-READ8_MEMBER( serflash_device::flash_ready_r )
+uint8_t serflash_device::flash_ready_r()
{
return 1;
}
-READ8_MEMBER(serflash_device::n3d_flash_r)
+uint8_t serflash_device::n3d_flash_r(offs_t offset)
{
if (m_last_flash_cmd==0x70) return 0xe0;
@@ -423,7 +423,7 @@ READ8_MEMBER(serflash_device::n3d_flash_r)
}
-WRITE8_MEMBER(serflash_device::n3d_flash_cmd_w)
+void serflash_device::n3d_flash_cmd_w(offs_t offset, uint8_t data)
{
logerror("n3d_flash_cmd_w %02x %02x\n", offset, data);
m_last_flash_cmd = data;
@@ -437,7 +437,7 @@ WRITE8_MEMBER(serflash_device::n3d_flash_cmd_w)
}
}
-WRITE8_MEMBER(serflash_device::n3d_flash_addr_w)
+void serflash_device::n3d_flash_addr_w(offs_t offset, uint8_t data)
{
// logerror("n3d_flash_addr_w %02x %02x\n", offset, data);