On Mon, 22 Mar 2004, Luchezar Georgiev wrote:

> > if (hd(pddt->ddt_descflags) && !(pddt->ddt_descflags & DF_CHANGELINE))
>
> Thanks! As hd(x) is #defined as ((x) & DF_FIXED), the above can be
> optimised to:
>
> if ((pddt->ddt_descflags & (DF_FIXED | DF_CHANGELINE)) == DF_FIXED)

Hmm, looks like I applied that change by accident :( As the int13/ah=16
doesn't apply to floppies...

Bart



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to