search for: scansector

Displaying 1 result from an estimated 1 matches for "scansector".

2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...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: + mov dx,1 call getcachesector .move_current: add si,bx ; Resume last position in sector @@ -2025,7 +202...