Races the beam! Font is pre generated and loaded into registers. 6 bit colour keeps register count low.
Hook up a VGA monitor to the outputs and provide a clock at 31.5 MHz. Connect the 6 bit colour output up with resistors to make a R2R DAC. See the circuit here: https://github.com/mattvenn/6bit-pmod-vga
R2R dac for the VGA signals
# | Input | Output | Bidirectional |
---|---|---|---|
0 | clock | hsync | |
1 | reset | vsync | |
2 | adjust hours | r0 | |
3 | adjust minutes | r1 | |
4 | adjust seconds | g0 | |
5 | g1 | ||
6 | b0 | ||
7 | b1 |