diff options
Diffstat (limited to 'baremetal/boot.hex')
-rw-r--r-- | baremetal/boot.hex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/baremetal/boot.hex b/baremetal/boot.hex index 3f78ca7a..1fc316c5 100644 --- a/baremetal/boot.hex +++ b/baremetal/boot.hex @@ -58,13 +58,13 @@ # calls, so we don't need to initialize the stack. # 0e: - # load second sector from disk + # load some sectors from disk 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 00 # dh <- 0 # track 0 b1 02 # cl <- 2 # second sector, 1-based - b0 20 # al <- 32 # number of sectors to read; all sectors must be in a single track + b0 3e # al <- 62 # number of sectors to read; all sectors must be in a single track # address to write sectors to = es:bx = 0x7e00, contiguous with boot segment bb 00 00 # bx <- 0 8e c3 # es <- bx |