summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bfm_sc5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bfm_sc5.cpp')
-rw-r--r--src/mame/drivers/bfm_sc5.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/bfm_sc5.cpp b/src/mame/drivers/bfm_sc5.cpp
index b4b64fba746..7aecae41f74 100644
--- a/src/mame/drivers/bfm_sc5.cpp
+++ b/src/mame/drivers/bfm_sc5.cpp
@@ -147,7 +147,7 @@ PL1 = Compact Flash Slot
-WRITE16_MEMBER( bfm_sc5_state::sc5_duart_w )
+void bfm_sc5_state::sc5_duart_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
// clearly a duart of some kind, write patterns are the same as SC4 games
// logerror("%s: duart_w %1x %04x %04x\n", machine().describe_context(), offset, data, mem_mask);
@@ -163,7 +163,7 @@ WRITE16_MEMBER( bfm_sc5_state::sc5_duart_w )
}
-READ8_MEMBER( bfm_sc5_state::sc5_mux1_r )
+uint8_t bfm_sc5_state::sc5_mux1_r(offs_t offset)
{
switch (offset)
{
@@ -177,11 +177,11 @@ READ8_MEMBER( bfm_sc5_state::sc5_mux1_r )
}
-WRITE8_MEMBER( bfm_sc5_state::sc5_mux1_w )
+void bfm_sc5_state::sc5_mux1_w(offs_t offset, uint8_t data)
{
if ((offset&0xf)==0)
{
- mux_output_w(space, (offset & 0x01f0)>>4, data);
+ mux_output_w((offset & 0x01f0)>>4, data);
}
else
{
@@ -191,11 +191,11 @@ WRITE8_MEMBER( bfm_sc5_state::sc5_mux1_w )
-WRITE8_MEMBER( bfm_sc5_state::sc5_mux2_w )
+void bfm_sc5_state::sc5_mux2_w(offs_t offset, uint8_t data)
{
if ((offset&0xf)==0)
{
- mux_output2_w(space, (offset & 0x01f0)>>4, data);
+ mux_output2_w((offset & 0x01f0)>>4, data);
}
else
{
@@ -281,7 +281,7 @@ void bfm_sc5_state::sc5_map(address_map &map)
INPUT_PORTS_START( bfm_sc5 )
INPUT_PORTS_END
-READ8_MEMBER( bfm_sc5_state::sc5_10202F0_r )
+uint8_t bfm_sc5_state::sc5_10202F0_r(offs_t offset)
{
switch (offset)
{
@@ -296,7 +296,7 @@ READ8_MEMBER( bfm_sc5_state::sc5_10202F0_r )
return 0;
}
-WRITE8_MEMBER( bfm_sc5_state::sc5_10202F0_w )
+void bfm_sc5_state::sc5_10202F0_w(offs_t offset, uint8_t data)
{
switch (offset)
{