summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pofo/hpc102.h
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2016-06-15 10:55:10 +0300
committer Curt Coder <curtcoder@mail.com>2016-06-15 10:55:18 +0300
commitf945016811743c6ebf694fd399d342e1f4144d22 (patch)
treec84f9c1f574c22703da9a971e118d98e123918ea /src/devices/bus/pofo/hpc102.h
parent3316070a98f16e1f84ebf8559388c93dcd7d8a79 (diff)
pofo: Expansion port slot interface WIP. (nw)
Diffstat (limited to 'src/devices/bus/pofo/hpc102.h')
-rw-r--r--src/devices/bus/pofo/hpc102.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/devices/bus/pofo/hpc102.h b/src/devices/bus/pofo/hpc102.h
new file mode 100644
index 00000000000..0ef1d978e90
--- /dev/null
+++ b/src/devices/bus/pofo/hpc102.h
@@ -0,0 +1,58 @@
+// license:BSD-3-Clause
+// copyright-holders:Curt Coder
+/**********************************************************************
+
+ Atari Portfolio HPC-102 serial interface emulation
+
+**********************************************************************/
+
+#pragma once
+
+#ifndef __HPC102__
+#define __HPC102__
+
+#include "emu.h"
+#include "exp.h"
+#include "bus/rs232/rs232.h"
+#include "machine/ins8250.h"
+
+
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+// ======================> hpc102_t
+
+class hpc102_t : public device_t,
+ public device_portfolio_expansion_slot_interface
+{
+public:
+ // construction/destruction
+ hpc102_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // optional information overrides
+ virtual machine_config_constructor device_mconfig_additions() const override;
+
+protected:
+ // device-level overrides
+ virtual void device_start() override;
+ virtual void device_reset() override;
+
+ // device_portfolio_expansion_slot_interface overrides
+
+private:
+ required_device<ins8250_device> m_uart;
+};
+
+
+// device type definition
+extern const device_type HPC102;
+
+
+
+#endif
+/*
+
+
+*/ \ No newline at end of file