Displaying 1 result from an estimated 1 matches for "get_emul_drive_ok".
2002 Sep 03
0
isolinux.asm - improving spec_query_failed routine...
...in emulation mode
; DL - drive number for emulation
get_emul_drive:
push ax
push si
; mov [spec_packet], 13h
mov dl, 0ffh ; drive number
get_emul_drive1:
mov ax, 4b01h ; get status
mov [spec_packet], 0
call int13
; Bogus Dell PC's do not return carry flag correctly - ignoring it
; jnc get_emul_drive_ok
; some bogus bioses (Dell Inspiron 2500) returns packet size 0xff when
failed
; Dell Dimension XPsT returns packet size 0x14 when OK
cmp [spec_packet], 13h ; anything between 13h and 20h
should be OK
jb get_emul_trynext
cmp [spec_packet], 20h
ja get_emul_trynext
jmp short get_emul_drive_ok...