diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-26 19:34:21 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-26 19:38:15 -0700 |
commit | 45449a4f337427cbb13150d4cdc4391507363575 (patch) | |
tree | 09f4f0d31038d682984f2e0d25b3fde78889fad4 /071print.mu | |
parent | 81ecfebdb47b61fac29fef3db8e625d65b0640c0 (diff) | |
download | mu-45449a4f337427cbb13150d4cdc4391507363575.tar.gz |
1478
Diffstat (limited to '071print.mu')
-rw-r--r-- | 071print.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/071print.mu b/071print.mu index 267d1aca..efa009f7 100644 --- a/071print.mu +++ b/071print.mu @@ -164,14 +164,14 @@ scenario print-character-at-top-left [ scenario print-character-color [ run [ 1:address:screen <- init-fake-screen 3:literal/width, 2:literal/height - 1:address:screen <- print-character 1:address:screen, 97:literal/a, 2:literal/red + 1:address:screen <- print-character 1:address:screen, 97:literal/a, 1:literal/red 2:address:array:screen-cell <- get 1:address:screen/deref, data:offset 3:array:screen-cell <- copy 2:address:array:screen-cell/deref ] memory-should-contain [ 3 <- 6 # width*height 4 <- 97 # 'a' - 5 <- 2 # red + 5 <- 1 # red 6 <- 0 ] ] |