search for: spec_packet

Displaying 2 results from an estimated 2 matches for "spec_packet".

2002 Sep 03
0
isolinux.asm - improving spec_query_failed routine...
...o 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) returns packet size 0xff when failed ; Dell D...
2008 Feb 13
1
Spec buffer size 13h v 13
Whilst looking at the 3.61 isolinux.asm file I noticed that the code uses a spec buffer size of 13h for the initial BIOS call with the drive number passed in in DL. It then uses a spec buffer size of 13 when scanning drive numbers from FFh to 81h Line 291 is mov byte [spec_packet],13h Lines 576 to 577 are mov si,spec_packet mov byte [si],13 ; Size of buffer Is the use of 13 an error or is there some reason I don't understand ?