About:

GNUGoS60 is a port of the FSF's GNU Go game engine to Nokia's S60 smartphone platform running on SymbianOS.

It is Free Software.

Tuesday, September 12, 2006

Writable static data in SymbianOS


One thing that the S60 3.0 SDK brings is the ability to have (partial support for) writable static data (global variables). Symbian, never ones to implement what they can push onto the 3rd party devs, finally got around to supporting what they should have had in from the beginning. Bit of a shame about all the millions of devices already sold that don't support it though, isn't it?

While it's addition means that porting software to S60 3 series devices is much easier than before, for anyone who considers the 2nd edition a viable platform, is still in for a hard time when porting any "traditional" software to SymbianOS.

Once I finish implementing the workaround for the S60 2nd edition port will be up to the same level pretty much as the 3rd edition version. Unfortunately, gnugo has of the order of 300 global variables, scattered throughout many files. Moving them all to a datastructure that I can access with Tls() has not been a fun experience let me tell you. (you'll notice the picture on the left only goes as far as the beginning of the letter "c". That's all that fits on my PC screen).

0 comments: