summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/nbmj8900.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/nbmj8900.h')
-rw-r--r--src/mame/includes/nbmj8900.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/mame/includes/nbmj8900.h b/src/mame/includes/nbmj8900.h
index 1b4921c81e7..591d816b16c 100644
--- a/src/mame/includes/nbmj8900.h
+++ b/src/mame/includes/nbmj8900.h
@@ -7,10 +7,7 @@
class nbmj8900_state : public driver_device
{
public:
- enum
- {
- TIMER_BLITTER
- };
+
nbmj8900_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) ,
@@ -19,6 +16,18 @@ public:
m_screen(*this, "screen"),
m_palette(*this, "palette") { }
+ void ohpaipee(machine_config &config);
+ void togenkyo(machine_config &config);
+
+ void init_togenkyo();
+ void init_ohpaipee();
+
+private:
+ enum
+ {
+ TIMER_BLITTER
+ };
+
required_device<cpu_device> m_maincpu;
required_device<nb1413m3_device> m_nb1413m3;
required_device<screen_device> m_screen;
@@ -60,8 +69,6 @@ public:
DECLARE_WRITE8_MEMBER(vramsel_w);
DECLARE_WRITE8_MEMBER(romsel_w);
- void init_togenkyo();
- void init_ohpaipee();
virtual void video_start() override;
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -71,11 +78,9 @@ public:
void gfxdraw();
void postload();
- void ohpaipee(machine_config &config);
- void togenkyo(machine_config &config);
void ohpaipee_io_map(address_map &map);
void ohpaipee_map(address_map &map);
void togenkyo_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};