[syslinux] [PATCH 1/1] COMBOOT: add get config file full name

H. Peter Anvin hpa at zytor.com
Sun Nov 2 20:25:34 PST 2008


Gene Cumm wrote:
> 
> Returns the full configuration file name.  Int 22h AX 001Eh for now as
> it appears that the COMBOOT API is designed to be strictly sequential.
>  The API gets extended but only implemented (for now) for SYSLINUX in
> ldlinux.asm.  Implementation and documentation are derived from Int
> 22h AX 000Eh.
> 
> There may be a way to be more efficient (with the push/pop on either
> side of the call to open in order to preserve the current di value)
> however I'm not sure what registers are available and utilizing the
> stack would require changes in all variants.

I think we can just have 000Eh return the full configuration file name.
 The important thing, of course, is that the filename is valid.

As far as registers, it's probably easier to simply push/pop di around
the call to searchdir in getc.inc.  I have been trying to clean up the
register conventions more in the core.

	-hpa




More information about the Syslinux mailing list