diff --git a/help/CommandLine.html b/help/CommandLine.html index ec9bb067..e1d97152 100644 --- a/help/CommandLine.html +++ b/help/CommandLine.html @@ -55,7 +55,7 @@ -r <number of pages>
Emulate a RamWorks III card with 1 to 127 pages (each page is 64K, giving a max of 8MB) in the auxiliary slot in an Apple //e machine.

-load-state <savestate>
- Load a save-state file
+ Load a save-state file (and auto power-on the Apple II).
NB. This takes precedent over the -d1, -d2, -d#s#, -h1, -h2, s0-7, -model and -r switches.

-f
Start in full-screen mode

@@ -138,7 +138,10 @@ -50hz
Support 50Hz(PAL) video refresh rate and PAL 1.016MHz base CPU clock.

-60hz
- Support 60Hz(NTSC) video refresh rate and NTSC 1.020MHz base CPU clock (default).
+ Support 60Hz(NTSC) video refresh rate and NTSC 1.020MHz base CPU clock (default).

+ -power-on
+ Force a power-on.
+ Use to auto power-on when not using -d1, -h1 or -load-state.

Debug arguments: diff --git a/source/Applewin.cpp b/source/Applewin.cpp index 50544668..f5f1b05c 100644 --- a/source/Applewin.cpp +++ b/source/Applewin.cpp @@ -1769,6 +1769,10 @@ static bool ProcessCmdLine(LPSTR lpCmdLine) { g_cmdLine.newVideoRefreshRate = VR_60HZ; } + else if (strcmp(lpCmdLine, "-power-on") == 0) + { + g_cmdLine.bBoot = true; + } else // unsupported { LogFileOutput("Unsupported arg: %s\n", lpCmdLine);