diff options
Diffstat (limited to 'src/mame/includes/atarigx2.h')
-rw-r--r-- | src/mame/includes/atarigx2.h | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/src/mame/includes/atarigx2.h b/src/mame/includes/atarigx2.h index ed924edcf0e..3e0db334f50 100644 --- a/src/mame/includes/atarigx2.h +++ b/src/mame/includes/atarigx2.h @@ -5,6 +5,10 @@ Atari GX2 hardware *************************************************************************/ +#ifndef MAME_INCLUDES_ATARIGX2_H +#define MAME_INCLUDES_ATARIGX2_H + +#pragma once #include "audio/atarijsa.h" #include "machine/atarigen.h" @@ -25,6 +29,35 @@ public: , m_rle(*this, "rle") { } + DECLARE_DRIVER_INIT(spclords); + DECLARE_DRIVER_INIT(rrreveng); + DECLARE_DRIVER_INIT(motofren); + void atarigx2_0x200(machine_config &config); + void atarigx2_0x400(machine_config &config); + +protected: + virtual void machine_reset() override; + virtual void video_start() override; + virtual void update_interrupts() override; + virtual void scanline_update(screen_device &screen, int scanline) override; + DECLARE_READ32_MEMBER(special_port2_r); + DECLARE_READ32_MEMBER(special_port3_r); + DECLARE_READ32_MEMBER(a2d_data_r); + DECLARE_WRITE32_MEMBER(latch_w); + DECLARE_WRITE32_MEMBER(mo_command_w); + DECLARE_WRITE32_MEMBER(atarigx2_protection_w); + DECLARE_READ32_MEMBER(atarigx2_protection_r); + DECLARE_READ32_MEMBER(rrreveng_prot_r); + TILE_GET_INFO_MEMBER(get_alpha_tile_info); + TILE_GET_INFO_MEMBER(get_playfield_tile_info); + TILEMAP_MAPPER_MEMBER(atarigx2_playfield_scan); + uint32_t screen_update_atarigx2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + DECLARE_WRITE16_MEMBER( atarigx2_mo_control_w ); + + void atarigx2(machine_config &config); + void main_map(address_map &map); + +private: uint16_t m_playfield_base; required_device<atari_jsa_iiis_device> m_jsa; @@ -46,30 +79,6 @@ public: uint16_t m_last_write; uint16_t m_last_write_offset; uint32_t m_protection_ram[0x1000]; - - virtual void update_interrupts() override; - virtual void scanline_update(screen_device &screen, int scanline) override; - DECLARE_READ32_MEMBER(special_port2_r); - DECLARE_READ32_MEMBER(special_port3_r); - DECLARE_READ32_MEMBER(a2d_data_r); - DECLARE_WRITE32_MEMBER(latch_w); - DECLARE_WRITE32_MEMBER(mo_command_w); - DECLARE_WRITE32_MEMBER(atarigx2_protection_w); - DECLARE_READ32_MEMBER(atarigx2_protection_r); - DECLARE_READ32_MEMBER(rrreveng_prot_r); - DECLARE_DRIVER_INIT(spclords); - DECLARE_DRIVER_INIT(rrreveng); - DECLARE_DRIVER_INIT(motofren); - TILE_GET_INFO_MEMBER(get_alpha_tile_info); - TILE_GET_INFO_MEMBER(get_playfield_tile_info); - TILEMAP_MAPPER_MEMBER(atarigx2_playfield_scan); - DECLARE_MACHINE_START(atarigx2); - DECLARE_MACHINE_RESET(atarigx2); - DECLARE_VIDEO_START(atarigx2); - uint32_t screen_update_atarigx2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - DECLARE_WRITE16_MEMBER( atarigx2_mo_control_w ); - void atarigx2(machine_config &config); - void atarigx2_0x200(machine_config &config); - void atarigx2_0x400(machine_config &config); - void main_map(address_map &map); }; + +#endif // MAME_INCLUDES_ATARIGX2_H |