Previous 199869 Revisions Next

r21313 Friday 22nd February, 2013 at 13:41:04 UTC by Michael Zapf
ti99: Adding some more initializers. (nw)
[src/mess/machine/ti99]gromport.c

trunk/src/mess/machine/ti99/gromport.c
r21312r21313
131131gromport_device::gromport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
132132   :   bus8z_device(mconfig, GROMPORT, "Cartridge port", tag, owner, clock),
133133      device_slot_interface(mconfig, *this),
134      m_connector(NULL)
134      m_connector(NULL),
135      m_reset_on_insert(true)
135136{
136137}
137138
r21312r21313
236237const device_type GROMPORT_GK = &device_creator<gkracker_device>;
237238
238239ti99_cartridge_connector_device::ti99_cartridge_connector_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
239: bus8z_device(mconfig, type, name, tag, owner, clock)
240   : bus8z_device(mconfig, type, name, tag, owner, clock),
241   m_gromport(NULL)
240242{
241243}
242244
r21312r21313
246248}
247249
248250single_conn_device::single_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
249: ti99_cartridge_connector_device(mconfig, GROMPORT_SINGLE, "Standard cartridge connector", tag, owner, clock)
251   : ti99_cartridge_connector_device(mconfig, GROMPORT_SINGLE, "Standard cartridge connector", tag, owner, clock),
252   m_cartridge(NULL)
250253{
251254   m_shortname = "single";
252255}
r21312r21313
340343#define AUTO -1
341344
342345multi_conn_device::multi_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
343   : ti99_cartridge_connector_device(mconfig, GROMPORT_MULTI, "Multi-cartridge extender", tag, owner, clock)
346   : ti99_cartridge_connector_device(mconfig, GROMPORT_MULTI, "Multi-cartridge extender", tag, owner, clock),
347   m_active_slot(0),
348   m_fixed_slot(0),
349   m_next_free_slot(0)
344350{
345351   m_shortname = "multi";
346352}
r21312r21313
666672
667673gkracker_device::gkracker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
668674   :   ti99_cartridge_connector_device(mconfig, GROMPORT_GK, "GRAMKracker", tag, owner, clock),
669      device_nvram_interface(mconfig, *this)
675      device_nvram_interface(mconfig, *this),
676      m_ram_page(0),
677      m_grom_address(0),
678      m_ram_ptr(NULL),
679      m_grom_ptr(NULL),
680      m_waddr_LSB(false),
681      m_cartridge(NULL)
670682{
671683   m_shortname = "ti99_gkracker";
672684}
r21312r21313
10841096ti99_cartridge_device::ti99_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10851097:   bus8z_device(mconfig, TI99CART, "TI-99 cartridge", tag, owner, clock),
10861098   device_image_interface(mconfig, *this),
1087   m_pcb(NULL)
1099   m_softlist(false),
1100   m_pcbtype(0),
1101   m_slot(0),
1102   m_pcb(NULL),
1103   m_connector(NULL),
1104   m_rpk(NULL)
10881105{
10891106   m_shortname = "cartridge";
10901107}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team