summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/cpu/cp1610/cp1610.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/cpu/cp1610/cp1610.h')
-rw-r--r--trunk/src/emu/cpu/cp1610/cp1610.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/trunk/src/emu/cpu/cp1610/cp1610.h b/trunk/src/emu/cpu/cp1610/cp1610.h
new file mode 100644
index 00000000000..47246109cc8
--- /dev/null
+++ b/trunk/src/emu/cpu/cp1610/cp1610.h
@@ -0,0 +1,41 @@
+/*****************************************************************************
+ *
+ * cp1610.h
+ * Portable General Instruments CP1610 emulator interface
+ *
+ * Copyright Frank Palazzolo, 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
+ * palazzol@comcast.net
+ * - This entire notice must remain in the source code.
+ *
+ *****************************************************************************/
+
+#pragma once
+
+#ifndef __CP1610_H__
+#define __CP1610_H__
+
+enum
+{
+ CP1610_R0=1, CP1610_R1, CP1610_R2, CP1610_R3,
+ CP1610_R4, CP1610_R5, CP1610_R6, CP1610_R7
+};
+
+#define CP1610_INT_NONE 0
+#define CP1610_INT_INTRM 1 /* Maskable */
+#define CP1610_RESET INPUT_LINE_RESET /* Non-Maskable */
+#define CP1610_INT_INTR INPUT_LINE_NMI /* Non-Maskable */
+
+
+DECLARE_LEGACY_CPU_DEVICE(CP1610, cp1610);
+
+CPU_DISASSEMBLE( cp1610 );
+
+#endif /* __CP1610_H__ */