[syslinux] COMBOOT API: Add calls for directory functions; Implement for FAT

Gene Cumm gene.cumm at gmail.com
Wed Jan 14 12:32:10 PST 2009


On Wed, Jan 14, 2009 at 12:17 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> Gene Cumm wrote:
>>
>> Well, I'm trying it and CF keeps getting set and it seems as if it
>> runs over the end of the table without matching results.  I've tried
>> ensuring DF is unset, changing CX and even letting it return the data
>> into AL, regardless of the desired CF value.  I think I need to take a
>> better look tomorrow.
>>
>
> Double-check that ES == 0 in the context you're running.
>

Thanks for catching that.  ES had the extra segment address for the
COMBOOT/COM32 environment not syslinux.  After reading around quite a
bit I was able to find a way to work it.  Limitations on stos* forced
me to read up and use another two registers in a function, since I
need to use ES for ucs2_to_cp and to store the name (FS and BP) on two
different segments.

-Gene




More information about the Syslinux mailing list