summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74161.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74161.h')
-rw-r--r--src/devices/machine/74161.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/machine/74161.h b/src/devices/machine/74161.h
index abc702ba398..0145e08a9fb 100644
--- a/src/devices/machine/74161.h
+++ b/src/devices/machine/74161.h
@@ -82,6 +82,9 @@ public:
DECLARE_READ_LINE_MEMBER( output_r );
DECLARE_READ_LINE_MEMBER( tc_r );
+ void set_cet_pin_value(int value) { m_cetpre = value; }
+ void set_cep_pin_value(int value) { m_ceppre = value; }
+
protected:
// construction/destruction
ttl7416x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, bool synchronous_reset, uint8_t limit);
@@ -111,9 +114,12 @@ private:
uint8_t m_pclock; // pin 2
uint8_t m_p; // pins 3-6 from LSB to MSB
+ // Preset inputs
+ uint8_t m_cetpre;
+ uint8_t m_ceppre;
+
// outputs
uint8_t m_out; // pins 14-11 from LSB to MSB
- uint8_t m_tc; // pin 15
const bool m_synchronous_reset;
const uint8_t m_limit;