mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
Compared the output of fat.asm from nasm v0.98 and nasm v0.98.32.
Modified fat.asm to produce the same output under both versions. svn path=/trunk/; revision=2973
This commit is contained in:
parent
8e529b4411
commit
e5423f156b
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ SearchRootDirSector:
|
||||||
add di,BYTE +0x20 ; Increment DI by the size of a directory entry
|
add di,BYTE +0x20 ; Increment DI by the size of a directory entry
|
||||||
cmp di,0200h ; Compare DI to 512 (DI has offset to next dir entry, make sure we haven't gone over one sector)
|
cmp di,0200h ; Compare DI to 512 (DI has offset to next dir entry, make sure we haven't gone over one sector)
|
||||||
jc SearchRootDirSector ; If DI is less than 512 loop again
|
jc SearchRootDirSector ; If DI is less than 512 loop again
|
||||||
jmp LoadRootDirSector ; Didn't find FREELDR.SYS in this directory sector, try again
|
jmp short LoadRootDirSector ; Didn't find FREELDR.SYS in this directory sector, try again
|
||||||
|
|
||||||
FoundFreeLoader:
|
FoundFreeLoader:
|
||||||
; We found freeldr.sys on the disk
|
; We found freeldr.sys on the disk
|
||||||
|
@ -258,7 +258,7 @@ BadBoot:
|
||||||
mov si,msgAnyKey ; Press any key message
|
mov si,msgAnyKey ; Press any key message
|
||||||
call PutChars ; Display it
|
call PutChars ; Display it
|
||||||
|
|
||||||
jmp Reboot
|
jmp short Reboot
|
||||||
|
|
||||||
; Reads logical sectors into [ES:BX]
|
; Reads logical sectors into [ES:BX]
|
||||||
; DX:AX has logical sector number to read
|
; DX:AX has logical sector number to read
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue