Previous 199869 Revisions Next

r37161 Monday 13th April, 2015 at 12:29:21 UTC by Curt Coder
(MESS) c64: Added ROMs for Indus GT floppy drive. [Ray Carlsen]
[src/emu/bus/cbmiec]c1541.c c1541.h cbmiec.c

trunk/src/emu/bus/cbmiec/c1541.c
r245672r245673
174174const device_type C1541_DOLPHIN_DOS = &device_creator<c1541_dolphin_dos_device>;
175175const device_type C1541_PROFESSIONAL_DOS_V1 = &device_creator<c1541_professional_dos_v1_device>;
176176const device_type C1541_PROLOGIC_DOS_CLASSIC = &device_creator<c1541_prologic_dos_classic_device>;
177const device_type INDUS_GT = &device_creator<indus_gt_t>;
177178
178179
179180//-------------------------------------------------
r245672r245673
324325//-------------------------------------------------
325326
326327ROM_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) )
329330ROM_END
330331
331332
r245672r245673
453454
454455
455456//-------------------------------------------------
457//  ROM( indusgt )
458//-------------------------------------------------
459
460ROM_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) )
467ROM_END
468
469
470//-------------------------------------------------
471//  rom_region - device-specific ROM region
472//-------------------------------------------------
473
474const rom_entry *indus_gt_t::device_rom_region() const
475{
476    return ROM_NAME( indusgt );
477}
478
479
480//-------------------------------------------------
456481//  read -
457482//-------------------------------------------------
458483
r245672r245673
9751000//  base_c1541_device - constructor
9761001//-------------------------------------------------
9771002
978base_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)
1003base_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)
9911016{
9921017}
9931018
r245672r245673
10861111
10871112
10881113//-------------------------------------------------
1114//  indus_gt_t - constructor
1115//-------------------------------------------------
1116
1117indus_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//-------------------------------------------------
10891122//  device_start - device-specific startup
10901123//-------------------------------------------------
10911124
trunk/src/emu/bus/cbmiec/c1541.h
r245672r245673
271271};
272272
273273
274// ======================> indus_gt_t
275
276class indus_gt_t :  public base_c1541_device
277{
278public:
279   // construction/destruction
280   indus_gt_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
281
282   // optional information overrides
283   virtual const rom_entry *device_rom_region() const;
284};
285
286
274287// device type definition
275288extern const device_type C1540;
276289extern const device_type C1541;
r245672r245673
283296extern const device_type C1541_DOLPHIN_DOS;
284297extern const device_type C1541_PROFESSIONAL_DOS_V1;
285298extern const device_type C1541_PROLOGIC_DOS_CLASSIC;
299extern const device_type INDUS_GT;
286300
287301
288302
trunk/src/emu/bus/cbmiec/cbmiec.c
r245672r245673
510510   SLOT_INTERFACE("c1570", C1570)
511511   SLOT_INTERFACE("c1571", C1571)
512512   SLOT_INTERFACE("c1581", C1581)
513   SLOT_INTERFACE("indusgt", INDUS_GT)
513514   SLOT_INTERFACE("cmdhd", CMD_HD)
514515   SLOT_INTERFACE("fd2000", FD2000)
515516   SLOT_INTERFACE("fd4000", FD4000)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team