diff --git a/help/CommandLine.html b/help/CommandLine.html index 42bce627..0084ba2e 100644 --- a/help/CommandLine.html +++ b/help/CommandLine.html @@ -48,8 +48,10 @@ Insert a parallel printer card into slot 1.

-s2 empty
Remove the SSC card from slot 2.

+ -s2 ssc
+ Insert a SSC into slot 2.

-s3 empty
- Remove the Uthernet card from slot 3.

+ Remove any card from slot 3.

-s3 vidhd
Insert a VidHD card into slot 3.

-s5 diskii
diff --git a/source/CmdLine.cpp b/source/CmdLine.cpp index 8d93d8ca..8ac04d56 100644 --- a/source/CmdLine.cpp +++ b/source/CmdLine.cpp @@ -174,6 +174,13 @@ bool ProcessCmdLine(LPSTR lpCmdLine) else LogFileOutput("Parallel Printer card currently only supported in slot 1\n"); } + if (strcmp(lpCmdLine, "ssc") == 0) + { + if (slot == SLOT2) + g_cmdLine.slotInsert[slot] = CT_SSC; + else + LogFileOutput("SSC currently only supported in slot 2\n"); + } if (strcmp(lpCmdLine, "vidhd") == 0) { if (slot == SLOT3) diff --git a/source/Windows/AppleWin.cpp b/source/Windows/AppleWin.cpp index 08cdcf61..75f56598 100644 --- a/source/Windows/AppleWin.cpp +++ b/source/Windows/AppleWin.cpp @@ -756,6 +756,11 @@ static void RepeatInitialization(void) GetCardMgr().Insert(SLOT1, g_cmdLine.slotInsert[SLOT1]); } + if (g_cmdLine.slotInsert[SLOT2] != CT_Empty && g_cmdLine.slotInsert[SLOT2] == CT_SSC) // For now just support SSC in slot 2 + { + GetCardMgr().Insert(SLOT2, g_cmdLine.slotInsert[SLOT2]); + } + if (g_cmdLine.enableDumpToRealPrinter && GetCardMgr().IsParallelPrinterCardInstalled()) { GetCardMgr().GetParallelPrinterCard()->SetEnableDumpToRealPrinter(true);