Up next

Multiprocessor Tank battle game

10 Views· 28 Jun 2019
Cornell_Uni
Cornell_Uni
5 subscribers
0

http://people.ece.cornell.edu/....land/courses/ece4760
The game we have implemented is a simple adversarial game where two players control tanks in a stage and attempt to shoot each other. Terrain is in the form of walls, which are destroyed by missiles fired by tanks. User input is implemented through the use of two keypads, which are read through polling and the use of a debounce state machine, adapted from code provided in earlier labs.


Because the Mega644 has very limited memory and frequency. We decided to move the video control and audio control out of the main processor. As we have studied, the audio controller may take more than 75% of the CPU (at 16MHz) time and 50% of the memory, and the video controller will take over 75% of CPU time and 90% of the memory. Therefore, the audio and video controller are built separately.

Show more
100% online learning from the world's best universities, organisations and Instructors

 0 Comments sort   Sort By


Up next