Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: syslinux: users

Spec buffer size 13h v 13

 

 

syslinux users RSS feed   Index | Next | Previous | View Threaded


syslinux at mailinator

Feb 13, 2008, 6:44 AM

Post #1 of 2 (1064 views)
Permalink
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 [at] zytor
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.


hpa at zytor

Feb 13, 2008, 10:54 AM

Post #2 of 2 (999 views)
Permalink
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 [at] zytor
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.

syslinux users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.