It is currently Sun Apr 20, 2014 4:00 pm

New C99 Hello World sample without s2dsdk

View active topics

All times are UTC


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 PostPosted: Sat May 16, 2009 2:17 am   

Joined: Wed May 13, 2009 12:48 pm
Posts: 16
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.


Top
 Profile  
 PostPosted: Sat May 16, 2009 2:29 am   

Joined: Fri Apr 24, 2009 10:40 pm
Posts: 7
Good stuff! Thanks.


Top
 Profile  
 PostPosted: Sat May 16, 2009 11:13 am   

Joined: Wed May 13, 2009 12:48 pm
Posts: 16
Check the entry.a thread for a correct display system sample with double-buffering.


Top
 Profile  
 PostPosted: Sat May 16, 2009 11:16 am   
Moderator
User avatar

Joined: Thu Oct 02, 2008 8:14 pm
Posts: 119
Excellent, this should open things up for us nicely. Very GP32 feel to this :D


Top
 Profile  
 PostPosted: Sat May 16, 2009 12:15 pm   

Joined: Wed May 13, 2009 12:48 pm
Posts: 16
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.


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


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 © 2000, 2002, 2005, 2007 phpBB Group
Style originally created by Volize © 2003 • Redesigned SkyLine by MartectX © 2008