Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Sya:
I'm assuming you have a DE2 board already. Typically these come with example builds. If it has an example that uses the touchscreen already, it probably has a NIOS CPU already instantiated. This pretty much is the hardware aspect of your design. Once you get the CPU and video running, you then program the game like you would do on any other CPU. If the demo is already running on linux, stick with that as the base system. If it's running more bare bones or an embedded OS like micrium, try to see if you can figure out how they are writing to the frame buffer, and using the touch input. Most likely, they'll have the hard work done for you already. Pete