about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--baremetal/ex2.hex3
-rw-r--r--baremetal/ex2.subx5
2 files changed, 7 insertions, 1 deletions
diff --git a/baremetal/ex2.hex b/baremetal/ex2.hex
index 46ff3a7a..52150b7f 100644
--- a/baremetal/ex2.hex
+++ b/baremetal/ex2.hex
@@ -9,6 +9,9 @@
 #   qemu-system-i386 disk.img
 # Or:
 #   bochs -f baremetal/boot.bochsrc  # boot.bochsrc loads disk.img
+#
+# Expected output:
+#   html/baremetal.png
 
 # main:  (address 0x8800)
 
diff --git a/baremetal/ex2.subx b/baremetal/ex2.subx
index 19fc3ba3..5f007327 100644
--- a/baremetal/ex2.subx
+++ b/baremetal/ex2.subx
@@ -6,13 +6,16 @@
 #   qemu-system-i386 disk.img
 # Or:
 #   bochs -f baremetal/boot.bochsrc  # boot.bochsrc loads disk.img
+#
+# Expected output:
+#   html/baremetal.png
 
 # main:  (address 0x8800)
 
 == code
 
 # ecx <- start of video memory
-8b/-> 0/mod/indirect 5/rm32/use-disp32 0x7f28/disp32/video-memory  1/r32/ecx
+8b/-> *0x7f28 1/r32/ecx
 
 # eax <- final pixel of video memory
 8d/copy-address *(ecx + 0x0bffff) 0/r32/eax  # 0xbffff = 1024*768 - 1