Hi!

9-Май-2004 16:58 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:

BO> Please, if you send a patch, state the purpose.
BO> Why do you think this is necessary?

break.c: removed extraneous variable initialization.
dsk.c: optimization.
initdisk.c:
- fix: is_suspect().
- fix: nHardDisk now limited by MAX_HARD_DRIVE, not MAX_HARD_DRIVE-1.
- hardly optimized LBA_Get_Drive_Parameters() call (for example, memset()
  moved inside).
- ddt initialization moved into separate function make_ddt(), removed
  extraneous pddt pointer.
- other small optimizations.

BO> If it saves on code size, how many bytes does it save for OpenWatcom?

break.c: 4 bytes.
total over all three files: TGROUP reduced from 0E222h to 0E1D1h; HMA_TEXT
reduced from 0A66Ah yo 0A65Eh, INIT_TEXT reduced from 3BB2h to 3B71h. (Note:
fix for is_suspect() increases code).




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to