(MESS) c64. Added FSD-1 disk drive ROMs. [Ray Carlsen]

This commit is contained in:
Curt Coder 2015-04-12 13:01:54 +03:00
parent cbce884666
commit 991987f325
3 changed files with 44 additions and 0 deletions

View File

@ -168,6 +168,7 @@ const device_type C1541 = &device_creator<c1541_device>;
const device_type C1541C = &device_creator<c1541c_device>;
const device_type C1541II = &device_creator<c1541ii_device>;
const device_type SX1541 = &device_creator<sx1541_device>;
const device_type FSD1 = &device_creator<fsd1_device>;
const device_type FSD2 = &device_creator<fsd2_device>;
const device_type CSD1 = &device_creator<csd1_device>;
const device_type C1541_DOLPHIN_DOS = &device_creator<c1541_dolphin_dos_device>;
@ -318,6 +319,26 @@ const rom_entry *sx1541_device::device_rom_region() const
}
//-------------------------------------------------
// ROM( fsd1 )
//-------------------------------------------------
ROM_START( fsd1 )
ROM_REGION( 0x4000, M6502_TAG, 0 )
ROM_LOAD( "fsd1.bin", 0x0000, 0x4000, CRC(57224cde) SHA1(ab16f56989b27d89babe5f89c5a8cb3da71a82f0) )
ROM_END
//-------------------------------------------------
// rom_region - device-specific ROM region
//-------------------------------------------------
const rom_entry *fsd1_device::device_rom_region() const
{
return ROM_NAME( fsd1 );
}
//-------------------------------------------------
// ROM( fsd2 )
//-------------------------------------------------
@ -1011,6 +1032,14 @@ sx1541_device::sx1541_device(const machine_config &mconfig, const char *tag, dev
: base_c1541_device(mconfig, SX1541, "SX1541", tag, owner, clock, "sx1541", __FILE__) { }
//-------------------------------------------------
// fsd1_device - constructor
//-------------------------------------------------
fsd1_device::fsd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: base_c1541_device(mconfig, FSD1, "FSD-1", tag, owner, clock, "fsd1", __FILE__) { }
//-------------------------------------------------
// fsd2_device - constructor
//-------------------------------------------------

View File

@ -171,6 +171,19 @@ public:
};
// ======================> fsd1_device
class fsd1_device : public base_c1541_device
{
public:
// construction/destruction
fsd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const;
};
// ======================> fsd2_device
class fsd2_device : public base_c1541_device
@ -264,6 +277,7 @@ extern const device_type C1541;
extern const device_type C1541C;
extern const device_type C1541II;
extern const device_type SX1541;
extern const device_type FSD1;
extern const device_type FSD2;
extern const device_type CSD1;
extern const device_type C1541_DOLPHIN_DOS;

View File

@ -501,6 +501,7 @@ SLOT_INTERFACE_START( cbm_iec_devices )
SLOT_INTERFACE("c1541", C1541)
SLOT_INTERFACE("c1541c", C1541C)
SLOT_INTERFACE("c1541ii", C1541II)
SLOT_INTERFACE("fsd1", FSD1)
SLOT_INTERFACE("fsd2", FSD2)
SLOT_INTERFACE("csd1", CSD1)
SLOT_INTERFACE("c1541dd", C1541_DOLPHIN_DOS)