|
|
|
|
|
by Luc
337 days ago
|
|
Here's the docs for the screen device: https://benbridle.com/projects/bedrock/user-manual/screen-de... You set up a palette of 16 colours, then write 0-15 to the coordinates where you want to set a pixel, but you can also choose between an overlapping foreground and background layer (colour 0 on the foreground layer is transparent). I guess it's no more weird than some hardware designs from the 80's... |
|
In hindsight I don't think there was much advantage to the last bit being the odd one out. The code for setting individual pixels in a cell was pretty custom anyway. If I were to do it again, I'd place the color A pixel in the center.
And I do find myself working on a memory constrained device again, so perhaps I'll be giving it a go.