about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-09 13:45:41 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-09 13:45:41 -0800
commit952ccfc66e829f04978bb107407a1e97d49fc9e2 (patch)
treee2f6733ddbe092e0d506a77179fc17ac767e9b2a /baremetal
parent26697e649b9fab6fe714d16a0d2df487d154c189 (diff)
downloadmu-952ccfc66e829f04978bb107407a1e97d49fc9e2.tar.gz
7488
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