[cc65-git] [cc65/cc65] 207170: Fix plus4 cgetc() returning a phantom key in bitma...
cc65 - a freeware C compiler for 6502 based systems
Brought to you by:
gpz
|
From: Bob A. <no...@gi...> - 2026-08-20 12:36:44
|
Branch: refs/heads/master Home: https://github.com/cc65/cc65 Commit: 207170d0df87088e2bd2b08a543b77222b53eae0 https://github.com/cc65/cc65/commit/207170d0df87088e2bd2b08a543b77222b53eae0 Author: Stefan Wessels <swe...@em...> Date: 2026-08-07 (Fri, 07 Aug 2026) Changed paths: M libsrc/plus4/cgetc.s Log Message: ----------- Fix plus4 cgetc() returning a phantom key in bitmap mode The bitmap-mode test added with the Plus/4 TGI driver (3bd4d05) branches past the wait loop as well as the cursor drawing, so in bitmap mode cgetc() never blocks: it calls KBDREAD with an empty buffer, and KBDREAD decrements KEY_COUNT past zero. Every later kbhit() then reports keys that were never typed. Commit: 41eda3e6475ea4bb5f035d784c0aa970c895a62b https://github.com/cc65/cc65/commit/41eda3e6475ea4bb5f035d784c0aa970c895a62b Author: Bob Andrews <mr...@us...> Date: 2026-08-20 (Thu, 20 Aug 2026) Changed paths: M libsrc/plus4/cgetc.s Log Message: ----------- Merge pull request #2978 from StewBC/plus4-cgetc-bitmap-fix Fix plus4 cgetc() returning a phantom key in bitmap mode Compare: https://github.com/cc65/cc65/compare/547d923588d8...41eda3e6475e To unsubscribe from these emails, change your notification settings at https://github.com/cc65/cc65/settings/notifications |