diff options
Diffstat (limited to 'src/mame/includes/midwunit.h')
-rw-r--r-- | src/mame/includes/midwunit.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/src/mame/includes/midwunit.h b/src/mame/includes/midwunit.h index 9943b931848..943476fbb8a 100644 --- a/src/mame/includes/midwunit.h +++ b/src/mame/includes/midwunit.h @@ -10,54 +10,54 @@ class midwunit_state : public midtunit_state { -public:
- midwunit_state(const machine_config &mconfig, device_type type, const char *tag)
- : midtunit_state(mconfig, type, tag),
- m_midway_serial_pic(*this, "serial_pic"),
- m_nvram(*this, "nvram"),
- m_ports(*this, wunit_ports)
- { }
-
- required_device<midway_serial_pic_device> m_midway_serial_pic;
- required_shared_ptr<UINT16> m_nvram;
- required_ioport_array<4> m_ports;
-
- DECLARE_IOPORT_ARRAY(wunit_ports);
-
- UINT8 m_cmos_write_enable;
- UINT16 m_iodata[8];
- UINT8 m_ioshuffle[16];
- UINT8 m_uart[8];
- UINT8 m_security_bits;
- UINT16 *m_umk3_palette;
-
- DECLARE_WRITE16_MEMBER(midwunit_cmos_enable_w);
- DECLARE_WRITE16_MEMBER(midwunit_cmos_w);
- DECLARE_READ16_MEMBER(midwunit_cmos_r);
+public: + midwunit_state(const machine_config &mconfig, device_type type, const char *tag) + : midtunit_state(mconfig, type, tag), + m_midway_serial_pic(*this, "serial_pic"), + m_nvram(*this, "nvram"), + m_ports(*this, wunit_ports) + { } + + required_device<midway_serial_pic_device> m_midway_serial_pic; + required_shared_ptr<UINT16> m_nvram; + required_ioport_array<4> m_ports; + + DECLARE_IOPORT_ARRAY(wunit_ports); + + UINT8 m_cmos_write_enable; + UINT16 m_iodata[8]; + UINT8 m_ioshuffle[16]; + UINT8 m_uart[8]; + UINT8 m_security_bits; + UINT16 *m_umk3_palette; + + DECLARE_WRITE16_MEMBER(midwunit_cmos_enable_w); + DECLARE_WRITE16_MEMBER(midwunit_cmos_w); + DECLARE_READ16_MEMBER(midwunit_cmos_r); DECLARE_WRITE16_MEMBER(midwunit_io_w); DECLARE_READ16_MEMBER(midwunit_io_r); DECLARE_READ16_MEMBER(midwunit_security_r); DECLARE_WRITE16_MEMBER(midwunit_security_w); DECLARE_READ16_MEMBER(midwunit_sound_r); DECLARE_READ16_MEMBER(midwunit_sound_state_r); - DECLARE_WRITE16_MEMBER(midwunit_sound_w);
- DECLARE_WRITE16_MEMBER(umk3_palette_hack_w);
- DECLARE_WRITE16_MEMBER(wwfmania_io_0_w);
-
- DECLARE_DRIVER_INIT(mk3r10);
- DECLARE_DRIVER_INIT(nbahangt);
- DECLARE_DRIVER_INIT(wwfmania);
+ DECLARE_WRITE16_MEMBER(midwunit_sound_w); + DECLARE_WRITE16_MEMBER(umk3_palette_hack_w); + DECLARE_WRITE16_MEMBER(wwfmania_io_0_w); + + DECLARE_DRIVER_INIT(mk3r10); + DECLARE_DRIVER_INIT(nbahangt); + DECLARE_DRIVER_INIT(wwfmania); DECLARE_DRIVER_INIT(umk3); DECLARE_DRIVER_INIT(mk3); DECLARE_DRIVER_INIT(openice); - DECLARE_DRIVER_INIT(rmpgwt);
- DECLARE_DRIVER_INIT(umk3r11);
- DECLARE_DRIVER_INIT(mk3r20);
-
- DECLARE_MACHINE_RESET(midwunit);
- DECLARE_VIDEO_START(midwunit);
-
- void register_state_saving();
- void init_wunit_generic();
- void init_mk3_common();
+ DECLARE_DRIVER_INIT(rmpgwt); + DECLARE_DRIVER_INIT(umk3r11); + DECLARE_DRIVER_INIT(mk3r20); + + DECLARE_MACHINE_RESET(midwunit); + DECLARE_VIDEO_START(midwunit); + + void register_state_saving(); + void init_wunit_generic(); + void init_mk3_common(); }; |