Hi!

     I want just inform about progress so far with config.c. Below shown
only noticeable changes/fixes, internal changes/optimizations (like using
`enum' values for `UmbState') here not enumerated. Also, here I skip long
list of umb_init() fixes, which affect low probable (but possible!) events.

- source: (Bernd) the codepage table rewritten into a smaller layout.
- bugfix: (Bernd, Aitor) country ID for Spain set to 34 (instead 33).

- bugfix: GetBiosKey() was wrongly handles timeout==0.
- fix: GetStringArg() was uses scan(), which skips some nonwhitspaces;
  now replaced by scanword() and scanpath().
- bugfix: AlignParagraph(): "overflow" on 32-bit targets not makes zero
  value, so 0x1000 should be assigned, not added to uSegVal.
- fix: PreConfig2(): to argument of AlignParagraph() was added extra 0x0f,
  this captures extra paragraph before first MCB.
- bugfix: _CmdInstall(): "numInstallCmds > LENGTH" - should be ">=".
- bugfix: InstallExec() was call CfgFailure(), but it called after config
  file processing, when szLine buffer always contains last line/garbage.

- fix: WriteMenuLine(): blink attribute for selected line in menu now cleared.
- fix: DoConfig(): config lines in error messages now counted from 1 (not 0).
- bugfix: DoConfig(): when reading config, EOF (0x1A) was accepted as '\n'.
- fix: DoConfig(): lines with alone sequences like "?" now diagnosed.
- fix: DoConfig(): errors for unknown commands now printed only after menu.
- fix: DoConfig(): in ECHO and EECHO arguments leading spaces now preserved.
- CfgFailure(): message about error in config now same, as in MS-DOS.
- CfgFailure(): message now contains real config name (instead "CONFIG.SYS").
- fix: CfgFailure(): "^" in error messages now shows proper position.

- fix: umb_init(): ...
- bugfix: umb_init(): ...
- bugfix: umb_init(): when EMM386 joins A000 area to base memory, it updates
  0:413 BIOS variable, but umb_init() was use older value (from ram_top
  variable) when adjusts base MCB and thus destroys MCBs chain.

- all pressed before menu keys (if any, but except F5/F8), now preserved in
  keyboard buffer.
- config now parsed in 4 passes (SWITCHES=/F/N parsed before menu).
- menu now shown only if there is more than one choice.
- after menu screen now not cleared.
- Esc in menu now ignored; digit pressing not finish selection.
- when tracing, F8 now turns off tracing (also as Esc).
- removed extraneous COMMAND verb.
- added BUFFERSHIGH verb (for compatability with MS-DOS; currently dummy).
- SWITCHES=/E now handled after menu and may be asked/traced.
- (E)ECHO now executed without asking and tracing.
- DEVICEHIGH= now reloads driver into low memory without error messages
  about UMB (as in MS-DOS).




-------------------------------------------------------
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