diff options
-rw-r--r-- | boot.hex | 6 |
1 files 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 |