Displaying 1 result from an estimated 1 matches for "getfatsector".
2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...ry 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:
+ mov dx,1
call getcachesector
.move_current:
add si,bx ; Resume last position in sector
@@ -2025,7 +2027,11 @@ nextsector:
;
getfatsector:
add eax,[FAT] ; FAT starting address
- jmp getcachesector
+ push dx
+ mov dx,1
+ call getcachesector
+ pop dx
+ ret
; -----------------------------------------------------------------------------
; Common modules