summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pla.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pla.cpp')
-rw-r--r--src/devices/machine/pla.cpp17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/devices/machine/pla.cpp b/src/devices/machine/pla.cpp
index a17335628f5..2b73ba36a14 100644
--- a/src/devices/machine/pla.cpp
+++ b/src/devices/machine/pla.cpp
@@ -13,13 +13,14 @@
DEFINE_DEVICE_TYPE(PLA, pla_device, "pla", "PLA")
+DEFINE_DEVICE_TYPE(PLS100, pls100_device, "pls100", "82S100-series PLA")
//-------------------------------------------------
// pla_device - constructor
//-------------------------------------------------
-pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, PLA, tag, owner, clock)
+pla_device::pla_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+ : device_t(mconfig, type, tag, owner, clock)
, m_region(*this, DEVICE_SELF)
, m_format(FMT::JEDBIN)
, m_inputs(0)
@@ -31,6 +32,18 @@ pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t
{
}
+pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+ : pla_device(mconfig, PLA, tag, owner, clock)
+{
+}
+
+pls100_device::pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+ : pla_device(mconfig, PLS100, tag, owner, clock)
+{
+ set_num_inputs(16);
+ set_num_outputs(8);
+ set_num_terms(48);
+}
//-------------------------------------------------
// device_start - device-specific startup