search for: get_emul_dr

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

2002 Sep 03
0
isolinux.asm - improving spec_query_failed routine...
...--- Bart Lagerweij - http://www.nu2.nu To contact me go here: http://www.nu2.nu/contact/bart --- ;------------------------------------------------------------ ; Get first emulated drive number ; returns: ; CF=1 - not in emulation mode ; CF=0 - 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) ret...