summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pla.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pla.h')
-rw-r--r--src/devices/machine/pla.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/devices/machine/pla.h b/src/devices/machine/pla.h
index 94d7a178ea6..0d3fef80cc0 100644
--- a/src/devices/machine/pla.h
+++ b/src/devices/machine/pla.h
@@ -11,9 +11,6 @@
#pragma once
-
-
-
///*************************************************************************
// INTERFACE CONFIGURATION MACROS
///*************************************************************************
@@ -52,7 +49,7 @@
GND 14 |_____________| 15 F3
*/
#define MCFG_PLS100_ADD(tag) \
- MCFG_PLA_ADD((tag), 16, 8, 48)
+ MCFG_DEVICE_ADD((tag), PLS100)
// MOS 8721 PLA
// TODO: actual number of terms is unknown
@@ -78,6 +75,7 @@ public:
// construction/destruction
pla_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pla_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
// configuration helpers
void set_num_inputs(uint32_t i) { m_inputs = i; }
@@ -125,7 +123,13 @@ private:
};
-// device type definition
+class pls100_device : public pla_device
+{
+public:
+ pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+};
+
DECLARE_DEVICE_TYPE(PLA, pla_device)
+DECLARE_DEVICE_TYPE(PLS100, pls100_device)
#endif // MAME_MACHINE_PLA_H