Op 28-5-2011 4:57, [email protected] schreef:
> A work in progress for testing is available at
> http://www.fdos.info/kernel/latest/
> The KERNEL.SYS file.
I'll try it out over the weekend, thank you :)
> 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.
So it does the following?
* read (fd)config.sys
* add/override parameters from Memdisk
* (put stuff in right sequence?)
* execute
Which statements can a user override? I imagine DEVICE= might be more
troublesome, unless you compare to filename and only allow parameters to
be altered (wouldn't recommend appending parameters)
e.g:
SYSLINUX.CFG: APPEND INITRD=FDBOOT.IMG
FD={SWITCHES=/F}{MENUDEFAULT=1,0}{1?DEVICE=A:\JEMMEX.EXE NOEMS FASTBOOT}
CONFIG.SYS: 1?DEVICE=A:\JEMMEXE.EXE I=B000-B7FF
> 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.
Your more complex solution seems worthwile, it's often easier to modify
the Syslinux configuration file rather than update config.sys inside of
image files.
> 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
Wonderful
thanks,
Bernd
------------------------------------------------------------------------------
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