summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/lpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/lpt.h')
-rw-r--r--src/devices/bus/isa/lpt.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/devices/bus/isa/lpt.h b/src/devices/bus/isa/lpt.h
new file mode 100644
index 00000000000..4f73b68c5d5
--- /dev/null
+++ b/src/devices/bus/isa/lpt.h
@@ -0,0 +1,50 @@
+// license:BSD-3-Clause
+// copyright-holders:Miodrag Milanovic
+/***************************************************************************
+
+ IBM-PC printer interface
+
+***************************************************************************/
+
+#ifndef __ISA_LPT_H__
+#define __ISA_LPT_H__
+
+#include "isa.h"
+
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+// ======================> isa8_lpt_device
+
+class isa8_lpt_device : public device_t,
+ public device_isa8_card_interface
+{
+public:
+ // construction/destruction
+ isa8_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // optional information overrides
+ virtual machine_config_constructor device_mconfig_additions() const;
+ virtual ioport_constructor device_input_ports() const;
+
+ bool is_primary() { return m_is_primary; }
+
+ WRITE_LINE_MEMBER(pc_cpu_line);
+
+protected:
+ // device-level overrides
+ virtual void device_start();
+ virtual void device_reset();
+
+private:
+
+ // internal state
+ bool m_is_primary;
+};
+
+// device type definition
+extern const device_type ISA8_LPT;
+
+#endif /* __ISA_LPT_H__ */