summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/cpu/tms7000/tms7000.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/cpu/tms7000/tms7000.h')
-rw-r--r--trunk/src/emu/cpu/tms7000/tms7000.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/trunk/src/emu/cpu/tms7000/tms7000.h b/trunk/src/emu/cpu/tms7000/tms7000.h
new file mode 100644
index 00000000000..db07f4fb36b
--- /dev/null
+++ b/trunk/src/emu/cpu/tms7000/tms7000.h
@@ -0,0 +1,56 @@
+/*****************************************************************************
+ *
+ * cpustate->h (c header file)
+ * Portable TMS7000 emulator (Texas Instruments 7000)
+ *
+ * Copyright tim lindner, all rights reserved.
+ *
+ * - This source code is released as freeware for non-commercial purposes.
+ * - You are free to use and redistribute this code in modified or
+ * unmodified form, provided you list me in the credits.
+ * - If you modify this source code, you must add a notice to each modified
+ * source file that it has been changed. If you're a nice person, you
+ * will clearly mark each change too. :)
+ * - If you wish to use this for commercial purposes, please contact me at
+ * tlindner@macmess.org
+ * - This entire notice must remain in the source code.
+ *
+ *****************************************************************************/
+
+#pragma once
+
+#ifndef __TMS7000_H__
+#define __TMS7000_H__
+
+
+enum { TMS7000_PC=1, TMS7000_SP, TMS7000_ST, TMS7000_IDLE, TMS7000_T1_CL, TMS7000_T1_PS, TMS7000_T1_DEC };
+
+enum { TMS7000_VCC, TMS7000_VSS };
+
+enum { TMS7000_NMOS, TMS7000_CMOS };
+
+enum
+{
+ TMS7000_IRQ1_LINE = 0, /* INT1 */
+ TMS7000_IRQ2_LINE, /* INT2 */
+ TMS7000_IRQ3_LINE, /* INT3 */
+ TMS7000_IRQNONE = 255
+};
+
+enum
+{
+ TMS7000_PORTA = 0,
+ TMS7000_PORTB,
+ TMS7000_PORTC,
+ TMS7000_PORTD
+};
+
+/* PUBLIC FUNCTIONS */
+extern void tms7000_A6EC1( device_t *device ); /* External event counter */
+
+DECLARE_LEGACY_CPU_DEVICE(TMS7000, tms7000);
+DECLARE_LEGACY_CPU_DEVICE(TMS7000_EXL, tms7000_exl);
+
+extern CPU_DISASSEMBLE( tms7000 );
+
+#endif /* __TMS7000_H__ */