Hi!

     Well, I currently work on config.c. I not finish it yet (for example,
menuing code should be fixed), but below list of noticeable changes and
fixes, which I already done:

- fix: GetStringArg() was uses scan(), which skips some nonwhitspaces;
  instead it, introduced scanword() and scanpath().
- fix: AlignParagraph(): "overflow" on 32-bit targets not makes zero, so
  0x1000 should be assigned, not added to uSegVal.
- fix: _CmdInstall(): "numInstallCmds > LENGTH" - should be ">=".

- fix: removed extraneous "COMMAND" command.
- fix: when reading config file, EOF (0x1A) was accepted as '\n' character.
- fix: lines with alone sequences like "?" now not ignored (but diagnosed).
- fix: errors for unknown commands now printed only at pass 1 (after menu).
- fix: for ECHO and EECHO commands leading spaces now preserved.
- fix: DEVICEHIGH= now reloads driver into low memory without error
  messages about UMB (as in MS-DOS).
- fix: in error messages CONFIG.SYS lines now counted from 1 (not 0).
- fix: "^" in error messages now shows proper position.
- fix: CfgFailure() now says same words (about error in config), as MS-DOS.
- fix: CfgFailure() now says real config file name (instead "CONFIG.SYS").
- fix: InstallExec() was call CfgFailure(), whereas it called after
  config file processing, when szLine buffer always contains last line.

- fix: PreConfig2(): when call AlignParagraph(), added extra 0x0f, this
  captures extra paragraph before first MCB.

Also, I have two questions:

- PostConfig(): allocated space for Config.cfgFiles-8 handles, whereas
  earlier PreConfig2() allocates only 3. Bug?
- LoadDevice() uppercases command line for driver. Wrong?




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to