- Announcement about May 10th, 2018 update and your password.
P2 Invaders 2.0 - Their back!
Here's the new version of Invaders for the P2.
This time around the code design is quite a departure from the original P2-Hot version.
In this version the system uses a "sprite engine" instead of a video frame buffer.
The same also applies for the 2 * "text engines" that build the video lines on the fly.
The sprite/text engines take advantage of the "masked write" WMLONG instruction.
The video driver and sprite/text engines are all sync'd with the COGATN mechanism.
Sound is generated using a simple 4 bit resistor ladder fed by the new streamer hardware.
The "game engine" utilizes cog/lut and hub exec modes.
The cordic solver is used in some of the animation/effects code.
The code runs on all 3 test platforms that support VGA connection (P123-A7,P123-A9 and DE2-115 with add-on board).
Code only runs on P123-A9 FPGA board with 8 cogs now.
Hope you have as much fun playing the game and pulling the code apart as i did writing it.
Update 17th April 2018: Latest version for 32b FPGA image