Actually to compile correctly my OKF Font Engine yoy must use this compiler option in GCC: -mstructure-size-boundary=8
That means that all structures in the programa are 8 bit packed. That's not the best way.
So I have found the in source compiler options (__attribute__ ((__packed__)) for GCC...
I suspect that the SMC that doesn't work is formatted incorrectly.
You could try Slubman's firware, the one you can execute without flashing the firware. There is a format utility that can be used. Just don't forget to swap the SMCs before formatting.
Then from your PC, don't forget to copy...
At my website you can find all you need to code with the official SDK, ARM and Windows (via VC++ 6) versions.
You will even find tutorials on how to setup the SDKs, an example to test the installation, and some libraries that can be useful.
So now it's a true 16bit mode with 64K colors like 16bit mode in Windows.
Well, that means less graphic conversions between PC programs and GP2X programs.
But it's a problem for me as my font compression algorithm was optimized to 15bit (5:5:5) colors. that means that my font can be at most...
I was just wondering if the color scheme of the GP2X is the same as on the GP32.
I mean, if it's still a 16 bits colors, with 5 bits for each component and an intensity bit.
I want to port my OKF Font Engine to SDL and need this info to optimize the rendering.
I hope squidge or any other with...
You can also code with the oficial SDK that has Windows implementation of the libraries, specially designed for VC++ 6.
You can find a tutorial to setup the SDK here: http://www.nekanium.com/gp32/news.htm
The Windows GP32 console needs a virtual SMC to start properly.
Some GP32 programs needs external files as bitmaps or sounds that are usually located in the gp:\gpmm\<program_name> folder in the SMC.
When you program under Windows you don't have a SMC so this type of programs need a Virtual SMC...
Of course you can, that's why I always suggest to use the official SDK if you want to code with VC++. That way you have full access to the debugger of VC++, and in my oponion is one of the most valuable things. Even simple sounds works int the Windows SDK.
All my projects are coded with VC++...
I've updated the 16 bits C++ test program an now it's not just the same test program with just new makefiles, It's really a C++ program with a real class. My first C++ class completly coded only by me :).
Not a complicated class, but I'm happy anyway :).
Well it seems that all is working correctly.
Thanks to Una-i, Mr.Spiv and the others.
Now you can now code for the official SDK in C++ for ARM with GCC or Windows with VC++6. I haven’t tried with .NET but it should work.
You’ll find all you need on my...