summaryrefslogtreecommitdiff
path: root/isolinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2003-08-22 08:05:39 +0000
committerhpa <hpa>2003-08-22 08:05:39 +0000
commit4846a59ed0b70f7d307d03ae37f919021470636f (patch)
treeb445bd8eb8d992c36f4bd15507a36bf95fe9bcb1 /isolinux.asm
parentf3608bda9c86cdc8f69b661c47b14fa6898ad656 (diff)
downloadsyslinux-4846a59ed0b70f7d307d03ae37f919021470636f.tar.gz
Fix ISOLINUX directory length bugsyslinux-2.06-pre2
Diffstat (limited to 'isolinux.asm')
-rw-r--r--isolinux.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/isolinux.asm b/isolinux.asm
index 111e2796..4c24bd2c 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -33,7 +33,7 @@ my_id equ isolinux_id
FILENAME_MAX_LG2 equ 8 ; log2(Max filename size Including final null)
FILENAME_MAX equ (1 << FILENAME_MAX_LG2)
NULLFILE equ 0 ; Zero byte == null file name
-retry_count equ 6 ; How patient are we wirh the BIOS?
+retry_count equ 6 ; How patient are we with the BIOS?
%assign HIGHMEM_SLOP 128*1024 ; Avoid this much memory near the top
MAX_OPEN_LG2 equ 6 ; log2(Max number of open files)
MAX_OPEN equ (1 << MAX_OPEN_LG2)
@@ -1144,12 +1144,12 @@ searchdir_iso:
.getsome:
; Get a chunk of the directory
+ ; This relies on the fact that ISOLINUX doesn't change SI
mov si,trackbuf
TRACER 'g'
pushad
xchg bx,si
mov cx,[BufSafe]
- dec cx ; ... minus one sector
call getfssec
popad
@@ -1250,6 +1250,7 @@ allocate_file:
;
; Note: clobbers AX, CX, SI, DI; assumes DS == ES == base segment
;
+
iso_compare_names:
; First, terminate and canonicalize input filename
push di