about summary refs log tree commit diff stats
path: root/baremetal/101screen.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-27 21:16:36 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-27 21:16:36 -0800
commitca5ac5154e7a2fddb978ba14e83818498bdfb377 (patch)
treef189c7f4bdd543149635f482e9705cef075119d9 /baremetal/101screen.subx
parent2c2ba73f656b0e7f821915ba79d1d8e7c7bf4fd1 (diff)
downloadmu-ca5ac5154e7a2fddb978ba14e83818498bdfb377.tar.gz
7671
Make some room for a mouse handler.
Diffstat (limited to 'baremetal/101screen.subx')
-rw-r--r--baremetal/101screen.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/baremetal/101screen.subx b/baremetal/101screen.subx
index cac9593e..46cee777 100644
--- a/baremetal/101screen.subx
+++ b/baremetal/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-> *0x7f28 0/r32/eax  # unsafe
+    03/add-> *0x8128 0/r32/eax  # unsafe
     # *eax = color
     8b/-> *(ebp+0x10) 1/r32/ecx
     88/byte<- *eax 1/r32/CL