summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/cpu/m6809/m6809.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/cpu/m6809/m6809.h')
-rw-r--r--trunk/src/emu/cpu/m6809/m6809.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/trunk/src/emu/cpu/m6809/m6809.h b/trunk/src/emu/cpu/m6809/m6809.h
new file mode 100644
index 00000000000..1b1381322f8
--- /dev/null
+++ b/trunk/src/emu/cpu/m6809/m6809.h
@@ -0,0 +1,32 @@
+/*** m6809: Portable 6809 emulator ******************************************/
+
+#pragma once
+
+#ifndef __M6809_H__
+#define __M6809_H__
+
+
+enum
+{
+ M6809_PC=1, M6809_S, M6809_CC ,M6809_A, M6809_B, M6809_U, M6809_X, M6809_Y,
+ M6809_DP
+};
+
+#define M6809_IRQ_LINE 0 /* IRQ line number */
+#define M6809_FIRQ_LINE 1 /* FIRQ line number */
+
+DECLARE_LEGACY_CPU_DEVICE(M6809, m6809);
+DECLARE_LEGACY_CPU_DEVICE(M6809E, m6809e);
+
+/* M6809e has LIC line to indicate opcode/data fetch */
+
+
+CPU_DISASSEMBLE( m6809 );
+
+typedef struct _m6809_config m6809_config;
+struct _m6809_config
+{
+ UINT8 encrypt_only_first_byte; /* encrypt only the first byte in 10 xx and 11 xx opcodes */
+};
+
+#endif /* __M6809_H__ */