On May 28, 2011 4:44 AM, "Bernd Blaauw" <[email protected]> wrote:
>
> 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
...
I should have been more clear. It does not alter existing lines in the
config file, it merely appends the additional lines as though they are at
the end of the config file. The way config.sys is processed certain
commands can be duplicated and the last one is the effective result (such as
menudefault) while others such as device can be added but duplicates result
in loading the driver twice. The config file would have to be written to
expect additional lines from memdisk, such as only common lines in
config.sys and the specific device lines on memdisk line (possibly even
putting all on memdisk with no config.sys) or using the menu so all uncommon
commands in config.sys prefixed with choices 1? 2? ... and in memdisk adding
all as new choice 3?device... and then selecting this option so user not
prompted. Originally I had thought of trying as you stated but each line
is read, processed, repeat so no lines are stored in memory currently
allowing simple modification of existing lines.
Hopefully this is a little clearer. The disk image at same location has my
test files if you want to see a better example.
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