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-24 12:23:16 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-24 19:43:23 -0800
commit1c77be68d75d8134bea72305057eb9ce523e9748 (patch)
tree701c8a015f544550ed42050c0f60f08f2a78b746 /baremetal/101screen.subx
parent0cf7cecedc463891c236e3c81a19cd24ce6efc70 (diff)
downloadmu-1c77be68d75d8134bea72305057eb9ce523e9748.tar.gz
7558
Bochs is still broken, but before we can fix it we need to make some
room in the boot sector. So we'll spend a few commits reorganizing
things.
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..c2229a59 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-> *0x7e28 0/r32/eax  # unsafe
     # *eax = color
     8b/-> *(ebp+0x10) 1/r32/ecx
     88/byte<- *eax 1/r32/CL