Previous 199869 Revisions Next

r37132 Sunday 12th April, 2015 at 10:09:11 UTC by Curt Coder
(MESS) c64. Added FSD-1 disk drive ROMs. [Ray Carlsen]
[src/emu/bus/cbmiec]c1541.c c1541.h cbmiec.c

trunk/src/emu/bus/cbmiec/c1541.c
r245643r245644
168168const device_type C1541C = &device_creator<c1541c_device>;
169169const device_type C1541II = &device_creator<c1541ii_device>;
170170const device_type SX1541 = &device_creator<sx1541_device>;
171const device_type FSD1 = &device_creator<fsd1_device>;
171172const device_type FSD2 = &device_creator<fsd2_device>;
172173const device_type CSD1 = &device_creator<csd1_device>;
173174const device_type C1541_DOLPHIN_DOS = &device_creator<c1541_dolphin_dos_device>;
r245643r245644
319320
320321
321322//-------------------------------------------------
323//  ROM( fsd1 )
324//-------------------------------------------------
325
326ROM_START( fsd1 )
327    ROM_REGION( 0x4000, M6502_TAG, 0 )
328    ROM_LOAD( "fsd1.bin", 0x0000, 0x4000, CRC(57224cde) SHA1(ab16f56989b27d89babe5f89c5a8cb3da71a82f0) )
329ROM_END
330
331
332//-------------------------------------------------
333//  rom_region - device-specific ROM region
334//-------------------------------------------------
335
336const rom_entry *fsd1_device::device_rom_region() const
337{
338    return ROM_NAME( fsd1 );
339}
340
341
342//-------------------------------------------------
322343//  ROM( fsd2 )
323344//-------------------------------------------------
324345
r245643r245644
10121033
10131034
10141035//-------------------------------------------------
1036//  fsd1_device - constructor
1037//-------------------------------------------------
1038
1039fsd1_device::fsd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1040    : base_c1541_device(mconfig, FSD1, "FSD-1", tag, owner, clock, "fsd1", __FILE__) { }
1041
1042
1043//-------------------------------------------------
10151044//  fsd2_device - constructor
10161045//-------------------------------------------------
10171046
trunk/src/emu/bus/cbmiec/c1541.h
r245643r245644
171171};
172172
173173
174// ======================> fsd1_device
175
176class fsd1_device :  public base_c1541_device
177{
178public:
179   // construction/destruction
180   fsd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
181
182   // optional information overrides
183   virtual const rom_entry *device_rom_region() const;
184};
185
186
174187// ======================> fsd2_device
175188
176189class fsd2_device :  public base_c1541_device
r245643r245644
264277extern const device_type C1541C;
265278extern const device_type C1541II;
266279extern const device_type SX1541;
280extern const device_type FSD1;
267281extern const device_type FSD2;
268282extern const device_type CSD1;
269283extern const device_type C1541_DOLPHIN_DOS;
trunk/src/emu/bus/cbmiec/cbmiec.c
r245643r245644
501501   SLOT_INTERFACE("c1541", C1541)
502502   SLOT_INTERFACE("c1541c", C1541C)
503503   SLOT_INTERFACE("c1541ii", C1541II)
504   SLOT_INTERFACE("fsd1", FSD1)
504505   SLOT_INTERFACE("fsd2", FSD2)
505506   SLOT_INTERFACE("csd1", CSD1)
506507   SLOT_INTERFACE("c1541dd", C1541_DOLPHIN_DOS)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team