Skip to content

Commit 170aa62

Browse files
authored
Fix comment for number of sectors to read
1 parent 9b8a625 commit 170aa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

07-bootsector-disk/boot_sect_main.asm

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
mov sp, bp
44

55
mov bx, 0x9000 ; es:bx = 0x0000:0x9000 = 0x09000
6-
mov dh, 2 ; read 5 sectors
6+
mov dh, 2 ; read 2 sectors
77
; the bios sets 'dl' for our boot disk number
88
; if you have trouble, use the '-fda' flag: 'qemu -fda file.bin'
99
call disk_load

0 commit comments

Comments
 (0)