about summary refs log tree commit diff stats
path: root/101screen.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-15 20:32:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-15 20:32:26 -0700
commit3a0664e1861643fea4c864d8d48492c9227b4e69 (patch)
treee582526dc404661f2cc09a5e20727a9e0b833e0e /101screen.subx
parentbe42a9c3ec444f5ccf84c07a483d442c9967e3f6 (diff)
downloadmu-3a0664e1861643fea4c864d8d48492c9227b4e69.tar.gz
clean up magic constants
Diffstat (limited to '101screen.subx')
-rw-r--r--101screen.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/101screen.subx b/101screen.subx
index 46cee777..2aab293d 100644
--- a/101screen.subx
+++ b/101screen.subx
@@ -28,7 +28,7 @@ pixel-on-real-screen:  # x: int, y: int, color: int
     c1/shift 4/subop/left %eax 0xa/imm8
     03/add-> *(ebp+8) 0/r32/eax
     # eax += location of frame buffer
-    03/add-> *0x8128 0/r32/eax  # unsafe
+    03/add-> *Video-memory-addr 0/r32/eax
     # *eax = color
     8b/-> *(ebp+0x10) 1/r32/ecx
     88/byte<- *eax 1/r32/CL