mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
SSC: Experimental support for 6551's status bits: DCD and DSR via -dcd[-invert] and -dsr[-invert] args (#386)
This commit is contained in:
@@ -1034,6 +1034,22 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
|
||||
{
|
||||
g_bMultiMon = true;
|
||||
}
|
||||
else if (strcmp(lpCmdLine, "-dcd") == 0) // GH#386
|
||||
{
|
||||
sg_SSC.SupportDCD(true, false);
|
||||
}
|
||||
else if (strcmp(lpCmdLine, "-dcd-invert") == 0) // GH#386
|
||||
{
|
||||
sg_SSC.SupportDCD(true, true);
|
||||
}
|
||||
else if (strcmp(lpCmdLine, "-dsr") == 0) // GH#386
|
||||
{
|
||||
sg_SSC.SupportDSR(true, false);
|
||||
}
|
||||
else if (strcmp(lpCmdLine, "-dsr-invert") == 0) // GH#386
|
||||
{
|
||||
sg_SSC.SupportDSR(true, true);
|
||||
}
|
||||
else if (strcmp(lpCmdLine, "-dtr") == 0) // GH#386
|
||||
{
|
||||
sg_SSC.SupportDTR(true, false);
|
||||
|
||||
Reference in New Issue
Block a user