From ec2e1b97560281c1a2471921faecab2bf96c87c5 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 6 Mar 2015 22:42:38 +0100 Subject: copypaste --- src/emu/cpu/hmcs40/hmcs40.c | 45 ++++++++++++++++++++++++------- src/emu/cpu/hmcs40/hmcs40.h | 65 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 9 deletions(-) diff --git a/src/emu/cpu/hmcs40/hmcs40.c b/src/emu/cpu/hmcs40/hmcs40.c index 43b91def161..95f679842f0 100644 --- a/src/emu/cpu/hmcs40/hmcs40.c +++ b/src/emu/cpu/hmcs40/hmcs40.c @@ -37,21 +37,21 @@ enum // HMCS43/C/CL const device_type HD38750 = &device_creator; // PMOS, 42 pins, 32 I/O lines, (1024+64)x10 ROM, 80x4 RAM -//const device_type HD38755 = &device_creator; // ceramic filter oscillator type -//const device_type HD44750 = &device_creator; // CMOS version -//const device_type HD44758 = &device_creator; // CMOS version, low-power +const device_type HD38755 = &device_creator; // ceramic filter oscillator type +const device_type HD44750 = &device_creator; // CMOS version +const device_type HD44758 = &device_creator; // CMOS version, low-power // HMCS44A/C/CL const device_type HD38800 = &device_creator; // PMOS, 42 pins, 32 I/O lines, (2048+128)x10 ROM, 160x4 RAM -//const device_type HD38805 = &device_creator; // ceramic filter oscillator type -//const device_type HD44801 = &device_creator; // CMOS version -//const device_type HD44808 = &device_creator; // CMOS version, low-power +const device_type HD38805 = &device_creator; // ceramic filter oscillator type +const device_type HD44801 = &device_creator; // CMOS version +const device_type HD44808 = &device_creator; // CMOS version, low-power // HMCS45A/C/CL const device_type HD38820 = &device_creator; // PMOS, 54 pins(QFP) or 64 pins(DIP), 44 I/O lines, (2048+128)x10 ROM, 160x4 RAM -//const device_type HD38825 = &device_creator; // ceramic filter oscillator type -//const device_type HD44820 = &device_creator; // CMOS version -//const device_type HD44828 = &device_creator; // CMOS version, low-power +const device_type HD38825 = &device_creator; // ceramic filter oscillator type +const device_type HD44820 = &device_creator; // CMOS version +const device_type HD44828 = &device_creator; // CMOS version, low-power // HMCS46C/CL (no PMOS version exists) //const device_type HD44840 = &device_creator; // CMOS, 42 pins, 32 I/O lines, 4096x10 ROM, 256x4 RAM @@ -95,6 +95,15 @@ hmcs43_cpu_device::hmcs43_cpu_device(const machine_config &mconfig, device_type hd38750_device::hd38750_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : hmcs43_cpu_device(mconfig, HD38750, "HD38750", tag, owner, clock, IS_PMOS, "hd38750") { } +hd38755_device::hd38755_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs43_cpu_device(mconfig, HD38755, "HD38755", tag, owner, clock, IS_PMOS, "hd38755") +{ } +hd44750_device::hd44750_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs43_cpu_device(mconfig, HD44750, "HD44750", tag, owner, clock, IS_CMOS, "hd44750") +{ } +hd44758_device::hd44758_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs43_cpu_device(mconfig, HD44758, "HD44758", tag, owner, clock, IS_CMOS, "hd44758") +{ } hmcs44_cpu_device::hmcs44_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_cmos, const char *shortname) @@ -104,6 +113,15 @@ hmcs44_cpu_device::hmcs44_cpu_device(const machine_config &mconfig, device_type hd38800_device::hd38800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : hmcs44_cpu_device(mconfig, HD38800, "HD38800", tag, owner, clock, IS_PMOS, "hd38800") { } +hd38805_device::hd38805_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs44_cpu_device(mconfig, HD38805, "HD38805", tag, owner, clock, IS_PMOS, "hd38805") +{ } +hd44801_device::hd44801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs44_cpu_device(mconfig, HD44801, "HD44801", tag, owner, clock, IS_CMOS, "hd44801") +{ } +hd44808_device::hd44808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs44_cpu_device(mconfig, HD44808, "HD44808", tag, owner, clock, IS_CMOS, "hd44808") +{ } hmcs45_cpu_device::hmcs45_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_cmos, const char *shortname) @@ -113,6 +131,15 @@ hmcs45_cpu_device::hmcs45_cpu_device(const machine_config &mconfig, device_type hd38820_device::hd38820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : hmcs45_cpu_device(mconfig, HD38820, "HD38820", tag, owner, clock, IS_PMOS, "hd38820") { } +hd38825_device::hd38825_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs45_cpu_device(mconfig, HD38825, "HD38825", tag, owner, clock, IS_PMOS, "hd38825") +{ } +hd44820_device::hd44820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs45_cpu_device(mconfig, HD44820, "HD44820", tag, owner, clock, IS_CMOS, "hd44820") +{ } +hd44828_device::hd44828_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : hmcs45_cpu_device(mconfig, HD44828, "HD44828", tag, owner, clock, IS_CMOS, "hd44828") +{ } // disasm diff --git a/src/emu/cpu/hmcs40/hmcs40.h b/src/emu/cpu/hmcs40/hmcs40.h index ab91211b6b6..96405e0d6a8 100644 --- a/src/emu/cpu/hmcs40/hmcs40.h +++ b/src/emu/cpu/hmcs40/hmcs40.h @@ -262,6 +262,24 @@ public: hd38750_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; +class hd38755_device : public hmcs43_cpu_device +{ +public: + hd38755_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44750_device : public hmcs43_cpu_device +{ +public: + hd44750_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44758_device : public hmcs43_cpu_device +{ +public: + hd44758_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + class hmcs44_cpu_device : public hmcs40_cpu_device { @@ -280,6 +298,24 @@ public: hd38800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; +class hd38805_device : public hmcs44_cpu_device +{ +public: + hd38805_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44801_device : public hmcs44_cpu_device +{ +public: + hd44801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44808_device : public hmcs44_cpu_device +{ +public: + hd44808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + class hmcs45_cpu_device : public hmcs40_cpu_device { @@ -298,11 +334,40 @@ public: hd38820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; +class hd38825_device : public hmcs45_cpu_device +{ +public: + hd38825_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44820_device : public hmcs45_cpu_device +{ +public: + hd44820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + +class hd44828_device : public hmcs45_cpu_device +{ +public: + hd44828_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + extern const device_type HD38750; +extern const device_type HD38755; +extern const device_type HD44750; +extern const device_type HD44758; + extern const device_type HD38800; +extern const device_type HD38805; +extern const device_type HD44801; +extern const device_type HD44808; + extern const device_type HD38820; +extern const device_type HD38825; +extern const device_type HD44820; +extern const device_type HD44828; #endif /* _HMCS40_H_ */ -- cgit v1.2.3