mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-16 09:27:35 +00:00
Debugger: videoinfo cmd: return feedback on success
This commit is contained in:
@@ -6814,7 +6814,7 @@ Update_t CmdVideoScannerInfo(int nArgs)
|
|||||||
{
|
{
|
||||||
if (nArgs != 1)
|
if (nArgs != 1)
|
||||||
{
|
{
|
||||||
Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
return Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -6827,9 +6827,11 @@ Update_t CmdVideoScannerInfo(int nArgs)
|
|||||||
else if (strcmp(g_aArgs[1].sArg, "apple") == 0)
|
else if (strcmp(g_aArgs[1].sArg, "apple") == 0)
|
||||||
g_videoScannerDisplayInfo.isHorzReal = false;
|
g_videoScannerDisplayInfo.isHorzReal = false;
|
||||||
else
|
else
|
||||||
Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
return Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TCHAR sText[CONSOLE_WIDTH];
|
||||||
|
ConsoleBufferPushFormat(sText, "Video-scanner display updated: %s", g_aArgs[1].sArg);
|
||||||
ConsoleBufferToDisplay();
|
ConsoleBufferToDisplay();
|
||||||
|
|
||||||
return UPDATE_ALL;
|
return UPDATE_ALL;
|
||||||
|
@@ -1407,8 +1407,8 @@ Update_t CmdHelpSpecific (int nArgs)
|
|||||||
ConsoleBufferPush(" <dec|hex> changes output to dec/hex");
|
ConsoleBufferPush(" <dec|hex> changes output to dec/hex");
|
||||||
ConsoleBufferPush(" <real|apple> alters horz value to hbl-l,visible,hbl-r or hbl-r+l,visible");
|
ConsoleBufferPush(" <real|apple> alters horz value to hbl-l,visible,hbl-r or hbl-r+l,visible");
|
||||||
{
|
{
|
||||||
char sText[CONSOLE_WIDTH];
|
char sText2[CONSOLE_WIDTH];
|
||||||
ConsolePrintFormat(sText, " %sRed%s=invisible (hbl or vbl active) / %sGreen%s=visible"
|
ConsolePrintFormat(sText2, " %sRed%s=invisible (hbl or vbl active) / %sGreen%s=visible"
|
||||||
,CHC_KEY , CHC_DEFAULT // red
|
,CHC_KEY , CHC_DEFAULT // red
|
||||||
,CHC_COMMAND, CHC_DEFAULT // green
|
,CHC_COMMAND, CHC_DEFAULT // green
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user