On Mon, May 23, 2011 at 2:50 PM, Bernd Blaauw <[email protected]> wrote: > For a Bootable CD I'd like to offer the user the choice between a few > memory/driver options (no drivers, or XMS, or XMS/EMS/UMB) > Despite commandline loadable memory drivers like JEMMEX LOAD or DEVLOAD > HIMEMX.EXE, the optimal result is gained by loading in (FD)CONFIG.SYS. > That would imply using the FreeDOS kernel menuing system, which together > with a Syslinux/Isolinux menu system (or boot choice) would be a double > choice, which I'd like to avoid completely. ...
A work in progress for testing is available at http://www.fdos.info/kernel/latest/ The KERNEL.SYS file. I still need to implement to override of CONFIG.SYS filename portion and modify it some more to avoid the prompt completely. The format currently used is to add via append FD={config command}{...}... a set of additional config.sys lines to run (regardless of if config.sys is found or not). E.g. append initrd=FDBOOT.IMG FD={SWITCHES=/F}{MENUDEFAULT=1,0}{MENU Option 1 will be automatically selected!}{1?SET MYVAR=My WeIrD Value} ignored some more stuff Basically {} is used to delineate lines, these are added after reading and processing the CONFIG.SYS file as later choices generally override earlier ones in the CONFIG file. I would appreciate some feedback if this general approach seems useful or if simpler FD=# to select choice # and/or FDCFG=MYCFG.SYS to use MYCFG.SYS instead of FDCONFIG.SYS would be preferred. Off topic - once another issue I am still tracking down regarding A:/B: switching is resolved I will tag and release an updated kernel. Thank you, Jeremy ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
