summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/taito_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/taito_b.h')
-rw-r--r--src/mame/includes/taito_b.h34
1 files changed, 19 insertions, 15 deletions
diff --git a/src/mame/includes/taito_b.h b/src/mame/includes/taito_b.h
index 33b98ae3875..78e5fd2e3cc 100644
--- a/src/mame/includes/taito_b.h
+++ b/src/mame/includes/taito_b.h
@@ -56,18 +56,11 @@ public:
void init_taito_b();
- DECLARE_INPUT_CHANGED_MEMBER(realpunc_sensor);
-
- DECLARE_VIDEO_START(realpunc);
- uint32_t screen_update_realpunc(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
-
+protected:
DECLARE_WRITE8_MEMBER(player_12_coin_ctrl_w);
- void realpunc_map(address_map &map);
- void realpunc_hd63484_map(address_map &map);
void sound_map(address_map &map);
-private:
DECLARE_WRITE8_MEMBER(bankswitch_w);
template<int Player> DECLARE_READ16_MEMBER(tracky_hi_r);
template<int Player> DECLARE_READ16_MEMBER(tracky_lo_r);
@@ -79,10 +72,8 @@ private:
DECLARE_READ16_MEMBER(player_34_coin_ctrl_r);
DECLARE_WRITE16_MEMBER(player_34_coin_ctrl_w);
DECLARE_WRITE16_MEMBER(spacedxo_tc0220ioc_w);
- DECLARE_WRITE16_MEMBER(realpunc_output_w);
DECLARE_WRITE16_MEMBER(hitice_pixelram_w);
DECLARE_WRITE16_MEMBER(hitice_pixel_scroll_w);
- DECLARE_WRITE16_MEMBER(realpunc_video_ctrl_w);
DECLARE_WRITE8_MEMBER(mb87078_gain_changed);
DECLARE_VIDEO_START(hitice);
DECLARE_VIDEO_RESET(hitice);
@@ -116,7 +107,6 @@ private:
/* video-related */
std::unique_ptr<bitmap_ind16> m_pixel_bitmap;
- std::unique_ptr<bitmap_ind16> m_realpunc_bitmap;
uint16_t m_pixel_scroll[3];
@@ -126,8 +116,6 @@ private:
uint16_t m_eep_latch;
uint16_t m_coin_word;
- uint16_t m_realpunc_video_ctrl;
-
/* devices */
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
@@ -146,7 +134,7 @@ private:
optional_ioport_array<2> m_trackx_io;
optional_ioport_array<2> m_tracky_io;
- void hitice_clear_pixel_bitmap( );
+ void hitice_clear_pixel_bitmap();
};
class taitob_c_state : public taitob_state
@@ -155,6 +143,22 @@ public:
using taitob_state::taitob_state;
static constexpr feature_type unemulated_features() { return feature::CAMERA; }
void realpunc(machine_config &config);
+
+ DECLARE_INPUT_CHANGED_MEMBER(realpunc_sensor);
+
+protected:
+ DECLARE_WRITE16_MEMBER(realpunc_output_w);
+ DECLARE_WRITE16_MEMBER(realpunc_video_ctrl_w);
+
+ void realpunc_map(address_map &map);
+ void realpunc_hd63484_map(address_map &map);
+
+ DECLARE_VIDEO_START(realpunc);
+ uint32_t screen_update_realpunc(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+
+private:
+ std::unique_ptr<bitmap_ind16> m_realpunc_bitmap;
+ uint16_t m_realpunc_video_ctrl;
};
-#endif // MAME_INCLUDES_TAITO_B_H \ No newline at end of file
+#endif // MAME_INCLUDES_TAITO_B_H