On Thu, Oct 27, 2005 at 06:09:05PM +0100, Rob Kendrick wrote: > Hi, > > Just threw this together as an idea of what we might want to do for > abstracting the configuration files out a little, such that it's up to > the front end for any given platform to store the data. >
<snip spec> The spec looks good, but does it allow for multiple configurations? I dunno if you've had a chance to use red squirrel on Windows, but that allows for the setting up of many different 'machines', eg machines with differnt OS ROMs, hardware types and hard disc locations. It's a useful feature and one that would aid testing of all the multiple variations a lot. I had thought that the simplest way to achieve this would be to add command line arguments for various options. eg the following Option Default ------ ------- --memory 4Meg --hostfs CWD/hostfs --extnrom CWD/extnrom --rom CWD/ROM and similar for st506 and floppy locations Then build a small gui app, that matches the host OS in normal apearance, that lets you choose from lists of options and lets you save complete 'machines' (set of config options). Or on linux you could just have a set of shell scripts that launched different machines, or write a program in GTK (or whatever) Here's a few advantages Splits apart the config file management from the main program. Add commandline options for the stuff that is expected for unix progs. Allows a nice gui frontend on Windows (where that is expected) Allows the choice of where to store and the format of the 'machine' config to be entirely host OS specified. It could still be the registry on windows or in the 'thingy' on Mac OS X. Doesn't require each OS to impliment extra config file functions. Backwards compatible with current operation (due to the defaults being what we currently do) Peter -- Peter Howkins [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel