Mailing List Archive

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 ?

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: Spec buffer size 13h v 13 [ In reply to ]
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

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.