summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/btoads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/btoads.cpp')
-rw-r--r--src/mame/video/btoads.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/video/btoads.cpp b/src/mame/video/btoads.cpp
index 5bcbfb82067..c301aa02c28 100644
--- a/src/mame/video/btoads.cpp
+++ b/src/mame/video/btoads.cpp
@@ -47,7 +47,7 @@ void btoads_state::video_start()
*
*************************************/
-WRITE16_MEMBER( btoads_state::misc_control_w )
+void btoads_state::misc_control_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(&m_misc_control);
@@ -56,7 +56,7 @@ WRITE16_MEMBER( btoads_state::misc_control_w )
}
-WRITE16_MEMBER( btoads_state::display_control_w )
+void btoads_state::display_control_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
if (ACCESSING_BITS_8_15)
{
@@ -90,7 +90,7 @@ WRITE16_MEMBER( btoads_state::display_control_w )
*
*************************************/
-WRITE16_MEMBER( btoads_state::scroll0_w )
+void btoads_state::scroll0_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
/* allow multiple changes during display */
// m_screen->update_now();
@@ -104,7 +104,7 @@ WRITE16_MEMBER( btoads_state::scroll0_w )
}
-WRITE16_MEMBER( btoads_state::scroll1_w )
+void btoads_state::scroll1_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
/* allow multiple changes during display */
// m_screen->update_now();
@@ -125,13 +125,13 @@ WRITE16_MEMBER( btoads_state::scroll1_w )
*
*************************************/
-WRITE16_MEMBER( btoads_state::paletteram_w )
+void btoads_state::paletteram_w(offs_t offset, uint16_t data)
{
m_tlc34076->write(offset/2, data);
}
-READ16_MEMBER( btoads_state::paletteram_r )
+uint16_t btoads_state::paletteram_r(offs_t offset)
{
return m_tlc34076->read(offset/2);
}
@@ -144,25 +144,25 @@ READ16_MEMBER( btoads_state::paletteram_r )
*
*************************************/
-WRITE16_MEMBER( btoads_state::vram_bg0_w )
+void btoads_state::vram_bg0_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(&m_vram_bg0[offset & 0x3fcff]);
}
-WRITE16_MEMBER( btoads_state::vram_bg1_w )
+void btoads_state::vram_bg1_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(&m_vram_bg1[offset & 0x3fcff]);
}
-READ16_MEMBER( btoads_state::vram_bg0_r )
+uint16_t btoads_state::vram_bg0_r(offs_t offset)
{
return m_vram_bg0[offset & 0x3fcff];
}
-READ16_MEMBER( btoads_state::vram_bg1_r )
+uint16_t btoads_state::vram_bg1_r(offs_t offset)
{
return m_vram_bg1[offset & 0x3fcff];
}
@@ -175,27 +175,27 @@ READ16_MEMBER( btoads_state::vram_bg1_r )
*
*************************************/
-WRITE16_MEMBER( btoads_state::vram_fg_display_w )
+void btoads_state::vram_fg_display_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
if (ACCESSING_BITS_0_7)
m_vram_fg_display[offset] = data;
}
-WRITE16_MEMBER( btoads_state::vram_fg_draw_w )
+void btoads_state::vram_fg_draw_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
if (ACCESSING_BITS_0_7)
m_vram_fg_draw[offset] = data;
}
-READ16_MEMBER( btoads_state::vram_fg_display_r )
+uint16_t btoads_state::vram_fg_display_r(offs_t offset)
{
return m_vram_fg_display[offset];
}
-READ16_MEMBER( btoads_state::vram_fg_draw_r )
+uint16_t btoads_state::vram_fg_draw_r(offs_t offset)
{
return m_vram_fg_draw[offset];
}