1
0
mirror of https://github.com/AppleWin/AppleWin.git synced 2025-01-02 04:30:00 +00:00

fixed some typos, clarified comments and fixed formatting issues

This commit is contained in:
Andreas Baumann 2024-11-09 14:07:30 +01:00
parent 9bac6ae68f
commit cac6575fe6
2 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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