kernel gets bigger ! read more sectors
This commit is contained in:
parent
6aeafc622b
commit
e43e869245
2
mbr.asm
2
mbr.asm
@ -81,7 +81,7 @@ main:
|
|||||||
; http://www.ctyme.com/intr/rb-0607.htm
|
; http://www.ctyme.com/intr/rb-0607.htm
|
||||||
; Bios read first 512 bytes, read next disk sector
|
; Bios read first 512 bytes, read next disk sector
|
||||||
mov ah, 0x2 ;read sectors
|
mov ah, 0x2 ;read sectors
|
||||||
mov al, 6 ;sectors to read
|
mov al, 10 ;sectors to read
|
||||||
mov ch, 0 ;cylinder idx
|
mov ch, 0 ;cylinder idx
|
||||||
mov dh, 0 ;head idx
|
mov dh, 0 ;head idx
|
||||||
mov cl, 2 ;sector idx
|
mov cl, 2 ;sector idx
|
||||||
|
Loading…
Reference in New Issue
Block a user