>> 
> In addition to that, EDR-DOS seems to setup a temporary environment when 
> processing config.sys. This environment is 253 bytes excluding the 
> terminating zeros. One may even use the SET= command to set environment 
> variables in config.sys and INSTALL= to run programs directly from config.sys.
> 
> https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/drbio/genercfg.asm#L4041-4043
> 

This config.sys environment segment gets queried and cleared (pointer) by the 
EDR COMMAND.COM via the following function

https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/command/cstart.asm#L2767-L2782

It seems to construct a new environment from the temporary config.sys 
environment and looks for keys pressed on boot (I guess to do single stepping 
etc.).

https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/command/com.c#L1629-L1661



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to