Skip to content
Archive of posts tagged porting

Generic Makefile Build Chain for Symbian OS v. 1.1

The build chain was originally made by Harry Li. I just continued the project and added support for staticlibrary linking, debugging etc. What’s new: Support for QtCreator and Nokia QtSDK. GCCE was updated into 4.x in QtSDK, and that’s now being used in new build scripts. MOTIVATION The C preprocessor can be used much better […]

Memory Mapping solution for Dynamic Recompilation in Symbian OS

The gpsp was my first emulator port with dynamic recompilation. The problem in memory mapping and dynarec isĀ  that local data in Symbian OS is too far away from the user area, where we the new memory chunk for the dynamic area was created. My first solution was the memory trampoline pattern. However I got […]

Generic Makefile Build Chain for Symbian OS v. 1.0

The build chain was originally made by Harry Li. I just continued the project and added support for static library linking, debugging etc. The 1.0 version can also build static libs, which can easily be linked from Symbian .mmp files,or Qt’s .pro files. Now we should be able to use the old already ported symbian […]

Fast image scaling with multiplier between 1-2

I made a simple scaling function for gpsp4symbian to stretch the frames into full screen. The algorithm seems to be working quite well with scaling factors between 1-2. Thanks to AnotherGuest for tips. In this example 1.3 scaling factor is used for vertical scaling and 1.5 for horizontal scaling. Fist let’s make the scaling tables. […]

gpSP: Building A Memory Trampoline

Thanks to the original gpSP creator Exophase for tips. I was really confused with BL instructions and the fact that the memory address was pointing into wrong memory area. The problem was in Symbian OS memory mappings. It’s a very common problem with dynarec and Symbian. I had pr In Symbian you can create memory […]

Generic Makefile Build Chain for Symbian OS With GCCE and MinGW

The build chain was originally made by Harry Li. I just continued the project and added support for static library linking, debugging etc. MOTIVATION The generic makefileĀ  gives you a better control of the build. You can define your own rules for each file, if you like. Therefore it’s also easier to fight against the […]

MinGW Symbian Build Chain

I saw harry Li’s blog post about generic symbian makefile, and I found it very interesting. The makefile seems to be a very good tool for porting software from other platforms into Symbian OS. The MinGW in also nice build solution, since it doesn’t modifiy existing environment, so it can be used in parallel with […]

Porting the Snes9x ASM core to S60

As you all saw the emulator is really slow and the sound is not supported because of too much frame skipping. I have been working with ASM core (written by notaz) some time now, and it’s very frustrating. Currently I have the ASM- core running on N96 with ARM9 processor, but it’s crashing with N95 […]

Compiling assembly sources in S60 project

Compiling assembly sources with different build options is not easy with Symbian OS MMP-files. You can add assembly files as normal sources, but then they will be compiled with same rules as all other files in the project, which can cause problems. My solution was to make a separate build for assembly sources. I’m building […]

Rendering frames with OpenGL ES

The OpenGL ES frameworks expect to have image size to be powers of two. Therefore we create 256×256 frame and then create our image into it as a sub frame. Here is an example of opengl es init function. And then the DeInit function. Only texture is deleted in here. The Screen surface is handled […]