From 7baa80a2fb1a2818368c2cec8e7ca7c7c07f9621 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 4 Mar 2021 22:16:03 -0800 Subject: 7850 --- boot.hex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.hex b/boot.hex index af730b94..f0fe88c7 100644 --- a/boot.hex +++ b/boot.hex @@ -133,7 +133,7 @@ b4 02 # ah <- 2 # read sectors from disk # dl comes conveniently initialized at boot time with the index of the device being booted b5 00 # ch <- 0 # cylinder 0 - b6 02 # dh <- 2 # track 0 + b6 02 # dh <- 2 # track 2 b1 01 # cl <- 1 # first sector, 1-based b0 7e # al <- 126 # number of sectors to read = 2*63 # address to write sectors to = es:bx = 0x17800 @@ -147,11 +147,11 @@ b4 02 # ah <- 2 # read sectors from disk # dl comes conveniently initialized at boot time with the index of the device being booted b5 00 # ch <- 0 # cylinder 0 - b6 02 # dh <- 2 # track 0 + b6 04 # dh <- 2 # track 4 b1 01 # cl <- 1 # first sector, 1-based b0 7e # al <- 126 # number of sectors to read = 2*63 # address to write sectors to = es:bx = 0x17800 - bb 80 17 # bx <- 0x1780 [label] + bb 40 27 # bx <- 0x2740 [label] 8e c3 # es <- bx bb 00 00 # bx <- 0 cd 13 # int 13h, BIOS disk service -- cgit 1.4.1-2-gfad0