Previous 199869 Revisions Next

r20203 Friday 11th January, 2013 at 17:49:49 UTC by Curt Coder
(MESS) Added Cardco CSD-1 floppy drive (C1541 clone). [Cowering]
[src/mess/machine]c1541.c c1541.h cbmipt.c

trunk/src/mess/machine/c1541.c
r20202r20203
173173const device_type C1541II = &device_creator<c1541ii_device>;
174174const device_type SX1541 = &device_creator<sx1541_device>;
175175const device_type FSD2 = &device_creator<fsd2_device>;
176const device_type CSD1 = &device_creator<csd1_device>;
176177const device_type C1541_DOLPHIN_DOS = &device_creator<c1541_dolphin_dos_device>;
177178const device_type C1541_PROFESSIONAL_DOS_V1 = &device_creator<c1541_professional_dos_v1_device>;
178179const device_type C1541_PROLOGIC_DOS_CLASSIC = &device_creator<c1541_prologic_dos_classic_device>;
r20202r20203
213214      m_shortname = "fsd2";
214215      break;
215216
217   case TYPE_CSD1:
218      m_shortname = "csd1";
219      break;
220
216221   case TYPE_1541_DOLPHIN_DOS:
217222      m_shortname = "c1541dd";
218223      break;
r20202r20203
338343
339344
340345//-------------------------------------------------
346//  ROM( csd1 )
347//-------------------------------------------------
348
349ROM_START( csd1 )
350   ROM_REGION( 0x4000, M6502_TAG, 0 )
351   ROM_LOAD( "ic14", 0x0000, 0x2000, CRC(adb6980e) SHA1(13051587dfe43b04ce1bf354b89438ddf6d8d76b) )
352   ROM_LOAD( "ic15", 0x2000, 0x2000, CRC(b0cecfa1) SHA1(c67e79a7ffefc9e9eafc238cb6ff6bb718f19afb) )
353ROM_END
354
355
356//-------------------------------------------------
341357//  ROM( c1541dd )
342358//-------------------------------------------------
343359
r20202r20203
400416   case TYPE_FSD2: // aka Excelerator PLUS / Oceanic OC-118N
401417      return ROM_NAME( fsd2 );
402418
419   case TYPE_CSD1:
420      return ROM_NAME( csd1 );
421
403422   case TYPE_1541_DOLPHIN_DOS:
404423      return ROM_NAME( c1541dd );
405424
r20202r20203
10421061
10431062
10441063//-------------------------------------------------
1064//  csd1_device - constructor
1065//-------------------------------------------------
1066
1067csd1_device::csd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1068   : base_c1541_device(mconfig, CSD1, "CSD-1", tag, owner, clock, TYPE_CSD1) { }
1069
1070
1071//-------------------------------------------------
10451072//  c1541_dolphin_dos_device - constructor
10461073//-------------------------------------------------
10471074
trunk/src/mess/machine/c1541.h
r20202r20203
5757      TYPE_1541II,
5858      TYPE_SX1541,
5959      TYPE_FSD2,
60      TYPE_CSD1,
6061
6162      // extended hardware
6263      TYPE_1541_DOLPHIN_DOS,
r20202r20203
180181};
181182
182183
184// ======================> csd1_device
185
186class csd1_device :  public base_c1541_device
187{
188public:
189   // construction/destruction
190   csd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
191};
192
193
183194// ======================> c1541_dolphin_dos_device
184195
185196class c1541_dolphin_dos_device :  public base_c1541_device
r20202r20203
237248extern const device_type C1541II;
238249extern const device_type SX1541;
239250extern const device_type FSD2;
251extern const device_type CSD1;
240252extern const device_type C1541_DOLPHIN_DOS;
241253extern const device_type C1541_PROFESSIONAL_DOS_V1;
242254extern const device_type C1541_PROLOGIC_DOS_CLASSIC;
trunk/src/mess/machine/cbmipt.c
r20202r20203
10401040   SLOT_INTERFACE("c1541c", C1541C)
10411041   SLOT_INTERFACE("c1541ii", C1541II)
10421042   SLOT_INTERFACE("fsd2", FSD2)
1043   SLOT_INTERFACE("csd1", CSD1)
10431044   SLOT_INTERFACE("c1541dd", C1541_DOLPHIN_DOS)
10441045   SLOT_INTERFACE("c1541pd", C1541_PROFESSIONAL_DOS_V1)
10451046   SLOT_INTERFACE("c1541pdc", C1541_PROLOGIC_DOS_CLASSIC)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team