summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/namcos2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/namcos2.h')
-rw-r--r--src/mame/includes/namcos2.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h
index 5e5b6356de4..46cda26b59e 100644
--- a/src/mame/includes/namcos2.h
+++ b/src/mame/includes/namcos2.h
@@ -187,16 +187,16 @@ enum
std::unique_ptr<uint8_t[]> m_eeprom;
- DECLARE_READ16_MEMBER(dpram_word_r);
- DECLARE_WRITE16_MEMBER(dpram_word_w);
+ uint16_t dpram_word_r(offs_t offset);
+ void dpram_word_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
uint8_t dpram_byte_r(offs_t offset);
void dpram_byte_w(offs_t offset, uint8_t data);
- DECLARE_WRITE8_MEMBER(eeprom_w);
- DECLARE_READ8_MEMBER(eeprom_r);
+ void eeprom_w(offs_t offset, uint8_t data);
+ uint8_t eeprom_r(offs_t offset);
- DECLARE_READ16_MEMBER(c140_rom_r);
- DECLARE_WRITE8_MEMBER(sound_bankselect_w);
+ uint16_t c140_rom_r(offs_t offset);
+ void sound_bankselect_w(uint8_t data);
void sound_reset_w(uint8_t data);
void system_reset_w(uint8_t data);
@@ -213,10 +213,10 @@ enum
uint32_t screen_update_metlhawk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_sgunner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- DECLARE_READ8_MEMBER( c116_r );
+ uint8_t c116_r(offs_t offset);
- DECLARE_READ16_MEMBER( gfx_ctrl_r );
- DECLARE_WRITE16_MEMBER( gfx_ctrl_w );
+ uint16_t gfx_ctrl_r();
+ void gfx_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -238,9 +238,9 @@ enum
optional_device<namcos2_sprite_device> m_ns2sprite;
optional_device<namcos2_roz_device> m_ns2roz;
- DECLARE_READ16_MEMBER( namcos2_68k_key_r );
- DECLARE_WRITE16_MEMBER( namcos2_68k_key_w );
- DECLARE_READ16_MEMBER( namcos2_finallap_prot_r );
+ uint16_t namcos2_68k_key_r(offs_t offset);
+ void namcos2_68k_key_w(offs_t offset, uint16_t data);
+ uint16_t namcos2_finallap_prot_r(offs_t offset);
void GollyGhostUpdateLED_c4( int data );
void GollyGhostUpdateLED_c6( int data );
void GollyGhostUpdateLED_c8( int data );