trunk/src/emu/bus/cbmiec/c1541.c
| r245672 | r245673 | |
| 174 | 174 | const device_type C1541_DOLPHIN_DOS = &device_creator<c1541_dolphin_dos_device>; |
| 175 | 175 | const device_type C1541_PROFESSIONAL_DOS_V1 = &device_creator<c1541_professional_dos_v1_device>; |
| 176 | 176 | const device_type C1541_PROLOGIC_DOS_CLASSIC = &device_creator<c1541_prologic_dos_classic_device>; |
| 177 | const device_type INDUS_GT = &device_creator<indus_gt_t>; |
| 177 | 178 | |
| 178 | 179 | |
| 179 | 180 | //------------------------------------------------- |
| r245672 | r245673 | |
| 324 | 325 | //------------------------------------------------- |
| 325 | 326 | |
| 326 | 327 | ROM_START( fsd1 ) |
| 327 | | ROM_REGION( 0x4000, M6502_TAG, 0 ) |
| 328 | | ROM_LOAD( "fsd1.bin", 0x0000, 0x4000, CRC(57224cde) SHA1(ab16f56989b27d89babe5f89c5a8cb3da71a82f0) ) |
| 328 | ROM_REGION( 0x4000, M6502_TAG, 0 ) |
| 329 | ROM_LOAD( "fsd1.bin", 0x0000, 0x4000, CRC(57224cde) SHA1(ab16f56989b27d89babe5f89c5a8cb3da71a82f0) ) |
| 329 | 330 | ROM_END |
| 330 | 331 | |
| 331 | 332 | |
| r245672 | r245673 | |
| 453 | 454 | |
| 454 | 455 | |
| 455 | 456 | //------------------------------------------------- |
| 457 | // ROM( indusgt ) |
| 458 | //------------------------------------------------- |
| 459 | |
| 460 | ROM_START( indusgt ) |
| 461 | ROM_REGION( 0x4000, M6502_TAG, 0 ) |
| 462 | ROM_LOAD( "u18 v1.1.u18", 0x0000, 0x2000, CRC(e401ce56) SHA1(9878053bdff7a036f57285c2c4974459df2602d8) ) |
| 463 | ROM_LOAD( "u17 v1.1.u17", 0x2000, 0x2000, CRC(575ad906) SHA1(f48837b024add84f888acd83a9cf9eb7d2379172) ) |
| 464 | |
| 465 | ROM_REGION( 0x2000, "romdisk", 0 ) |
| 466 | ROM_LOAD( "u19 v1.1.u19", 0x0000, 0x2000, CRC(8f83e7a5) SHA1(5bceaad520dac9d0527723b3b454e8ec99748e5b) ) |
| 467 | ROM_END |
| 468 | |
| 469 | |
| 470 | //------------------------------------------------- |
| 471 | // rom_region - device-specific ROM region |
| 472 | //------------------------------------------------- |
| 473 | |
| 474 | const rom_entry *indus_gt_t::device_rom_region() const |
| 475 | { |
| 476 | return ROM_NAME( indusgt ); |
| 477 | } |
| 478 | |
| 479 | |
| 480 | //------------------------------------------------- |
| 456 | 481 | // read - |
| 457 | 482 | //------------------------------------------------- |
| 458 | 483 | |
| r245672 | r245673 | |
| 975 | 1000 | // base_c1541_device - constructor |
| 976 | 1001 | //------------------------------------------------- |
| 977 | 1002 | |
| 978 | | base_c1541_device:: base_c1541_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) |
| 979 | | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), |
| 980 | | device_cbm_iec_interface(mconfig, *this), |
| 981 | | device_c64_floppy_parallel_interface(mconfig, *this), |
| 982 | | m_maincpu(*this, M6502_TAG), |
| 983 | | m_via0(*this, M6522_0_TAG), |
| 984 | | m_via1(*this, M6522_1_TAG), |
| 985 | | m_ga(*this, C64H156_TAG), |
| 986 | | m_floppy(*this, C64H156_TAG":0:525ssqd"), |
| 987 | | m_address(*this, "ADDRESS"), |
| 988 | | m_data_out(1), |
| 989 | | m_via0_irq(CLEAR_LINE), |
| 990 | | m_via1_irq(CLEAR_LINE) |
| 1003 | base_c1541_device:: base_c1541_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : |
| 1004 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), |
| 1005 | device_cbm_iec_interface(mconfig, *this), |
| 1006 | device_c64_floppy_parallel_interface(mconfig, *this), |
| 1007 | m_maincpu(*this, M6502_TAG), |
| 1008 | m_via0(*this, M6522_0_TAG), |
| 1009 | m_via1(*this, M6522_1_TAG), |
| 1010 | m_ga(*this, C64H156_TAG), |
| 1011 | m_floppy(*this, C64H156_TAG":0:525ssqd"), |
| 1012 | m_address(*this, "ADDRESS"), |
| 1013 | m_data_out(1), |
| 1014 | m_via0_irq(CLEAR_LINE), |
| 1015 | m_via1_irq(CLEAR_LINE) |
| 991 | 1016 | { |
| 992 | 1017 | } |
| 993 | 1018 | |
| r245672 | r245673 | |
| 1086 | 1111 | |
| 1087 | 1112 | |
| 1088 | 1113 | //------------------------------------------------- |
| 1114 | // indus_gt_t - constructor |
| 1115 | //------------------------------------------------- |
| 1116 | |
| 1117 | indus_gt_t::indus_gt_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1118 | : base_c1541_device(mconfig, INDUS_GT, "Indus GT", tag, owner, clock, "indusgt", __FILE__) { } |
| 1119 | |
| 1120 | |
| 1121 | //------------------------------------------------- |
| 1089 | 1122 | // device_start - device-specific startup |
| 1090 | 1123 | //------------------------------------------------- |
| 1091 | 1124 | |