aboutsummaryrefslogtreecommitdiff
path: root/core.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-02-11 16:53:19 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-02-11 16:53:19 +0100
commit63ae548ee0280d01ae8a7336460d24188a49afed (patch)
treea17586fa05e937540b1c4f0840ec504381fee771 /core.go
parent8323a6a2053e0ec9d98ede95c7c5d5820f4509f1 (diff)
fix mem comment
Diffstat (limited to 'core.go')
-rw-r--r--core.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core.go b/core.go
index ea906ed..41b4fea 100644
--- a/core.go
+++ b/core.go
@@ -21,7 +21,7 @@ type Console interface {
//
// memory: 0x2000 words (16k) addressed by byte
type Core struct {
- memory [0x2000]uint16 // 0..0x3fff main memory, 0x4000 .. 0xffff mem-mapped i/o
+ memory [0x2000]uint16 // 0..0x3fff RAM, 0x4000..0x7fff mem-mapped I/O
pc uint16 // 13 bit
st0 uint16 // top of data stack
d, r stack // data and return stacks