On Tue, Feb 07, 2006 at 10:21:29AM +0000, Rob Kendrick wrote:
> On Mon, 2006-02-06 at 11:22 +0000, Peter Howkins wrote:
> >  In preperation for the config file work suggested by Rob, I've checked in
> > some work towards storing the running config of the emulator in a single
> > place.
> 
> I've had a quick look.  It seems it just handles command line options.
> Which it does in a quite overly-complex way.  Also, there appears to be
> no way of extending what can be stored in the configuration system at
> runtime.
> 
> Am I missing something?

Yep, I didn't explain it very well. Here's a list of things of things 
needed to impliment config.

1) A place to store config 
2) Using the values from 1) to actaully alter the behaviour of the 
emulator.

One or more of the following
3a) A config file parser.
3b) A Mac OS X GUI config tool
3c) A commandline parser
3d) A method of setting config that we haven't thought of yet.

I worked on 1) and 2) as they would be needed regardless of which method 
3) is used, and a commandline parser so I can test the code for 1) and 2).
My intention is to place all runtime values into 1) for the simplicity of 
having one place to initialise them to defaults etc.

We don't need to extend the amount of config to store at runtime as we 
don't extend the capabilities of the binary at runtime (all its 
extensions are currently #define controlled). Should we ever impliment
a runtime dynamic linking system or similar for additional code then we 
would need something more dynamic. But until that happens we're 
overspeccing a very simple problem.

Consider this Version 1.

Peter

-- 
Peter Howkins
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to