aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/inst.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300/inst.h')
-rw-r--r--sim/h8300/inst.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sim/h8300/inst.h b/sim/h8300/inst.h
index ce930c3..51db285 100644
--- a/sim/h8300/inst.h
+++ b/sim/h8300/inst.h
@@ -15,7 +15,13 @@
can only happen when simulating H8/300H programs). We make no attempt
to catch overlapping addresses, wrapped addresses, etc etc. */
#define H8300_MSIZE (1<<16)
-#define H8300H_MSIZE (1<<18)
+
+/* avolkov:
+ Next 2 macros are ugly for any workstation, but while they're work.
+ Memory size MUST be configurable.
+ */
+#define H8300H_MSIZE (1<<18)
+#define H8300S_MSIZE (1<<24)
#define CSIZE 1000