diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-04 22:16:03 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-04 22:16:03 -0800 |
commit | 7baa80a2fb1a2818368c2cec8e7ca7c7c07f9621 (patch) | |
tree | 2f009f379ce3b0a2c1c77557484fc447e188f9d2 | |
parent | e5ff0c39a6762ea60f8deef2f21efda8b5115e3b (diff) | |
download | mu-7baa80a2fb1a2818368c2cec8e7ca7c7c07f9621.tar.gz |
7850
-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 |