[syslinux] Read disk not working in 3.35+

Ram Yalamanchili ramyinc at gmail.com
Mon Feb 19 19:46:22 PST 2007


Thanks for the fix. I'm ok with waiting to 3.40.

Another question would be, would you want to provide a library
function which can allocate the memory in the fashion 0x19h needs it:
aligned and not crossing 64k boundaries?

I am not sure if static allocation of a variable and using it's
address will work since it might be above the 16bit address range.

eg: char sectorBuf[64*1024*2] and getting an address within it which
is aligning to 64k.

If you dont think the lib function is a good idea, what options do i
have other than using the bounce buffer?

thanks.

--
Ram

On 2/19/07, H. Peter Anvin <hpa at zytor.com> wrote:
> Well, there is a bug there anyway... I forgot that touching BP means the
> P_* macros no longer work.  This is a particularly nasty property of
> 16-bit code: one can't use [sp+XXX] but have to do [bp+XXX], which means
> using two registers to do the job of one.
>
> I have checked in a fix in git.  I don't know when I'll have a new
> release out, though; I'd like to get 3.40 out so it's probably going to
> be folded into that.
>
>         -hpa
>
>




More information about the Syslinux mailing list