summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/eprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/eprom.h')
-rw-r--r--src/mame/includes/eprom.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h
index d17085ab57c..bb28cf411f1 100644
--- a/src/mame/includes/eprom.h
+++ b/src/mame/includes/eprom.h
@@ -44,22 +44,7 @@ public:
protected:
virtual void machine_start() override;
virtual void machine_reset() override;
- void video_int_ack_w(uint16_t data);
- TIMER_DEVICE_CALLBACK_MEMBER(scanline_update);
- uint8_t adc_r(offs_t offset);
- void eprom_latch_w(uint8_t data);
- template<bool maincpu> void sync_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
- TILE_GET_INFO_MEMBER(get_alpha_tile_info);
- TILE_GET_INFO_MEMBER(get_playfield_tile_info);
- TILE_GET_INFO_MEMBER(guts_get_playfield_tile_info);
- DECLARE_VIDEO_START(eprom);
- DECLARE_VIDEO_START(guts);
- uint32_t screen_update_eprom(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- uint32_t screen_update_guts(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void update_palette();
- void extra_map(address_map &map);
- void guts_map(address_map &map);
- void main_map(address_map &map);
+ virtual void video_start() override;
private:
required_device<cpu_device> m_maincpu;
@@ -70,14 +55,29 @@ private:
required_device<atari_motion_objects_device> m_mob;
required_device<atari_jsa_base_device> m_jsa;
required_shared_ptr<uint16_t> m_share1;
- int m_screen_intensity;
- int m_video_disable;
+ uint8_t m_screen_intensity;
+ uint8_t m_video_disable;
optional_device<adc0808_device> m_adc;
optional_device<cpu_device> m_extra;
required_device<palette_device> m_palette;
optional_shared_ptr<uint16_t> m_paletteram;
static const atari_motion_objects_config s_mob_config;
static const atari_motion_objects_config s_guts_mob_config;
+
+ void video_int_ack_w(uint16_t data);
+ TIMER_DEVICE_CALLBACK_MEMBER(scanline_update);
+ uint8_t adc_r(offs_t offset);
+ void eprom_latch_w(uint8_t data);
+ template<bool maincpu> void sync_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
+ TILE_GET_INFO_MEMBER(get_alpha_tile_info);
+ TILE_GET_INFO_MEMBER(get_playfield_tile_info);
+ TILE_GET_INFO_MEMBER(guts_get_playfield_tile_info);
+ uint32_t screen_update_eprom(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_guts(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void update_palette();
+ void extra_map(address_map &map);
+ void guts_map(address_map &map);
+ void main_map(address_map &map);
};
#endif // MAME_INCLUDES_EPROM_H