From cac6575fe654a0a4b8b441545f77818b9c032462 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 9 Nov 2024 14:07:30 +0100 Subject: [PATCH] fixed some typos, clarified comments and fixed formatting issues --- source/Keyboard.cpp | 10 +++++----- source/NTSC_CharSet.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/Keyboard.cpp b/source/Keyboard.cpp index 8ae8378f..cb6f4a8b 100644 --- a/source/Keyboard.cpp +++ b/source/Keyboard.cpp @@ -225,10 +225,10 @@ void KeybQueueKeypress (WPARAM key, Keystroke_e bASCII) UINT model = IsCopamBase64A(GetApple2Type()) ? 2 : IS_APPLE2 ? 0 : 1; if (IsIMC2001(GetApple2Type())) { - // TODO: the IMC-2001 actually has black LEFT and RIGTH arrow keys which behave as - // on an Apple IIe, but it also has light arrow keys UP, DOWN, LEFT, RIGHT, which - // actually position the cursor on the screen, not sure how to emulate this. - // for now just doing the black LEFT and RIGHT keys + // TODO: The IMC-2001 features black LEFT and RIGHT arrow keys that function like the + // ones on an Apple IIe. Additionally, it has light-colored arrow keys UP, DOWN, LEFT, RIGHT, + // which directly position the cursor on the screen. For now just emulating the black + // arrow keys. model = 1; } BYTE n = asciicode[model][key - VK_LEFT]; // Convert to Apple arrow keycode @@ -458,7 +458,7 @@ BYTE KeybReadFlag (void) //=========================================================================== void KeybToggleCapsLock () { - if (!IS_APPLE2 ||IsIMC2001(g_Apple2Type)) + if (!IS_APPLE2 || IsIMC2001(g_Apple2Type)) { g_bCapsLock = (GetKeyState(VK_CAPITAL) & 1); GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_DISK_STATUS); diff --git a/source/NTSC_CharSet.cpp b/source/NTSC_CharSet.cpp index 9e1a5436..bd17173c 100644 --- a/source/NTSC_CharSet.cpp +++ b/source/NTSC_CharSet.cpp @@ -217,8 +217,8 @@ static void userVideoRom2K(csbits_t csbits, const BYTE* pVideoRom, const eApple2 } else if (type == A2TYPE_IMC2001) { - // for now just unconditionally negate the pattern for inverse (does - // this work for small letters too?) + // for now just unconditionally negate the pattern for inverse + // (does this work for small letters too?) n = n ^ 0xfe; } else