about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
Diffstat (limited to 'baremetal')
-rw-r--r--baremetal/ex1.subx6
-rw-r--r--baremetal/ex2.subx2
2 files changed, 3 insertions, 5 deletions
diff --git a/baremetal/ex1.subx b/baremetal/ex1.subx
index 9507bad3..78bbe1ae 100644
--- a/baremetal/ex1.subx
+++ b/baremetal/ex1.subx
@@ -10,9 +10,7 @@
 # Or:
 #   bochs -f baremetal/boot.bochsrc  # boot.bochsrc loads disk.img
 
-== code
-
-$loop:
-e9/jump $loop/disp32
+main:
+  e9/jump main/disp32
 
 # vim:ft=subx
diff --git a/baremetal/ex2.subx b/baremetal/ex2.subx
index 591c1e22..9a72d883 100644
--- a/baremetal/ex2.subx
+++ b/baremetal/ex2.subx
@@ -10,7 +10,7 @@
 # Expected output:
 #   html/baremetal.png
 
-main:  # (address 0x8800)
+main:
   # ecx <- start of video memory
   8b/-> *0x7f28 1/r32/ecx