summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-12-02 16:41:25 -0500
committer GitHub <noreply@github.com>2017-12-02 16:41:25 -0500
commit06f39ea31007ee0ff01115eef29a2a7bca827e1f (patch)
tree497aa8ba130f6697f3107efc1ad8cf588a904b48
parent377a83bf8a04246fb8035cd5e27a77a8218b742c (diff)
parentfd9ce72783df0361efee7d48906d70f2d3e3390a (diff)
Merge pull request #2872 from felipesanches/cp450
fixing/improving metadata on CoCo FDCs: CP-450 and CD-6809
-rw-r--r--src/devices/bus/coco/coco_fdc.cpp23
-rw-r--r--src/devices/bus/coco/coco_fdc.h2
-rw-r--r--src/mame/drivers/coco12.cpp4
3 files changed, 17 insertions, 12 deletions
diff --git a/src/devices/bus/coco/coco_fdc.cpp b/src/devices/bus/coco/coco_fdc.cpp
index 64268c8b17b..01f91976db2 100644
--- a/src/devices/bus/coco/coco_fdc.cpp
+++ b/src/devices/bus/coco/coco_fdc.cpp
@@ -494,22 +494,27 @@ namespace
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_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
namespace
{
- class cp400_fdc_device : public coco_fdc_device_base
+ class cp450_fdc_device : public coco_fdc_device_base
{
public:
// construction/destruction
- cp400_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)
+ cp450_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+ : coco_fdc_device_base(mconfig, CP450_FDC, tag, owner, clock)
{
}
@@ -517,12 +522,12 @@ namespace
// optional information overrides
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)
@@ -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)")
diff --git a/src/devices/bus/coco/coco_fdc.h b/src/devices/bus/coco/coco_fdc.h
index 11343ec2610..7ca2ca9e6fe 100644
--- a/src/devices/bus/coco/coco_fdc.h
+++ b/src/devices/bus/coco/coco_fdc.h
@@ -64,7 +64,7 @@ private:
extern const device_type COCO_FDC;
extern const device_type COCO_FDC_V11;
extern const device_type COCO3_HDB1;
-extern const device_type CP400_FDC;
+extern const device_type CP450_FDC;
extern const device_type CD6809_FDC;
#endif // MAME_BUS_COCO_COCO_FDC_H
diff --git a/src/mame/drivers/coco12.cpp b/src/mame/drivers/coco12.cpp
index fe89a51b5fa..88141100f81 100644
--- a/src/mame/drivers/coco12.cpp
+++ b/src/mame/drivers/coco12.cpp
@@ -353,7 +353,7 @@ SLOT_INTERFACE_START( coco_cart )
SLOT_INTERFACE("fdc", COCO_FDC)
SLOT_INTERFACE("fdcv11", COCO_FDC_V11)
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("rs232", COCO_RS232)
SLOT_INTERFACE("dcmodem", COCO_DCMODEM)
@@ -530,7 +530,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( cp400, coco )
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_NMI_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_NMI))
MCFG_COCO_CARTRIDGE_HALT_CB(INPUTLINE(MAINCPU_TAG, INPUT_LINE_HALT))