Fish: Video Controller

Introduction:

The basis of this project is to create the game fish on the Atmel board. In the game fish, the big fish eat the small fish, so your job is to eat the fish smaller than you while not getting eaten by those bigger than you. You �eat� a fish by moving close enough to touch the fish, and if a larger fish gets close enough to touch you, you will be eaten. Furthermore, much like your mother told you in kindergarten, if you eat, you�ll get bigger.
Fish Video Controller
For this project I wrote the display driver and game logic in VHDL on the Altera UP1 board. I wrote the controller input decoder and the game state logic in C to be put on an Atmel board. The other components needed for this project are the display and the controller.
Display:
I have decided to attempt to generate an VGA signal to use as the display for this device. This will make it possible to play fish on any household Computer Monitor. The signal generated will have 3 bit color.
Controller:
I have decided to use a SEGA Genesis control pad due to the availability of the controller and it�s ergonomic design. The pinout is also readily available and simple to use.
Fish Video Controller
High Level Design:

The Controller communicates to the Atmel board through a 9-pin connection shown here. I connected this to Port D of the Atmel Board. The Atmel board uses this information to modify the current state of the fish you are controlling, then randomly changes the states of the other 3 fish. The controller can also send a Reset signal which will reset the Altera board. Activated by pressing the Start button.

For more detail: Fish: Video Controller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top