Porting to the Maemo5/N900

Hi, I'm 'porting' Me&My Shadow to the Maemo 5 / Nokia N900.
Maemo is debian derived Linux and N900 is ARM-Linux phone.
Maemo has every used library already, so svn-181 compiles without modifications (this is the reason I'm talking about 'porting' not porting).
I have already filed bugs to the Track (user:aapoaapo).
Issues with N900:
*Keyboard doesn't have function-keys
*Keyboard doesn't have escape
*Screen size is 800x480 (fullscreen) (menus need tuning)
*Official SDL-mixer can't handle ogg-files (Mixer can be compiled inside binary. UnOfficial mixer can be easily used. File can be converted to wav).
*Game is a little bit slow
I'm thinking how to get game faster. First profiling shows that most of the time is spent on drawing background image (that black.png).
Game::render
->ThemeBackground::draw
->ThemeBackgroundPicture::draw
->sdlBlit
------
I know some of needed modifications are not useful for upstream, but some could be.
Maemo is debian derived Linux and N900 is ARM-Linux phone.
Maemo has every used library already, so svn-181 compiles without modifications (this is the reason I'm talking about 'porting' not porting).
I have already filed bugs to the Track (user:aapoaapo).
Issues with N900:
*Keyboard doesn't have function-keys
*Keyboard doesn't have escape
*Screen size is 800x480 (fullscreen) (menus need tuning)
*Official SDL-mixer can't handle ogg-files (Mixer can be compiled inside binary. UnOfficial mixer can be easily used. File can be converted to wav).
*Game is a little bit slow
I'm thinking how to get game faster. First profiling shows that most of the time is spent on drawing background image (that black.png).
Game::render
->ThemeBackground::draw
->ThemeBackgroundPicture::draw
->sdlBlit
------
I know some of needed modifications are not useful for upstream, but some could be.