Stuart Brady wrote:
> Perhaps a "-noboot" option would be useful, to disable the 
> one-time boot

If you insert the disk the old way it'll avoid the auto-boot, so:

 -drive1 1 -disk1 "%1"

will ensure drive 1 is present as a floppy, and insert the specified disk
into it.  Though I still like the idea of -noboot as a single modifier on
the existing behaviour to avoid the boot.  The general -<blah> and -no<blah>
for bool flags (as used by MAME too) is nicer than requiring a
0/1/true/false/yes/no parameter to each one.


> -- you could then have "Boot with SimCoupe" and "Open with SimCoupe"
> commands in the file association, if you wanted to.

I like it...  I was editing the NSI to remove .cpm file association and have
added the extra lines for that.  If/when -noboot is available the
association can be changed for the simpler syntax.


> Also, on platforms that support standard output, "-help" and "-version"
> would be cool, as well as warning messages for unregonised options.

The existing OSD::DebugTrace() writes to stderr in most versions, using
OutputDebugString to write to any attached debugger (or utils like
DebugView) on Win32/WinCE.  I guess that would be fine for unrecognised
options, if you're happy for it to ignore them and continue.  For the
version/help cases it'd be better to use a MessageBox on Win32/WinCE, and
perhaps just stdout on the others?  Adding another varargs function to each
OSD.cpp would cover that in a suitable way on each.

Feel free to have a hack and send patches :-)

Si

Reply via email to