GP32 Mr Mirko's Sdk C++ Wrapper


nihil-00

Member
Joined
Feb 9, 2003
Messages
110
Age
40
i'm trying to build a c++ library on top of mrmirko's one, progress are going well enough.
up to now, there's screen management, a class for colours (with operators sum, subtract (both the operations check that the result does not overflow), and a function to assign one or two colours to another, eventually mixing them with a certain percentage)
i'm programming also a virtual keyboard, and a gpout class to use like the cout.
maybe i will also implement a gpin for basic input.
i also included some colour constants (something like 20 colours, all in col format (you can add them, mix them with native operators, and such).

i need this lib for a scientific calculator project (soon:symplex algorithm (primal, dual), gradient method, dijkstra, ford-fulkerson, symplex over networks,frank-wolfe..)...


any suggestions/wants?
 
i'd like to see if youre c++ setup works fine.

i've got very strange errors when just porting the doublebuffer example to c++.
(the example's stability in c++ depends on wether variables are global or not?!?)
 
i use the tools downloadable from mr. mirko's site.
i didn't try (still) ads (it's on the other [broken] computer)..

however, compiling using arm-elf-g++ works fine, linking using gcc gives inheritance problems, while using g++ works, again, fine.
i will port some basic stl containers, like string, to make it work with these settings.

mail me, i will send you the package.

and..i didn't test about global or not framebuffer's pointers: i created the gp class that, once instantiated, automatically sets up all the stuff that needs to be set up, and deriving from screen, which contains as protected memebers two famebuffer pointers.
this does work good.
 
i'm working under windows.
and... i did wait until it could actually do something, so i tested that something, and it worked :)
 
Back
Top