GP2X Newbie Question Regarding Non-sdl Usage


azherdev

Still Fresh
Joined
May 31, 2006
Messages
15
Ok, hello folks. I'm pretty new to GP2x. I have setup my Visual Studio 2005 to compile the GPE files. Now, I have made a nice small demo using SDL (the paeryn hw library, THANKS!).

Now, I am wondering how I can develop without the SDL library. I read about the minimal library but the license is only for non-commercial games. So, my question is this:

Does anyone know how to start a C++ file and set the video mode to 320x240x16 double buffer and blit the pixel on the screen? This is using no libraries such as SDL or Minimal Library. A code snippet would be appreciated. I just want to get down dirty but not so far as to go to assembly.

Thanks.
 
SDL is open source, so the best thing to do if you're trying to get rid of it is to get the code and see how SDL sets up the screen (same with the minimal lib). That way you can take all the bits you need and throw the rest away.
 
Back
Top