summaryrefslogtreecommitdiff
path: root/isolinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2002-08-13 20:36:33 +0000
committerhpa <hpa>2002-08-13 20:36:33 +0000
commit2d486c708864f841b0e19675d4dcdd3d0dd94cd0 (patch)
treef8fccde46b530a955567f6e41520a62370b9f4ab /isolinux.asm
parentabe0c119754ae9d4908983bb54fef9f9416fe747 (diff)
downloadsyslinux-2d486c708864f841b0e19675d4dcdd3d0dd94cd0.tar.gz
Fix for Toshiba laptops; ported from 1.xx branchsyslinux-2.00-pre7
Diffstat (limited to 'isolinux.asm')
-rw-r--r--isolinux.asm29
1 files changed, 0 insertions, 29 deletions
diff --git a/isolinux.asm b/isolinux.asm
index 1fd90d4b..ce2520c5 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -299,35 +299,6 @@ initial_csum: xor edi,edi
%endif
found_drive:
- ; Get drive information
- mov ah,48h
- mov dl,[DriveNo]
- mov si,drive_params
- int 13h
- jnc params_ok
-
- mov si,nosecsize_msg
- call writemsg
-
-params_ok:
- ; Check for the sector size (should be 2048, but
- ; some BIOSes apparently think we're 512-byte media)
- ;
- ; FIX: We need to check what the proper behaviour
- ; is for getlinsec when the BIOS thinks the sector
- ; size is 512!!! For now, we ignore what the BIOS
- ; says and assume it's using 2048-byte sectors
- ; anyway. This is correct for at least one BIOS
- ; with this particular pathology.
-%ifdef DEBUG_MESSAGES
- mov si,secsize_msg
- call writemsg
- mov ax,[dp_secsize]
- call writehex4
- call crlf
-%endif
-
-load_image:
; Some BIOSes apparently have limitations on the size
; that may be loaded (despite the El Torito spec being very
; clear on the fact that it must all be loaded.) Therefore,