aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-06-18 20:47:04 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-06-18 20:47:04 +0200
commit896d9adcf68270c8c1ac8070859922c69aa8f556 (patch)
treea3cc3e41c648162f41f720d9a2dfdb713508834b
parentcf01b391440fc9de43597b907acfc22dba1aa15e (diff)
Comment
-rw-r--r--eval.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.go b/eval.go
index 8b727e6..e0224d8 100644
--- a/eval.go
+++ b/eval.go
@@ -16,7 +16,7 @@ type J1 struct {
rsp int8 // 5 bit retrun stack pointer
dstack [0x20]uint16 // data stack
rstack [0x20]uint16 // return stack
- memory [0x8000]uint16 // memory
+ memory [0x8000]uint16 // 0..0x3fff main memory, 0x4000 .. 0x7fff mem-mapped i/o
}
// Reset VM