mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Merge pull request #10 from maxkl/patch-1
Fix comment for number of sectors to read
This commit is contained in:
commit
d9eab4dbb6
@ -3,7 +3,7 @@
|
|||||||
mov sp, bp
|
mov sp, bp
|
||||||
|
|
||||||
mov bx, 0x9000 ; es:bx = 0x0000:0x9000 = 0x09000
|
mov bx, 0x9000 ; es:bx = 0x0000:0x9000 = 0x09000
|
||||||
mov dh, 2 ; read 5 sectors
|
mov dh, 2 ; read 2 sectors
|
||||||
; the bios sets 'dl' for our boot disk number
|
; the bios sets 'dl' for our boot disk number
|
||||||
; if you have trouble, use the '-fda' flag: 'qemu -fda file.bin'
|
; if you have trouble, use the '-fda' flag: 'qemu -fda file.bin'
|
||||||
call disk_load
|
call disk_load
|
||||||
|
Loading…
Reference in New Issue
Block a user