This commit is contained in:
ridethepig 2022-09-21 22:15:05 +08:00
parent a0dacc4b9e
commit 274d517426
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -227,7 +227,7 @@ FuncFindFile:
mov cx, 1
call ReadSector
mov si, [bp + 4] ; ds:si -> "LOADER BIN"
mov si, [bp + 4] ; ds:si
mov di, OffsetOfSectorBuf ; es:di -> BaseOfSectorBuf:400h = BaseOfSectorBuf*10h+400h
mov dx, 10h ; 32(目录项大小) * 16(dx) = 512(BPB_BytsPerSec)