4
4
naughtyb_state(const machine_config &mconfig, device_type type, const char *tag)
5
: driver_device(mconfig, type, tag) { }
5
: driver_device(mconfig, type, tag) ,
6
m_videoram(*this, "videoram"),
7
m_videoram2(*this, "videoram2"),
8
m_scrollreg(*this, "scrollreg"){ }
10
required_shared_ptr<UINT8> m_videoram;
8
11
UINT8 m_popflame_prot_seed;
11
14
int m_question_offset;
15
required_shared_ptr<UINT8> m_videoram2;
16
required_shared_ptr<UINT8> m_scrollreg;
17
20
bitmap_ind16 m_tmpbitmap;
21
DECLARE_READ8_MEMBER(in0_port_r);
22
DECLARE_READ8_MEMBER(dsw0_port_r);
23
DECLARE_READ8_MEMBER(popflame_protection_r);
24
DECLARE_WRITE8_MEMBER(popflame_protection_w);
25
DECLARE_READ8_MEMBER(trvmstr_questions_r);
26
DECLARE_WRITE8_MEMBER(trvmstr_questions_w);
27
DECLARE_WRITE8_MEMBER(naughtyb_videoreg_w);
28
DECLARE_WRITE8_MEMBER(popflame_videoreg_w);
29
DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
21
33
/*----------- defined in video/naughtyb.c -----------*/
23
WRITE8_HANDLER( naughtyb_videoreg_w );
24
WRITE8_HANDLER( popflame_videoreg_w );
26
36
VIDEO_START( naughtyb );
27
37
PALETTE_INIT( naughtyb );