PIOTR_CURSOR_NOTE_20261005.md
Original bytes preserved. This is a browser-readable view.
# Piotr Piatek cursor note — 2026-10-05 Source: email from Piotr Piatek to Alex, provided verbatim by Alex during Chapter 12 cursor diagnosis. > Hello, > > Please keep in mind that I only partially understand the system > routines, and Sol produces a huge amount of code that is hard to follow. > > Cursor blinking is handled within the CRTKY keyboard scanning routine > (&H0460) by periodically calling the cursor blinking routine (&H0364). > In the file "limon.s", the call to the CRTKY routine is preceded by a > separate keyboard scanning loop (LM_SCAN_AGAIN) designed to detect a BRK > key press. This loop is exited only after a key press is detected. It > doesn't call the &H0364 routine, so the cursor doesn't blink while it is > waiting for a key press. > > Proposed solutions: > 1. Get rid of this extra BRK detection loop and use the proper BRK > handler routine at address &H0DAA. Recommended! > 2. If this is not possible, include a call to procedure &H0364 within > the LM_SCAN_AGAIN loop. Also copy variable &H08D8 to variable &H08D7 at > the beginning of the LM_CRTKY routine (as in the microprocessor's ROM at > the address range &H460-&H463). Not recommended! > > Hope this helps. Best regards, Piotr ## Chapter 12 use Entity B adopted solution 1 in r007. The fallback manual blink path was not used.