summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/a2eext80col.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/a2eext80col.h')
-rw-r--r--src/mess/machine/a2eext80col.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/mess/machine/a2eext80col.h b/src/mess/machine/a2eext80col.h
new file mode 100644
index 00000000000..5fef744c60a
--- /dev/null
+++ b/src/mess/machine/a2eext80col.h
@@ -0,0 +1,45 @@
+/*********************************************************************
+
+ a2eext80col.c
+
+ Apple IIe Extended 80 Column Card
+
+*********************************************************************/
+
+#ifndef __A2EAUX_EXT80COL__
+#define __A2EAUX_EXT80COL__
+
+#include "emu.h"
+#include "machine/a2eauxslot.h"
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+class a2eaux_ext80col_device:
+ public device_t,
+ public device_a2eauxslot_card_interface
+{
+public:
+ // construction/destruction
+ a2eaux_ext80col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ a2eaux_ext80col_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
+
+protected:
+ virtual void device_start();
+ virtual void device_reset();
+
+ virtual UINT8 read_auxram(UINT16 offset);
+ virtual void write_auxram(UINT16 offset, UINT8 data);
+ virtual UINT8 *get_vram_ptr();
+ virtual bool allow_dhr() { return true; }
+
+private:
+ UINT8 m_ram[64*1024];
+};
+
+// device type definition
+extern const device_type A2EAUX_EXT80COL;
+
+#endif /* __A2EAUX_EXT80COL__ */
+