Displaying 1 result from an estimated 1 matches for "b98cd92".
Did you mean:
b98bda92
2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...chesector
+ pop dx
pop bx
and bx,(SECTOR_SIZE >> 2)-1
shl bx,2
@@ -1415,6 +1428,7 @@ linsector:
mov ebp,[gs:si+bx]
shl ebp,cl
add eax,ebp
+ mov dx,1
call getcachesector
pop bx
and bx,(SECTOR_SIZE >> 2)-1
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index b98cd92..9cbf428 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -1058,6 +1058,7 @@ search_dos_dir:
.scansector:
; EAX <- directory sector to scan
+ mov dx,1
call getcachesector
; GS:SI now points to this sector
@@ -1411,6 +1412,7 @@ readdir:
and eax,eax
jz .fail
.fetch_cache...