@@ -40,23 +40,30 @@ class cdi_state : public driver_device
40
40
void cdi910 (machine_config &config);
41
41
42
42
protected:
43
- virtual void machine_reset () override ;
44
-
45
- void cdimono1_mem (address_map &map);
46
-
47
- required_device<scc68070_device> m_maincpu;
48
- required_region_ptr<uint16_t > m_main_rom;
49
- optional_device<screen_device> m_lcd;
50
- optional_device<cdislave_hle_device> m_slave_hle;
51
-
52
43
enum servo_portc_bit_t
53
44
{
54
45
INV_JUC_OUT = (1 << 2 ),
55
46
INV_DIV4_IN = (1 << 5 ),
56
47
INV_CADDYSWITCH_IN = (1 << 7 )
57
48
};
58
49
50
+ required_device<scc68070_device> m_maincpu;
51
+ required_region_ptr<uint16_t > m_main_rom;
52
+ optional_device<screen_device> m_lcd;
53
+ optional_device<cdislave_hle_device> m_slave_hle;
54
+ required_shared_ptr_array<uint16_t , 2 > m_plane_ram;
55
+ optional_device<m68hc05c8_device> m_servo;
56
+ optional_device<m68hc05c8_device> m_slave;
57
+ optional_device<cdicdic_device> m_cdic;
58
+ required_device<cdrom_image_device> m_cdrom;
59
+ required_device<mcd212_device> m_mcd212;
60
+
61
+ required_device_array<dmadac_sound_device, 2 > m_dmadac;
62
+
59
63
uint32_t screen_update_cdimono1_lcd (screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
64
+ virtual void machine_reset () override ;
65
+
66
+ void cdimono1_mem (address_map &map);
60
67
61
68
void cdi910_mem (address_map &map);
62
69
void cdimono2_mem (address_map &map);
@@ -72,15 +79,6 @@ class cdi_state : public driver_device
72
79
73
80
uint16_t bus_error_r (offs_t offset);
74
81
void bus_error_w (offs_t offset, uint16_t data);
75
-
76
- required_shared_ptr_array<uint16_t , 2 > m_plane_ram;
77
- optional_device<m68hc05c8_device> m_servo;
78
- optional_device<m68hc05c8_device> m_slave;
79
- optional_device<cdicdic_device> m_cdic;
80
- required_device<cdrom_image_device> m_cdrom;
81
- required_device<mcd212_device> m_mcd212;
82
-
83
- required_device_array<dmadac_sound_device, 2 > m_dmadac;
84
82
};
85
83
86
84
class quizard_state : public cdi_state , public device_serial_interface
0 commit comments