mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
[BOOTSECTOR]
Fix a typo in a comment svn path=/trunk/; revision=52459
This commit is contained in:
parent
54d5d9924b
commit
efd8902582
|
@ -207,12 +207,12 @@ SearchRootDirSector:
|
||||||
FoundFreeLoader:
|
FoundFreeLoader:
|
||||||
// We found freeldr.sys on the disk
|
// We found freeldr.sys on the disk
|
||||||
// so we need to load the first 512
|
// so we need to load the first 512
|
||||||
// bytes of it to 0000:8000
|
// bytes of it to 0000:F800
|
||||||
// ES:DI has dir entry (ES:DI == 07E0:XXXX)
|
// ES:DI has dir entry (ES:DI == 07E0:XXXX)
|
||||||
mov ax, word ptr es:[di + HEX(1a)] // Get start cluster
|
mov ax, word ptr es:[di + HEX(1a)] // Get start cluster
|
||||||
push ax // Save start cluster
|
push ax // Save start cluster
|
||||||
push FREELDR_BASE / 16 // Put load segment on the stack and load it
|
push FREELDR_BASE / 16 // Put load segment on the stack and load it
|
||||||
pop es // Into ES so that we load the cluster at 0000:8000
|
pop es // Into ES so that we load the cluster at 0000:F800
|
||||||
call ReadCluster // Read the cluster
|
call ReadCluster // Read the cluster
|
||||||
pop ax // Restore start cluster of FreeLoader
|
pop ax // Restore start cluster of FreeLoader
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ FoundFreeLoader:
|
||||||
|
|
||||||
// Now AX has start cluster of FreeLoader and we
|
// Now AX has start cluster of FreeLoader and we
|
||||||
// have loaded the helper code in the first 512 bytes
|
// have loaded the helper code in the first 512 bytes
|
||||||
// of FreeLoader to 0000:8000. Now transfer control
|
// of FreeLoader to 0000:F800. Now transfer control
|
||||||
// to the helper code. Skip the first three bytes
|
// to the helper code. Skip the first three bytes
|
||||||
// because they contain a jump instruction to skip
|
// because they contain a jump instruction to skip
|
||||||
// over the helper code in the FreeLoader image.
|
// over the helper code in the FreeLoader image.
|
||||||
|
|
Loading…
Reference in a new issue