From 952ccfc66e829f04978bb107407a1e97d49fc9e2 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 9 Jan 2021 13:45:41 -0800 Subject: 7488 --- baremetal/ex1.subx | 6 ++---- baremetal/ex2.subx | 2 +- 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 -- cgit 1.4.1-2-gfad0