How about two Gameduino's at once from one Propeller?
:cool:
This is made possible with a Go-Between Shield. The first Gameduino uses the standard Arduino SPI pins 9,11,12,13. The Go-Between shield reroutes the second Gameduino's SPI to pins 0,1,2,3 (or whatever you want).
@AntoineDoinel: This second Gameduino is exhibiting the same problem you had with yours. So apparently there are some variances with the manufacture of the Spartan FPGA. I've attached the example software I've used for this demo which has a GD_ASM.spin v1.3. This version swaps the OR and TEST commands in SHIFTIO_. The Gameduino's seem to like this timing better. When you get some time, could you test on yours? Also be aware that you now need to include the SPI pin configuration when starting the GD driver.
GD.begin(11,13,12,9)
Here is a zip with the latest GD_ASM.spin and a few of the demos slightly altered to allow them to run in their own cog. Start with Multi_Demo.spin.
Now that I know this is possible, I'm itching to wire up a board with FOUR Spartans and a Prop on it. Also wouldn't it be cool to see, for example, the ball bouncing from one screen to the other? It's only a matter of sofware. Imagine the possibilities.
Comments
Martin you've already done a wonderful job with the driver.
As for the performance, I think it's quite good already.
Nothing prevents THE USER from writing critical sections of the application in PASM too.
Thanks
Alessandro
(ok there's still something wrong with the borders I'll post it if I manage to fix it)
Ball demo finally at full speed by using the blit function. FTW!
GD_BoingBall.spin
Maybe the blit function should become part of the official lib?
I updated the wireframe demo archive, a "!" vs "not" mistake was reducing speed by 1/3.
:cool:
This is made possible with a Go-Between Shield. The first Gameduino uses the standard Arduino SPI pins 9,11,12,13. The Go-Between shield reroutes the second Gameduino's SPI to pins 0,1,2,3 (or whatever you want).
@AntoineDoinel: This second Gameduino is exhibiting the same problem you had with yours. So apparently there are some variances with the manufacture of the Spartan FPGA. I've attached the example software I've used for this demo which has a GD_ASM.spin v1.3. This version swaps the OR and TEST commands in SHIFTIO_. The Gameduino's seem to like this timing better. When you get some time, could you test on yours? Also be aware that you now need to include the SPI pin configuration when starting the GD driver.
Here is a zip with the latest GD_ASM.spin and a few of the demos slightly altered to allow them to run in their own cog. Start with Multi_Demo.spin.
Dual_1.1.zip
Now that I know this is possible, I'm itching to wire up a board with FOUR Spartans and a Prop on it. Also wouldn't it be cool to see, for example, the ball bouncing from one screen to the other? It's only a matter of sofware. Imagine the possibilities.
How about an Amiga ball that bounces across both screens? Treating both monitors like a single display.
OBC