The following patch saves almost 100 bytes in our largest function, inthndlr.c:int21_service().
And the following patch chunk for the same file saves yet another 18 bytes for Borland only (Watcom is smart and doesn't generate the dummy code).
Lucho
@@ -612,9 +606,6 @@
p = FatGetDrvData(lr.DL, &lr.AX, &lr.CX, &lr.DX);
lr.DS = FP_SEG(p);
lr.BX = FP_OFF(p);
- lr.CX = lr.CX;
- lr.DX = lr.DX;
- lr.AX = lr.AX;
}
break;
------------------------------------------------------- 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-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
