it outputs VGA, using all of the dedicated output pins and three of the bidirectional pins, and takes player input on 5 of the dedicated input pins, it works by having a counter that counts clock cycles since boot, and outputs one pixel per clock cycle, on the first clock cycle of vsync, all game logic happens.
you're gonna need to play the game, and hook it up to a monitor with a DAC
# | Input | Output | Bidirectional |
---|---|---|---|
0 | move paddle up | red channel bit 0 | blue channel bit 0 |
1 | move paddle down | red channel bit 1 | blue channel bit 1 |
2 | move player 2 paddle up | red channel bit 2 | blue channel bit 2 |
3 | move player 2 paddle down | green channel bit 0 | |
4 | high voltage to activate player 2, low for ai | green channel bit 1 | |
5 | green channel bit 2 | ||
6 | horizontal sync signal | ||
7 | vertical sync signal |