AgonConsole8 / agon-vdp

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

add “expand bitmap” buffer command #221

Closed stevesims closed 5 months ago

stevesims commented 6 months ago

allows for bitmapped data where a pixel is of 1-7 bits in length to be expanded into bytes, using a given map. the map for expansion can either be provided with the command, or as a pointer to a buffer. a pixel width optionally can be provided to indicate at what pixel width a byte alignment should occur, if required

addresses #218 via the "expand out data into RGBA2222 format" suggestion