maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   MAME WORKS !!!! well .... sort of... (https://talk.maemo.org/showthread.php?t=1333)

geekdoc 2006-02-09 19:07

MAME WORKS !!!! well .... sort of...
 
2 Attachment(s)
I am pleased to announce that I got mame to run on my Nokia 770 !
I am very displeased to announce that it runs like a slug.

This is what I did.... any help much appreciated.

I got scratchbox running on my suse box...
downloaded and compiled advancemame with a few warnings
ran it once or twice on scratchbox
transferred the directory structure to my nokia 770.
(I was testing, otherwise I would have just downloaded the executable)
ran advmame which is in obj/mame/linux/blend/advmame

which generated config files/directories
/home/user/.advance/*

Then I edited advmame.rc and changed a couple of keybindings.

loaded some roms into /home/user/.advance/rom

then ran advmame again
advmame dkong (donkey kong)


It isn't really playable.... It has serious speed issues.
But, everything seems to work.


Anyone have any ideas/pointers to what could be done to speed it up?


- geekdoc (not an actual programmer, but I play one on tv)

PS. I think I might be able to get it to display on the side that way double size should fit!

P.P.S. please excuse fingerprint smudges on pics.

NokNok770 2006-02-09 19:47

WOW..great work!...looks promising. I'm not a programmer so I don't know much about porting stuff. But have you look into the GP2X version of MAME? Maybe it will have better results since GP2X is already linux.

Chainsaw76 2006-02-09 20:16

Awesome!

-Jason

geekdoc 2006-02-09 21:22

GP2X ... I don't know.... I don't think it will work, but I will try.
The thing is that I compiled the main release without doing ANY tweaks at all.

I think that with some proper flags and tweaks to optimize the display...
it should fly... hopefully !!!

I haven't even looked at what libraries are used for the display.

The thing is I haven't done any serious programming in over 5 years....
and I don't really have the time now, but I will play with it.


-geekdoc

thoughtfix 2006-02-09 21:35

Once this is mature, I've got one of my co-workers sold on a 770. "Not 'til MAME" he says.

MiniYoda 2006-02-10 14:45

Quote:

Originally Posted by geekdoc
I am pleased to announce that I got mame to run on my Nokia 770 !
I am very displeased to announce that it runs like a slug.

This is what I did.... any help much appreciated.

I got scratchbox running on my suse box...
downloaded and compiled advancemame with a few warnings
ran it once or twice on scratchbox
transferred the directory structure to my nokia 770.
(I was testing, otherwise I would have just downloaded the executable)
ran advmame which is in obj/mame/linux/blend/advmame

which generated config files/directories
/home/user/.advance/*

Then I edited advmame.rc and changed a couple of keybindings.

loaded some roms into /home/user/.advance/rom

then ran advmame again
advmame dkong (donkey kong)


It isn't really playable.... It has serious speed issues.
But, everything seems to work.


Anyone have any ideas/pointers to what could be done to speed it up?


- geekdoc (not an actual programmer, but I play one on tv)

PS. I think I might be able to get it to display on the side that way double size should fit!

P.P.S. please excuse fingerprint smudges on pics.

What version of MAME are you running? Have you tried an older version, such as 0.36, which I think is what most light computers like Palm use?

geekdoc 2006-02-10 19:43

Gcc Options and versions.and SDL...
 
I was using the latest advance mame, from sourceforge.
But, I decided to try regular old x.mame. I will look at the different
versions.

My main concern is....
What gcc flags do I need to use to optimize this?
I understand that it is an Omap 1710 processor which translates to a
arm926 processor and armv5 for the architecture.
can I use the option for -mycpu=arm926ej-s
and -march=armv5 in scratchbox?
What are the other flags necessary for proper operation/optimization?

And lastly, I am using the latest version of sandbox, and the latest
version of the bootstrap.
I saw somewhere on maemo that you are supposed to replace a
library name in libSDL.la ... but the replacement library libstdc++.la (I think that was the name) doesn't exist.


Anyway.... If anyone can point me in the proper direction ...
Much Appreciated.


=-geekdoc


All times are GMT. The time now is 12:25.

vBulletin® Version 3.8.8