AgonConsole8 / agon-vdp

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

simplistic support for setting line thickness #154

Closed stevesims closed 7 months ago

stevesims commented 7 months ago

addresses #135

Preliminary... as this may have issues and needs some thought

This call won't work correctly with PLOT codes for lines that "omit first/last pixel", owing to how those PLOT operations are currently supported. At this time it is not clear how to support those operations correctly

stevesims commented 7 months ago

Experiments with the SDL version of BBC BASIC on macOS seem to show that PLOT codes for omitting first/last pixel just don't seem to be supported for that version of BBC BASIC

stevesims commented 7 months ago

changing screen mode resets the canvas, clearing the line width

PLOT codes that omit first pixel cuts a single pixel out of the line. it seems that vdp-gl's thick line plotting system essentially automatically omits the last pixel, so those PLOT codes are kinda meaningless