Well, I made those changes, and I'm not getting any screen action. It's powering up, but won't display anything, so I assume the spi connection is not there. I suspect that there is a wiring/pinout issue.
In order to get the VM800C working on the arduino, I had to modify the FTDI FT_Platform.h file to switch the CS pin to 10...
But using the GD2 library, I'm assuming that the standard GD2 wiring should be correct...
OK, got all that working! Now I'm just trying to add an SD Card. I have an SD breakout on the spi bus running and reading files. I go through this normal sequence to load an image I've worked with before: The Serial.prints are for debugging.
It gets all the way to the GD.swap, and fails before it prints the "After GD.swap" debug line. And it sends a message to the Serial com that says "r=4095"
Does that message mean anything? I can't find any code in GD.cpp that looks like it would kick that back to me.
i got the same error in my serial monitor, nothing working after the GD.swap() difference is i'm using an original arduino uno with my gameduino 2.
EDIT: looked into the FT800 manual, and it seems the FT800 buffer (with a size of 0-4095) is overflowing(?), though i don't know why, i only wanted to let it add an background picture for the GUI of Pix-OS. so perhaps we can't have a background image in our OS, if this is confirmed, then a simple background color will have to do.
I'm now getting the same error as above, using a GD2 board, with a 5.0" screen. No problem getting primitive, text, etc. to work, loading images from the SD seems to work (at least the code gets past it), but then it hangs on GD.swap().
Is there a limit on SD card size, or format? Or some other little detail that I may be missing here?