summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/goldstar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/goldstar.h')
-rw-r--r--src/mame/includes/goldstar.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h
index f93e2ecf2a6..1a4926596e3 100644
--- a/src/mame/includes/goldstar.h
+++ b/src/mame/includes/goldstar.h
@@ -35,18 +35,18 @@ public:
m_lamps(*this, "lamp%u", 0U)
{ }
- DECLARE_WRITE8_MEMBER(protection_w);
- DECLARE_READ8_MEMBER(protection_r);
- DECLARE_WRITE8_MEMBER(p1_lamps_w);
- DECLARE_WRITE8_MEMBER(p2_lamps_w);
- DECLARE_WRITE8_MEMBER(ncb3_port81_w);
- DECLARE_WRITE8_MEMBER(cm_coincount_w);
- DECLARE_WRITE8_MEMBER(goldstar_fg_vidram_w);
- DECLARE_WRITE8_MEMBER(goldstar_fg_atrram_w);
- DECLARE_WRITE8_MEMBER(goldstar_reel1_ram_w);
- DECLARE_WRITE8_MEMBER(goldstar_reel2_ram_w);
- DECLARE_WRITE8_MEMBER(goldstar_reel3_ram_w);
- DECLARE_WRITE8_MEMBER(goldstar_fa00_w);
+ void protection_w(uint8_t data);
+ uint8_t protection_r();
+ void p1_lamps_w(uint8_t data);
+ void p2_lamps_w(uint8_t data);
+ void ncb3_port81_w(uint8_t data);
+ void cm_coincount_w(uint8_t data);
+ void goldstar_fg_vidram_w(offs_t offset, uint8_t data);
+ void goldstar_fg_atrram_w(offs_t offset, uint8_t data);
+ void goldstar_reel1_ram_w(offs_t offset, uint8_t data);
+ void goldstar_reel2_ram_w(offs_t offset, uint8_t data);
+ void goldstar_reel3_ram_w(offs_t offset, uint8_t data);
+ void goldstar_fa00_w(uint8_t data);
void ay8910_outputa_w(uint8_t data);
void ay8910_outputb_w(uint8_t data);
void init_chryangl();
@@ -160,9 +160,9 @@ public:
{
}
- DECLARE_WRITE8_MEMBER(outport0_w);
- DECLARE_WRITE8_MEMBER(girl_scroll_w);
- DECLARE_WRITE8_MEMBER(background_col_w);
+ void outport0_w(uint8_t data);
+ void girl_scroll_w(uint8_t data);
+ void background_col_w(uint8_t data);
void init_cm();
void init_cmv4();
@@ -211,7 +211,7 @@ public:
protected:
// installed by various driver init handlers to get stuff to work
- template <uint8_t V> READ8_MEMBER(fixedval_r) { return V; }
+ template <uint8_t V> uint8_t fixedval_r() { return V; }
};
@@ -224,8 +224,8 @@ public:
{
}
- DECLARE_WRITE8_MEMBER(magodds_outb850_w);
- DECLARE_WRITE8_MEMBER(magodds_outb860_w);
+ void magodds_outb850_w(uint8_t data);
+ void magodds_outb860_w(uint8_t data);
void fl7w4_outc802_w(uint8_t data);
void system_outputa_w(uint8_t data);
void system_outputb_w(uint8_t data);
@@ -322,16 +322,16 @@ public:
{
}
- DECLARE_WRITE8_MEMBER(enable_w);
- DECLARE_WRITE8_MEMBER(coincount_w);
+ void enable_w(uint8_t data);
+ void coincount_w(uint8_t data);
- DECLARE_WRITE8_MEMBER(fg_vidram_w);
- DECLARE_WRITE8_MEMBER(fg_atrram_w);
- DECLARE_WRITE8_MEMBER(bg_vidram_w);
- DECLARE_WRITE8_MEMBER(bg_atrram_w);
- DECLARE_WRITE8_MEMBER(reel1_attrram_w);
- DECLARE_WRITE8_MEMBER(reel2_attrram_w);
- DECLARE_WRITE8_MEMBER(reel3_attrram_w);
+ void fg_vidram_w(offs_t offset, uint8_t data);
+ void fg_atrram_w(offs_t offset, uint8_t data);
+ void bg_vidram_w(offs_t offset, uint8_t data);
+ void bg_atrram_w(offs_t offset, uint8_t data);
+ void reel1_attrram_w(offs_t offset, uint8_t data);
+ void reel2_attrram_w(offs_t offset, uint8_t data);
+ void reel3_attrram_w(offs_t offset, uint8_t data);
DECLARE_VIDEO_START(sangho);
uint32_t screen_update_sangho(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
@@ -367,13 +367,13 @@ public:
{
}
- DECLARE_WRITE8_MEMBER(coincount_w);
- DECLARE_WRITE8_MEMBER(unkcm_0x02_w);
- DECLARE_WRITE8_MEMBER(unkcm_0x03_w);
+ void coincount_w(uint8_t data);
+ void unkcm_0x02_w(uint8_t data);
+ void unkcm_0x03_w(uint8_t data);
- DECLARE_WRITE8_MEMBER(reel1_attrram_w);
- DECLARE_WRITE8_MEMBER(reel2_attrram_w);
- DECLARE_WRITE8_MEMBER(reel3_attrram_w);
+ void reel1_attrram_w(offs_t offset, uint8_t data);
+ void reel2_attrram_w(offs_t offset, uint8_t data);
+ void reel3_attrram_w(offs_t offset, uint8_t data);
void init_unkch1();
void init_unkch3();