Without testing it, (E)DR-DOS should give it 0h as environment
segment, see
https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/drbio/biosinit.asm#L519-L524
https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/drbio/biosinit.asm#L2202
A quick search revealed no means of passing a menu selection.
Greetings, Bernd
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
The address of this environment also gets written into the DOS list of
lists (INT21,52) at offset 12. The environment is part of the INITENV
segment of DRBIO.SYS, so this gets discarded after system setup. So this
should be gone before command.com is spawned, but if the INITENV is not
overwritten should still be accessible in an undefined way via the
address stored in the LOL.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel