Displaying 1 result from an estimated 1 matches for "get_emul_drive_nok".
2002 Sep 03
0
isolinux.asm - improving spec_query_failed routine...
...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
get_emul_trynext:
dec dl
cmp dl, 80h
jb get_emul_drive_nok
jmp get_emul_drive1
; cmp [spec_packet], 0
; je get_emul_trynext
; jmp get_emul_drive_ok
get_emul_drive_nok:
xor dl, dl
stc
jmp short get_emul_drive_exit
get_emul_drive_ok:
mov dl, [spec_packet+2]
clc
get_emul_drive_exit:
pop si
pop ax
ret
;--------------------------------------------...