Hope all that celebrated Thanksgiving today had a good one,
and a good nap afterwords.
Took some time to make some needed lighter-weight mods
to plex86 to round it out a little, and prepare for some
good stuff soon.
-Kevin
- "Kevin P. Lawton" <[EMAIL PROTECTED]>: Thu Nov 23 21:28:30 EST 2000
Replaced C structure copy with a call to our helper function
copy_memory() in nexus-prescan.c. User reported undef'd memcpy
without this.
Rehashed plex86.c options handling. You can pass all the config
file options on the command line now. Just use -o "option line".
Make sure to quote the text of the option if it has spaces or
magic characters, as each argument is passed to the config
option parser as it where an entire line in the config file.
You can also use multiple config files, or no config files at all,
though some options have to be set to do anything useful. Options
and config files are processed in the order in which they are
passed. You can now do things like:
./plex86 -o "memory=4" -f ../conf/freedos -o "db_syntax = at&t"
./plex86 -f /tmp/conf1 -f /tmp/conf2 -o "..."
./plex86 -o "..." -o "..." -o "..."
./plex86 -f ../conf/freedos
Added intelligent error reporting for options from command line
and/or config files. Exact line and character of errors are
reported to user, along with a message.
Config file option "load-rom" now has a colon following it, and
a comma delimiting options, for example:
"load-rom: file=../bios/BIOS-plex86-2000_0817a, address=0xf0000"
Config file option "prescan_depth" was replaced by:
"prescan: depth = N, ring3 = {on,off,auto}"
The "ring3" clause is not used yet, but will ultimately modify
the behaviour of SBE on ring3 code, according to your preference:
on = always control execution of ring3 code with SBE. (current)
auto = turn off SBE intervention when conditions look reasonable.
off = always turn off SBE intervention of ring3 code.
Some other cosmetics.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/