trunk/src/mess/machine/ti99/gromport.c
| r21312 | r21313 | |
| 131 | 131 | gromport_device::gromport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 132 | 132 | : bus8z_device(mconfig, GROMPORT, "Cartridge port", tag, owner, clock), |
| 133 | 133 | device_slot_interface(mconfig, *this), |
| 134 | | m_connector(NULL) |
| 134 | m_connector(NULL), |
| 135 | m_reset_on_insert(true) |
| 135 | 136 | { |
| 136 | 137 | } |
| 137 | 138 | |
| r21312 | r21313 | |
| 236 | 237 | const device_type GROMPORT_GK = &device_creator<gkracker_device>; |
| 237 | 238 | |
| 238 | 239 | ti99_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) |
| 240 | 242 | { |
| 241 | 243 | } |
| 242 | 244 | |
| r21312 | r21313 | |
| 246 | 248 | } |
| 247 | 249 | |
| 248 | 250 | single_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) |
| 250 | 253 | { |
| 251 | 254 | m_shortname = "single"; |
| 252 | 255 | } |
| r21312 | r21313 | |
| 340 | 343 | #define AUTO -1 |
| 341 | 344 | |
| 342 | 345 | multi_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) |
| 344 | 350 | { |
| 345 | 351 | m_shortname = "multi"; |
| 346 | 352 | } |
| r21312 | r21313 | |
| 666 | 672 | |
| 667 | 673 | gkracker_device::gkracker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 668 | 674 | : 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) |
| 670 | 682 | { |
| 671 | 683 | m_shortname = "ti99_gkracker"; |
| 672 | 684 | } |
| r21312 | r21313 | |
| 1084 | 1096 | ti99_cartridge_device::ti99_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1085 | 1097 | : bus8z_device(mconfig, TI99CART, "TI-99 cartridge", tag, owner, clock), |
| 1086 | 1098 | 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) |
| 1088 | 1105 | { |
| 1089 | 1106 | m_shortname = "cartridge"; |
| 1090 | 1107 | } |