summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/c33/c33common.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2024-01-23 09:21:30 +1100
committer Vas Crabb <vas@vastheman.com>2024-01-23 09:21:30 +1100
commite1874ac7860730075492ad5ff459b21b8761c0a0 (patch)
treed4381493286366a0095b444d18f87f0aeeb98a8c /src/devices/cpu/c33/c33common.h
parent379a28f801b4019b10299b0397fbb06cb22d556b (diff)
Added a skeleton Aquaplus P/ECE driver.
skeleton/aquaplus_piece.cpp: Added skeleton Aquaplus P/ECE driver with Flash and RAM mapped in the right places. cpu/c33: Added skeleton devices for C33 STD Core (S1C33000) and S1C33209/221/222. New systems marked not working ------------------------------ Aquaplus P/ECE (512 kB Flash) New clones marked not working ----------------------------- Aquaplus P/ECE (2 MB Flash)
Diffstat (limited to 'src/devices/cpu/c33/c33common.h')
-rw-r--r--src/devices/cpu/c33/c33common.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/devices/cpu/c33/c33common.h b/src/devices/cpu/c33/c33common.h
new file mode 100644
index 00000000000..4cfd1167c72
--- /dev/null
+++ b/src/devices/cpu/c33/c33common.h
@@ -0,0 +1,29 @@
+// license:BSD-3-Clause
+// copyright-holders:Vas Crabb
+/*
+ Common Epson C33 family stuff
+*/
+
+#ifndef MAME_CPU_C33_C33COMMON_H
+#define MAME_CPU_C33_C33COMMON_H
+
+#pragma once
+
+
+class c33_cpu_common
+{
+public:
+ // state indices
+ enum
+ {
+ C33_R0 = 1, C33_R1, C33_R2, C33_R3, C33_R4, C33_R5, C33_R6, C33_R7,
+ C33_R8, C33_R9, C33_R10, C33_R11, C33_R12, C33_R13, C33_R14, C33_R15,
+ C33_PSR, C33_SP,
+ C33_ALR, C33_AHR,
+ C33_LCO, C33_LSA, C33_LEA,
+ C33_SOR, C33_TTBR, C33_DP, C33_DBBR,
+ C33_USP, C33_SSP
+ };
+};
+
+#endif // MAME_CPU_C33_C33COMMON_H