PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw 2.05 - Symbian Port Progress

Hi,

I just wanted to say that Erik and Jonas have been working hard on the Symbian Port and right now have most of the GapiDraw core ported and working on both the Nokia 7650 and the Sony Ericsson P800. We will release a public beta as soon as everything is in there and we have the DLL export + some samples finished!

If you have questions or comments on their work, please feel free to post anything in this thread... They visit the forum regularly...

One thing I guess I should mention is that much of the difficulties involved were related to getting the display to work reliably. Most of the internal code in GapiDraw compiled immediately - which is really good news for games development! In most cases you will actually be able to take your current GapiDraw project and recompile it for Symbian devices!
Hi Johan,

Symbian support! This is GREAT news! I know I'm pushing my luck, but is there a list of all the various Symbian devices that will be supported with GapiDraw 2.05?

The reason why I'm asking is that I'm about to purchase a Sony Ericsson T610, but if its not capable of coping with GapiDraw applications I might rather go for a Nokia 6800/6610/6100. It does look like the newer Nokia devices should support something like GapiDraw.

The P800 and 7650 is a little out of reach when it comes to $$$, so I was just wondering if the lower end Symbian devices might also work? It would be great to actually have a handheld device to test with besides Win32... :)
What compiler do you use for symbian?

Ta

Sean
8bit: Our aim is to support devices running Symbian OS 6.1 and 7.0, i.e. Series 60 phones and UIQ phones. Models not running Symbian will not be supported by this port.
Hello everybody!

My name is Erik Ruisniemi, and I'm one of the people involved in the Symbian project.

Mr X wrote:
What compiler do you use for symbian?

Ta

Sean


To build for the native platforms we use a toolchain consisting of a bunch of perl scripts and GCC. For emulator support Visual C++ 6.0 is required for series 60 builds and Codewarrior for UIQ builds.

For more details on the tools, check out this site

http://www.symbian.com/developer/SDKs.html


/Erik
Can global/static vars be used (for porting a mostly-C project) with Symbian Gapidraw?

My small experience of Symbian was a bit nasty - no standard C lib functions (fopen/sprintf etc), globals and statics not allowed....

But I heard there's a different type of exe/app you can build that allows these things? Not looked into it much as I don't have a Symbian device (yet)
bluescrn wrote:
Can global/static vars be used (for porting a mostly-C project) with Symbian Gapidraw?


Not without a little bit of modification. Generally, global variables are not allowed in a dll (A windowed application is also a kind of dll), but there is this thing called Thread Local Storage that you can use. Check out the section named "Global variables" at http://www.symbian.com/developer/techlib/papers/Khopera/Opera_KeithHollis.htm for details. What is not mentioned here is that there is a downside to this approach. It's not as efficient to use TLS as ordinary pointers. It takes about 20 instructions to derefence the pointer instead of the ordinary one.


My small experience of Symbian was a bit nasty - no standard C lib functions (fopen/sprintf etc), globals and statics not allowed....


There is actually a standard C library in symbian (since 5.0 i think). We are using it in the Symbian port of gapidraw and it seems to work fine.


But I heard there's a different type of exe/app you can build that allows these things? Not looked into it much as I don't have a Symbian device (yet)


Yes, that is correct. If you build an exe, you don't have these restrictions with globals.

/erik