
Bouncy Cat is a little VGA game. Steer the cat with a gamepad to catch the fish before the timer bar runs out, and don't touch the ball of yarn!

Inside the chip:
hvsync_generator.v counts pixels (0-799) and lines (0-524) and makes the
HSYNC and VSYNC pulses that tell the monitor when to start a new line or a
new frame. 640x480 at 60 frames per second.mover.v moves things in 4-pixel steps, once per frame. It's used twice:
for the cat and for the yarn.gamepad_pmod.v (by Pat Deegan, Apache-2.0) reads the controller.Connect a Tiny VGA PMOD to the output pins and a VGA monitor, and a Gamepad PMOD with a SNES-style controller to the input pins. Set the clock to 25.175 MHz (25 MHz also works on most monitors) and release reset.
| Button | Function |
|---|---|
| START | Start a game / pause |
| D-pad | Move the cat |
| Input | Function |
|---|---|
ui[0] |
Pause |
ui[6:4] |
Gamepad PMOD (leave these low if there's no gamepad) |
ui[7] |
Mute |
Without a gamepad you can still see the title screen, with the cat drifting around.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | pause | R1 | |
| 1 | G1 | ||
| 2 | B1 | ||
| 3 | VSYNC | ||
| 4 | gamepad latch | R0 | |
| 5 | gamepad clock | G0 | |
| 6 | gamepad data | B0 | |
| 7 | mute | HSYNC | audio out |