mirror of
https://github.com/holub/mame
synced 2025-06-09 22:33:00 +03:00
Merge pull request #2872 from felipesanches/cp450
fixing/improving metadata on CoCo FDCs: CP-450 and CD-6809
This commit is contained in:
commit
06f39ea310
@ -494,22 +494,27 @@ namespace
|
|||||||
DEFINE_DEVICE_TYPE(COCO3_HDB1, coco3_hdb1_device, "coco3_hdb1", "CoCo3 HDB-DOS")
|
DEFINE_DEVICE_TYPE(COCO3_HDB1, coco3_hdb1_device, "coco3_hdb1", "CoCo3 HDB-DOS")
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
// CP400 FDC
|
// Prológica CP-450 BASIC Disco V. 1.0 (1984)
|
||||||
|
//
|
||||||
|
// There is a photo of the CP-450 disk controller unit at:
|
||||||
|
// https://datassette.org/softwares/tandy-trs-color/cp-450-basic-disco-v-10
|
||||||
|
// http://files.datassette.org/softwares/img/wp_20141212_22_08_26_pro.jpg
|
||||||
|
//
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
ROM_START(cp400_fdc)
|
ROM_START(cp450_fdc)
|
||||||
ROM_REGION(0x4000, "eprom", ROMREGION_ERASE00)
|
ROM_REGION(0x4000, "eprom", ROMREGION_ERASE00)
|
||||||
ROM_LOAD("cp400dsk.rom", 0x0000, 0x2000, CRC(e9ad60a0) SHA1(827697fa5b755f5dc1efb054cdbbeb04e405405b))
|
ROM_LOAD("cp450_basic_disco_v1.0.rom", 0x0000, 0x2000, CRC(e9ad60a0) SHA1(827697fa5b755f5dc1efb054cdbbeb04e405405b))
|
||||||
ROM_END
|
ROM_END
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
class cp400_fdc_device : public coco_fdc_device_base
|
class cp450_fdc_device : public coco_fdc_device_base
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
cp400_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
cp450_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||||
: coco_fdc_device_base(mconfig, CP400_FDC, tag, owner, clock)
|
: coco_fdc_device_base(mconfig, CP450_FDC, tag, owner, clock)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -517,12 +522,12 @@ namespace
|
|||||||
// optional information overrides
|
// optional information overrides
|
||||||
virtual const tiny_rom_entry *device_rom_region() const override
|
virtual const tiny_rom_entry *device_rom_region() const override
|
||||||
{
|
{
|
||||||
return ROM_NAME(cp400_fdc);
|
return ROM_NAME(cp450_fdc);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_DEVICE_TYPE(CP400_FDC, cp400_fdc_device, "cp400_fdc", "CP400 FDC")
|
DEFINE_DEVICE_TYPE(CP450_FDC, cp450_fdc_device, "cp450_fdc", "Prológica CP-450 BASIC Disco V. 1.0 (1984)")
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
// Codimex CD-6809 FDC (1986)
|
// Codimex CD-6809 FDC (1986)
|
||||||
@ -556,4 +561,4 @@ namespace
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_DEVICE_TYPE(CD6809_FDC, cd6809_fdc_device, "cd6809_fdc", "CD6809 FDC")
|
DEFINE_DEVICE_TYPE(CD6809_FDC, cd6809_fdc_device, "cd6809_fdc", "Codimex CD-6809 Disk BASIC (1986)")
|
||||||
|
@ -64,7 +64,7 @@ private:
|
|||||||
extern const device_type COCO_FDC;
|
extern const device_type COCO_FDC;
|
||||||
extern const device_type COCO_FDC_V11;
|
extern const device_type COCO_FDC_V11;
|
||||||
extern const device_type COCO3_HDB1;
|
extern const device_type COCO3_HDB1;
|
||||||
extern const device_type CP400_FDC;
|
extern const device_type CP450_FDC;
|
||||||
extern const device_type CD6809_FDC;
|
extern const device_type CD6809_FDC;
|
||||||
|
|
||||||
#endif // MAME_BUS_COCO_COCO_FDC_H
|
#endif // MAME_BUS_COCO_COCO_FDC_H
|
||||||
|
@ -353,7 +353,7 @@ SLOT_INTERFACE_START( coco_cart )
|
|||||||
SLOT_INTERFACE("fdc", COCO_FDC)
|
SLOT_INTERFACE("fdc", COCO_FDC)
|
||||||
SLOT_INTERFACE("fdcv11", COCO_FDC_V11)
|
SLOT_INTERFACE("fdcv11", COCO_FDC_V11)
|
||||||
SLOT_INTERFACE("cc3hdb1", COCO3_HDB1)
|
SLOT_INTERFACE("cc3hdb1", COCO3_HDB1)
|
||||||
SLOT_INTERFACE("cp400_fdc", CP400_FDC)
|
SLOT_INTERFACE("cp450_fdc", CP450_FDC)
|
||||||
SLOT_INTERFACE("cd6809_fdc", CD6809_FDC)
|
SLOT_INTERFACE("cd6809_fdc", CD6809_FDC)
|
||||||
SLOT_INTERFACE("rs232", COCO_RS232)
|
SLOT_INTERFACE("rs232", COCO_RS232)
|
||||||
SLOT_INTERFACE("dcmodem", COCO_DCMODEM)
|
SLOT_INTERFACE("dcmodem", COCO_DCMODEM)
|
||||||
@ -530,7 +530,7 @@ MACHINE_CONFIG_END
|
|||||||
|
|
||||||
static MACHINE_CONFIG_DERIVED( cp400, coco )
|
static MACHINE_CONFIG_DERIVED( cp400, coco )
|
||||||
MCFG_COCO_CARTRIDGE_REMOVE(CARTRIDGE_TAG)
|
MCFG_COCO_CARTRIDGE_REMOVE(CARTRIDGE_TAG)
|
||||||
MCFG_COCO_CARTRIDGE_ADD(CARTRIDGE_TAG, coco_cart, "cp400_fdc")
|
MCFG_COCO_CARTRIDGE_ADD(CARTRIDGE_TAG, coco_cart, "cp450_fdc")
|
||||||
MCFG_COCO_CARTRIDGE_CART_CB(WRITELINE(coco_state, cart_w))
|
MCFG_COCO_CARTRIDGE_CART_CB(WRITELINE(coco_state, cart_w))
|
||||||
MCFG_COCO_CARTRIDGE_NMI_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_NMI))
|
MCFG_COCO_CARTRIDGE_NMI_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_NMI))
|
||||||
MCFG_COCO_CARTRIDGE_HALT_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_HALT))
|
MCFG_COCO_CARTRIDGE_HALT_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_HALT))
|
||||||
|
Loading…
Reference in New Issue
Block a user