Skip to content

Commit 8a0767c

Browse files
committed
lesson 7, reading from disk
1 parent 972701d commit 8a0767c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

07-bootsector-disk/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,9 @@ read it.
5050
**Note: if you keep getting errors and your code seems fine, make sure that qemu
5151
is booting from the right drive and set the drive on `dl` accordingly**
5252

53-
Try the flag `-fda` for example, qemu -fda boot_sect_main.bin` and set `dl` as `0x00`
53+
The BIOS sets `dl` to the drive number before calling the bootloader. However,
54+
I found some problems with qemu then booting from the hdd.
55+
56+
Try the flag `-fda` for example, `qemu -fda boot_sect_main.bin` which will set `dl`
57+
as `0x00`, it seems to work fine then.
5458

0 commit comments

Comments
 (0)