mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-30 09:30:15 +00:00
Minor fixes:
. Debugger's '\' now fixed (view Apple's screen) . Debugger's Ctrl-~ now fixed for UK keyboard (use Ctrl-¬). So for both US & UK it's Ctrl & key to left of numerical 1
This commit is contained in:
parent
1ff5e89993
commit
4afb6c3369
@ -8886,7 +8886,8 @@ void DebuggerProcessKey( int keycode )
|
||||
bUpdateDisplay |= DebuggerProcessCommand( true ); // copy console input to console output
|
||||
bUpdateDisplay |= UPDATE_CONSOLE_DISPLAY;
|
||||
}
|
||||
else if (keycode == VK_OEM_3) // Tilde ~
|
||||
else if (( keycode == VK_OEM_3 ) || // US: Tilde ~ (key to the immediate left of numeral 1)
|
||||
( keycode == VK_OEM_8 )) // UK: Logical NOT ¬ (key to the immediate left of numeral 1)
|
||||
{
|
||||
if (KeybGetCtrlStatus())
|
||||
{
|
||||
@ -9176,7 +9177,7 @@ void DebuggerProcessKey( int keycode )
|
||||
} // switch
|
||||
}
|
||||
|
||||
if (bUpdateDisplay) // & UPDATE_BACKGROUND)
|
||||
if (bUpdateDisplay && !g_bDebuggerViewingAppleOutput) // & UPDATE_BACKGROUND)
|
||||
UpdateDisplay( bUpdateDisplay );
|
||||
}
|
||||
|
||||
@ -9210,7 +9211,7 @@ void DebuggerCursorUpdate()
|
||||
static DWORD nBeg = GetTickCount(); // timeGetTime();
|
||||
DWORD nNow = GetTickCount(); // timeGetTime();
|
||||
|
||||
if (((nNow - nBeg)) >= nUpdateInternal_ms)
|
||||
if (((nNow - nBeg) >= nUpdateInternal_ms) && !g_bDebuggerViewingAppleOutput)
|
||||
{
|
||||
nBeg = nNow;
|
||||
|
||||
@ -9232,9 +9233,7 @@ void DebuggerCursorNext()
|
||||
{
|
||||
g_bInputCursor ^= true;
|
||||
if (g_bInputCursor)
|
||||
{
|
||||
ConsoleUpdateCursor( g_aInputCursor[ g_iInputCursor ] );
|
||||
}
|
||||
else
|
||||
ConsoleUpdateCursor( 0 ); // show char under cursor
|
||||
}
|
||||
|
@ -570,7 +570,10 @@ bool SysClk_InitTimer()
|
||||
{
|
||||
g_hSemaphore = CreateSemaphore(NULL, 0, 1, NULL); // Max count = 1
|
||||
if (g_hSemaphore == NULL)
|
||||
{
|
||||
fprintf(stderr, "Error creating semaphore\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (CoCreateInstance(CLSID_SystemClock, NULL, CLSCTX_INPROC,
|
||||
IID_IReferenceClock, (LPVOID*)&g_pRefClock) != S_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user