summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/cpu/spc700/spc700.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/cpu/spc700/spc700.h')
-rw-r--r--trunk/src/emu/cpu/spc700/spc700.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/src/emu/cpu/spc700/spc700.h b/trunk/src/emu/cpu/spc700/spc700.h
new file mode 100644
index 00000000000..a5700a28aaf
--- /dev/null
+++ b/trunk/src/emu/cpu/spc700/spc700.h
@@ -0,0 +1,38 @@
+#pragma once
+
+#ifndef __SPC700_H__
+#define __SPC700_H__
+
+
+DECLARE_LEGACY_CPU_DEVICE(SPC700, spc700);
+
+/* ======================================================================== */
+/* ============================= Configuration ============================ */
+/* ======================================================================== */
+
+#undef uint
+#define uint unsigned int
+
+/* Turn on optimizations for SNES since it doesn't hook up the interrupt lines */
+#define SPC700_OPTIMIZE_SNES 1
+
+
+/* ======================================================================== */
+/* ============================== PROTOTYPES ============================== */
+/* ======================================================================== */
+
+enum
+{
+ SPC700_PC=1, SPC700_S, SPC700_P, SPC700_A, SPC700_X, SPC700_Y
+};
+
+#define SPC700_INT_NONE 0
+#define SPC700_INT_IRQ 1
+#define SPC700_INT_NMI 2
+
+
+/* ======================================================================== */
+/* ============================== END OF FILE ============================= */
+/* ======================================================================== */
+
+#endif /* __SPC700_H__ */