RE: [AD] Nokia 770 support patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


This is excellent!  

On a similar note, are there plans to get Allegro working on Windows Mobile?

-----Original Message-----
From: alleg-developers-admin@xxxxxxxxxx
[mailto:alleg-developers-admin@xxxxxxxxxx] On Behalf Of Serge
Semashko
Sent: Wednesday, March 08, 2006 12:11 PM
To: alleg-developers@xxxxxxxxxx
Subject: [AD] Nokia 770 support patch

Hello all,

The patch which is attached fixes:
* problems with image distortion in 8-bit mode (because of improper 
alignment in 'ccolconv.c' which is important for ARM cpu)
* crash in FLI playing code
* addes ENTER key as fire button to allegro demo game (as Nokia 770 does 
not have SPACE or CTRL buttons)

Also it adds ALLEGRO_ARM define for selecting conditionally compiled 
code that should be run on ARM cpu.

One more notice for anyone who would like to try allegro on Nokia 770. 
It is important to use '-march=armv5te' optimization option, otherwise 
everything is *a lot* slower. For example 'clear_to_color()' function is 
*twice* faster with this optimization enabled.

The only thing remaining is to add proper fullscreen support and allegro 
will be ready to use on Nokia 770. At least I'm not aware of
any other problems :) Also probably some functions written in ARM 
assembler would help to improve performance.

For more details see the following forum thread (unfortunately it is 
locked with no way to add a new post or edit the last one):
https://www.allegro.cc/forums/thread/561300






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/