Dingoo New C99 Hello World sample without s2dsdk


flatmush

Member
Joined
Feb 29, 2008
Messages
132
This sample shows you how to compile C programs which directly access the frame-buffer and controls, so that you don't have to use the s2dsdk. This gives you full control of the machine so be careful, I still have things to work out but for my first day with an a320 I think it's pretty good.

If you look at the code included with all the other samples most of it is unused bloat, from other PMP's, my code is a fraction of the size and simpler to understand.

Download the sample from: http://flatmush.juliusparishy.com/a320/HelloWorld.zip
Once you run the sample it will simply change the color of the screen dependent on what buttons you press.

Any questions?

NB: This is a duplicate of the post on the Dingoo A320 Forum, however I thought it would be of interest to some folks here too.
 
Check the entry.a thread for a correct display system sample with double-buffering.
 
Here is another sample, this one loads a texture and displays it on the screen, get it here: http://flatmush.juliusparishy.com/a320/Texture.zip

The texture "test.tga" has to be located on the root of the internal drive, it has to be a 24-bit tga top-left to bottom right at the minute, since extra code would just bloat the sample.
 
Back
Top