Previous 15994 Revisions Next

r15639 Saturday 21st July, 2012 at 18:55:30 UTC by Wilbert Pol
pv1000.c: Minor cleanup (nw)
[src/mess/drivers]pv1000.c

src/mess/drivers/pv1000.c
r15638r15639
1717{
1818public:
1919   pv1000_state(const machine_config &mconfig, device_type type, const char *tag)
20      : driver_device(mconfig, type, tag) ,
21      m_p_videoram(*this, "p_videoram"){ }
20      : driver_device(mconfig, type, tag),
21      m_maincpu(*this, "maincpu"),
22      m_screen(*this, "screen"),
23      m_p_videoram(*this, "p_videoram")
24      { }
2225
2326   DECLARE_WRITE8_MEMBER(pv1000_io_w);
2427   DECLARE_READ8_MEMBER(pv1000_io_r);
r15638r15639
3639   emu_timer      *m_irq_on_timer;
3740   emu_timer      *m_irq_off_timer;
3841
39   device_t *m_maincpu;
40   screen_device *m_screen;
42   required_device<cpu_device> m_maincpu;
43   required_device<screen_device> m_screen;
4144   required_shared_ptr<UINT8> m_p_videoram;
4245};
4346
r15638r15639
332335
333336   state->m_irq_on_timer = machine.scheduler().timer_alloc(FUNC(d65010_irq_on_cb));
334337   state->m_irq_off_timer = machine.scheduler().timer_alloc(FUNC(d65010_irq_off_cb));
335   state->m_maincpu = machine.device( "maincpu" );
336   state->m_screen = machine.device<screen_device>("screen" );
337338}
338339
339340

Previous 15994 Revisions Next


© 1998-2018 The MESS Team