Saanlima Forums

Support for products from Saanlima Electronics
It is currently Sat Dec 16, 2017 3:42 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Feb 12, 2015 3:38 pm 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
I have been playing with a really cool project by James Bowman called Gameduino.

Originally it was a add-on shield for an Arduino board that implemented a sprite engine and much more, while the Arduino board did all the computing and sending commands to the Gameduino shield via a SPI interface.

For more info see this link to the Gameduino page: http://excamera.com/sphinx/gameduino/ with cool pictures and a complete description of the system

To port this to Pipistrello I expanded the code by adding two more blocks so it's basically now made up of three blocks:
* Original Gameduino block (no functional changes, just some code cleanup)
* VGA-to-DVI converter to send out the display via HDMI to a DVI monitor instead of VGA
* Microblaze_mcs system running at 100 MHz with added hardware I/O modules (SPI, timer, DIO, UARTs etc.)

The Microblaze_mcs I/O system is designed to simplify the porting of the core Arduino code to this new platform.

The result is a completely self-contained system that can run most of the example sketches for Gameduino without any extra hardware, using the familiar Arduino GUI.

Links to a few bit files to show off what it can do (just download the bit file to the fpga, i.e. fpgaprog -v -f <bitfile.bit>)

256 sprites: http://www.saanlima.com/download/pipistrello-v2.0/sprites256.bit
collision: http://www.saanlima.com/download/pipistrello-v2.0/collision.bit
asteroids game: http://www.saanlima.com/download/pipistrello-v2.0/asteroids.bit (pins A3 - A6 controls the game)

Link to my version of the Arduino GUI (windows) with Microblaze support that can be used to compile and download the demo sketches (included as examples)
http://www.saanlima.com/download/pipistrello-v2.0/arduino-1.5.2-gameduino.zip

Instructions:
* Download the Arduino zip file (it's about 160 MB) to your computer (sorry, windows-only at the moment)
* Unzip to any directory
* Go to this directory and launch the Arduino GUI by clicking on the Arduino icon
* In Tools -> Board select "Microblaze_mcs with Gameduino"
* Connect the Pipistrello board to the computer, a DVI monitor and optionally a sound system
* Load one of the Gameduino examples by going to File -> Examples -> Gameduino
* Click on the Upload button. The sketch will be compiled, then merged with the base bit file and then downloaded to the Pipistrello board

Enjoy!

Magnus


Top
 Profile  
 
PostPosted: Fri Feb 13, 2015 9:28 am 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
Short video of 256 sprites:

http://www.saanlima.com/videos/sprites256.MOV


Top
 Profile  
 
PostPosted: Tue Mar 03, 2015 3:41 pm 
Offline

Joined: Tue Mar 03, 2015 3:36 pm
Posts: 2
Hello Magnus,

I would like to see this with an 68k processor,could you help me build one please?

Best Regards,Adnan.


Top
 Profile  
 
PostPosted: Tue Mar 03, 2015 5:36 pm 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
Hi Adnan,

That sounds like a fun project but right now my plate is full with other ongoing projects. What you are asking for is actually quite an undertaking and not just something that could be put together in a short time. If you want to tackle it yourself I can give you pointers to where you can find open-source code that might be useful for this project.

Is there a specific reason why you want to run it on a 68K?

Magnus


Top
 Profile  
 
PostPosted: Tue Mar 03, 2015 7:56 pm 
Offline

Joined: Tue Mar 03, 2015 3:36 pm
Posts: 2
Hi Magnus,

Thank you for your quick answer,I am a bit of an 68k fan,I want to use the www.apollo-core.com softcore,it is a very fast 68k softcore,I want to design a system specifically for demo coding and the gameduino seems quite capable at this point,maybe with some higher resolutions built in it would make an ideal demo platform.
I will certainly give it a try,what I also want is a new firmware for mod vga 32mb to toggle higher resolutions and more coulours,it is just a shame Olimex didn't put somthing together.

Best Regards,Adnan.


Top
 Profile  
 
PostPosted: Thu Feb 11, 2016 8:10 am 
Offline

Joined: Tue Jun 30, 2015 12:08 am
Posts: 7
Quote:
Link to my version of the Arduino GUI (windows) with Microblaze support that can be used to compile and download the demo sketches (included as examples)
http://www.saanlima.com/download/pipist ... eduino.zip

Hi Magnus,
Would you mind providing the ISE project stuff as well?!
Thanks.


Top
 Profile  
 
PostPosted: Fri Feb 12, 2016 10:04 am 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
It can be found here:
http://www.saanlima.com/download/pipistrello-v2.0/Pipistrello_gameduino.zip

Magnus


Top
 Profile  
 
PostPosted: Mon Feb 15, 2016 12:39 pm 
Offline

Joined: Tue Jun 30, 2015 12:08 am
Posts: 7
Magnus!
You are the man! Thank you so much for sharing it!
Long Live pipistrello!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group