S60 SDL update and C2Doom as well

I just released a new version of S60 SDL. I also updated its documentation as
I have been implementing a tiny application from scratch and try now to answer
better what developer has to do (or know about Symbian) to get his application
running in S60. …and answer is “nothing”, only few development environment
files are needed (that carbide C++ will generate for you).

http://koti.mbnet.fi/mertama/sdl.html

I also updated C2Doom, there appeared to be some issues when drawing to Nokia
E90 huge display, now it is ok.

http://koti.mbnet.fi/mertama/index_new.html

I just released a new version of S60 SDL. I also updated its documentation as
I have been implementing a tiny application from scratch and try now to answer
better what developer has to do (or know about Symbian) to get his application
running in S60. …and answer is “nothing”, only few development environment
files are needed (that carbide C++ will generate for you).

I’d still like to get this integrated into the mainline SDL if it’s
reasonable to do so (and if we can do so soon, it can go into the
upcoming 1.2.12 release). Also, what is the relation of this to the
"epoc" code we’ve currently got (a better replacement? “epoc” was for an
older Symbian release?) Should both codebases exist?

–ryan.

Ryan C. Gordon <icculus icculus.org> writes:

I’d still like to get this integrated into the mainline SDL if it’s
reasonable to do so (and if we can do so soon, it can go into the
upcoming 1.2.12 release). Also, what is the relation of this to the
"epoc" code we’ve currently got (a better replacement? “epoc” was for an
older Symbian release?) Should both codebases exist?

–ryan.

I asked Sam to get S60 SDL into mainline when I initially released this new
version about (was it last fall?) half a year ago. He promised to do it when
he has time, but obviously he has been a bit hurry. It should be a 1/2 hour
task with some code comparison tool. I only needed to to fix few “#fdefs” to
get S60 emulator working (There needs to be distinction between pure windows
and emulator, unfortuantely both defines WIN32 and those are fixed to be
WIN32 && !defined(EPOC32) ) … so just put my changes in :slight_smile: My S60
SDL id full compatible with 1.2.11 release (assuming there is no bugs with my
ifdefs I havent tested it with all supported platforms, only with S60). The
original “epoc” version is really “”, It was only implemented for Nokia 9210
Doom - likely not too useful. That old version is included in my zip releases,
I just renamed it to more closely its origin. S60 SDL contains also EKA1 (S60
1.x - 2.x) version, that should get working with some amount of work, but I
havent been too interested of it. The EKA2 3.x -> is much better platform to
develop.

Ok, one issue there is GCCE compiler does not produce working code and S60 SDL
needs to be compiled with RVCT compiler that only available with commercial
version of S60 SDK. I havent look that problem too far, propably there is a
some compiler flag or something not very obvious solution that I just havent
figured out.

Markus

I asked Sam to get S60 SDL into mainline when I initially released this new
version about (was it last fall?) half a year ago. He promised to do it when
he has time, but obviously he has been a bit hurry.

I’ve put it in Bugzilla and flagged it for consideration on the 1.2.12
release:

http://bugzilla.libsdl.org/show_bug.cgi?id=433

–ryan.

I asked Sam to get S60 SDL into mainline when I initially released this new
version about (was it last fall?) half a year ago. He promised to do it when
he has time, but obviously he has been a bit hurry. It should be a 1/2 hour
task with some code comparison tool. I only needed to to fix few “#fdefs” to
get S60 emulator working (There needs to be distinction between pure windows
and emulator, unfortuantely both defines WIN32 and those are fixed to be
WIN32 && !defined(EPOC32) ) … so just put my changes in :slight_smile: My S60
SDL id full compatible with 1.2.11 release (assuming there is no bugs with my
ifdefs I havent tested it with all supported platforms, only with S60). The
original “epoc” version is really “”, It was only implemented for Nokia 9210
Doom - likely not too useful.

It’s probably best to just delete the 9210 code, then, since I figure
it’ll probably just rot like the AmigaOS code did. People that need it
can download a 1.2.11 source tarball, or whatever release it last worked
in. Sam, any objections to that?

Also, I’d like to unzip symbian.zip and put it into revision control as
individual files, so that we can track changes in individual files and
it matches the rest of the source layout…so
symbian.zip/src/audio/symbian will go into src/audio/symbian, etc, and
EABI will go under a “symbian” directory in the root of the tree.

(or something like that.)

Also, the README says c2doom is included, but I don’t see it (and it
probably shouldn’t go into SDL’s revision control anyhow).

–ryan.

It’s probably best to just delete the 9210 code, then, since I figure
it’ll probably just rot like the AmigaOS code did. People that need it
can download a 1.2.11 source tarball, or whatever release it last worked
in. Sam, any objections to that?

I’d like to loop in Hannu to see if he has any interest in updating the
9210 code or any input into the S60 version.

After doing a little research, that sounds like a good plan if we don’t
hear back from Hannu.

There’s also some interesting discussion here:
http://forums.scummvm.org/viewtopic.php?p=1059&sid=6ae477e797f613fe43fb8ce685ea3439

Also, I’d like to unzip symbian.zip and put it into revision control as
individual files, so that we can track changes in individual files and
it matches the rest of the source layout…so
symbian.zip/src/audio/symbian will go into src/audio/symbian, etc, and
EABI will go under a “symbian” directory in the root of the tree.

Sounds good. The symbian directory in the root of the tree should probably
be zipped up like the rest of the platform-specific build files.

Also, the README says c2doom is included, but I don’t see it (and it
probably shouldn’t go into SDL’s revision control anyhow).

Right.

Thanks! :slight_smile:

-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

Make it so, I had already heard from Hannu when I was working on SDL 1.3:
"Markus Mertama has rewrited SDL port for newer Symbian OS devices. I forward
this to him as I hope :slight_smile: he is interested to make a release for your SDL
baseline.

There is no point to update my old Nokia 9210 version, as those devices are
hardly not used any more."

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

There is no point to update my old Nokia 9210 version, as those devices are
hardly not used any more."

Okay, it’s gone from the 1.2 and 1.3 branch. I haven’t added the S60
stuff yet.

Thanks for doing the initial 9210 work, Hannu. I made sure to keep your
name in the credits file.

–ryan.

There is no point to update my old Nokia 9210 version, as those devices
are
hardly not used any more."

Okay, it’s gone from the 1.2 and 1.3 branch. I haven’t added the S60
stuff yet.

Thanks for doing the initial 9210 work, Hannu. I made sure to keep your
name in the credits file.

–ryan.

Thanks for the compliments! For me it is ok to leave 9210 port out now.

–> Hannu

Just an update:

The S60 port is in the Subversion 1.2 branch, but I need to get updated
project files for it.

Markus, can you make sure the latest in Subversion still builds and send
me what’s still missing (and tell me if I broke anything).

This was the S60 commit:

http://www.libsdl.org/cgi/viewvc.cgi?view=rev&revision=3099

Thanks,
–ryan.

If you just drop attached zip file into SDL directory it should be then ok.

I have done so, thank you. When you get a moment, I’d appreciate it if
you could make sure the latest in Subversion definitely works.

This is definitely going to be included with the official 1.2.12 release
now. :slight_smile:

Thanks!

–ryan.