[syslinux] Spec buffer size 13h v 13

H. Peter Anvin hpa at zytor.com
Wed Feb 13 10:54:24 PST 2008


Bruce Robson wrote:
> 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 ?
> 

13 is a bug, 13h is correct.  This probably comes from a misreading of 
the spec, as the spec is written without highlighting hexadecimal 
numbers in any way.

	-hpa




More information about the Syslinux mailing list