AgonConsole8 / agon-vdp

Official Firmware for the Agon Console8: ESP32 VDP
MIT License
38 stars 17 forks source link

Bug: Cursor does not always flash #161

Closed stevesims closed 5 months ago

stevesims commented 7 months ago

When the text cursor is enabled, if it is positioned on-screen above an area that is not using either the current foreground or background colour then it will not be visible, and will not flash

this is because the current cursor uses canvas->swapRectangle to be drawn, which swaps the current "pen" and "brush" coloured pixels in a given area, equating to the currently selected FG and BG colours

Now that the graphics system supports EOR operations drawing a rectangle using the EOR paint mode may be a better option

stevesims commented 5 months ago

as of VDP 2.7.0, cursor is now plotted using XOR, thus fixing this issue