diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-16 11:35:31 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-16 15:32:26 -0800 |
commit | 6efc1ebed7131a8cd88aafdce8eaa8ee0260d692 (patch) | |
tree | 8a919443e3a3774b95484b82d9f2d3b11ece564e /baremetal/boot.hex | |
parent | 3d6c6e5286b1ea3744db0ff32445cc2082ca5110 (diff) | |
download | mu-6efc1ebed7131a8cd88aafdce8eaa8ee0260d692.tar.gz |
7529 - baremetal: fake screen
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 |