uXeBoy / VGA1306

VGA1306 (VGA-out for DIY Arduboys implemented on an FPGA!)
GNU General Public License v3.0
28 stars 8 forks source link

Color Pallette #3

Open RetroNintndo opened 5 years ago

RetroNintndo commented 5 years ago

Hello,

This project is outstanding, thank you for making it possible! I was wondering if there is a way to change the color palette to white and black?

uXeBoy commented 5 years ago

Thanks @RetroNintndo - my goal with the VGA1306 hardware and software was to implement VGA output for the Arduboy, which is monochrome black and white. And so the VGA pins for Red, Green, and Blue only required a simple on / off, one or zero, to achieve monochrome black and white.

It was only after the fact, as a sort of happy accident, that I was able to use the same design to implement VGA output for the GameBoy! But because the Red, Green, and Blue pins only have a simple binary 'on or off' state, the colours available to represent the GameBoy's four shades of grey are limited to the eight colours of the 3-bit RGB palette.

I know that kitsch-bent has plans for a revised design to break out more FPGA pins and be able to use a more complex resistor network to achieve a wider colour palette / range of available 'shades'. I also have a working prototype for NTSC composite video outputting four shades of grey!

alt text

Of course, the code can be adapted to work on an existing FPGA board if it has built-in VGA hardware offering a wider palette - here's an example that I helped one user to implement:

alt text