about summary refs log tree commit diff stats
path: root/boot.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-15 09:18:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-15 09:18:44 -0700
commit5a824b6e9a4b423e0210a608cb2fcb67baf83f83 (patch)
treebfe7939cb933d2a37292d3a93fbfb60b2dd2d07e /boot.subx
parente35d4f46fd6677e9c1e29fa4a51e0649bea5e1b7 (diff)
downloadmu-5a824b6e9a4b423e0210a608cb2fcb67baf83f83.tar.gz
manual labels remaining in boot.subx: keyboard + 1
Diffstat (limited to 'boot.subx')
-rw-r--r--boot.subx5
1 files changed, 2 insertions, 3 deletions
diff --git a/boot.subx b/boot.subx
index 482a1351..497a5ddb 100644
--- a/boot.subx
+++ b/boot.subx
@@ -145,9 +145,7 @@
   b4/copy-to-ah 0x4f/imm8  # VBE commands
   b0/copy-to-al 1/imm8  # get video mode info
   b9/copy-to-cx 0x0105/imm16  # mode we requested
-== data
-  bf 00 81  # di <- 0x8100 (video mode info) [label]
-== code
+  bf/copy-to-di Video-mode-info/imm16
   cd/syscall 0x10/imm8/bios-video-services
 
   ## switch to 32-bit mode
@@ -270,6 +268,7 @@ initialize_32bit_mode:
   0f 22/->cr 3/mod/direct 0/rm32/eax 4/r32/cr4
 == data
   e9 d0 16 00 00  # jump to 0x9400 [label]
+== code
 
 == boot-sector-marker 0x7dfe
 # final 2 bytes of boot sector