copypaste

This commit is contained in:
hap 2015-03-06 22:42:38 +01:00
parent df6eaf0455
commit ec2e1b9756
2 changed files with 101 additions and 9 deletions

View File

@ -37,21 +37,21 @@ enum
// HMCS43/C/CL
const device_type HD38750 = &device_creator<hd38750_device>; // PMOS, 42 pins, 32 I/O lines, (1024+64)x10 ROM, 80x4 RAM
//const device_type HD38755 = &device_creator<hd38755_device>; // ceramic filter oscillator type
//const device_type HD44750 = &device_creator<hd44750_device>; // CMOS version
//const device_type HD44758 = &device_creator<hd44758_device>; // CMOS version, low-power
const device_type HD38755 = &device_creator<hd38755_device>; // ceramic filter oscillator type
const device_type HD44750 = &device_creator<hd44750_device>; // CMOS version
const device_type HD44758 = &device_creator<hd44758_device>; // CMOS version, low-power
// HMCS44A/C/CL
const device_type HD38800 = &device_creator<hd38800_device>; // PMOS, 42 pins, 32 I/O lines, (2048+128)x10 ROM, 160x4 RAM
//const device_type HD38805 = &device_creator<hd38805_device>; // ceramic filter oscillator type
//const device_type HD44801 = &device_creator<hd44801_device>; // CMOS version
//const device_type HD44808 = &device_creator<hd44808_device>; // CMOS version, low-power
const device_type HD38805 = &device_creator<hd38805_device>; // ceramic filter oscillator type
const device_type HD44801 = &device_creator<hd44801_device>; // CMOS version
const device_type HD44808 = &device_creator<hd44808_device>; // CMOS version, low-power
// HMCS45A/C/CL
const device_type HD38820 = &device_creator<hd38820_device>; // PMOS, 54 pins(QFP) or 64 pins(DIP), 44 I/O lines, (2048+128)x10 ROM, 160x4 RAM
//const device_type HD38825 = &device_creator<hd38825_device>; // ceramic filter oscillator type
//const device_type HD44820 = &device_creator<hd44820_device>; // CMOS version
//const device_type HD44828 = &device_creator<hd44828_device>; // CMOS version, low-power
const device_type HD38825 = &device_creator<hd38825_device>; // ceramic filter oscillator type
const device_type HD44820 = &device_creator<hd44820_device>; // CMOS version
const device_type HD44828 = &device_creator<hd44828_device>; // CMOS version, low-power
// HMCS46C/CL (no PMOS version exists)
//const device_type HD44840 = &device_creator<hd44840_device>; // 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

View File

@ -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_ */