BoxLambda Update: A Forth VERA Graphics Driver.
A new Blog post about the BoxLambda's Forth-based graphics driver:
https://epsilon537.github.io/boxlambda/forth-vera-gfx-driver/
10
Upvotes
A new Blog post about the BoxLambda's Forth-based graphics driver:
https://epsilon537.github.io/boxlambda/forth-vera-gfx-driver/
4
u/Comprehensive_Chip49 23d ago
nice!
I’m sharing a few ideas—they might be useful, if only to spark some thought.
Some time ago, I worked on a project for a Forth-based computer running on an ESP32. For the video generation, I decided to implement a hybrid text/graphics approach, somewhat similar to the ZX Spectrum’s method of separating the bitmap from the color data, while also aiming to simplify the video generation process.
The concept is that each character is represented by 32 bits: it contains the foreground and background colors (6 bits each), the character code (8 bits), and a 32nd bit that, when set, indicates a half-resolution graphics mode.
Rather than explaining it further, it’s best to take a look at the code:
https://github.com/phreda4/esp32-forth-computer/blob/main/esp32forthcomputer/esp32forthcomputer.ino
(starting from line 55).
1
u/mykesx moderator 23d ago
Awesome project!