OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jcabrer on August 24, 2005, 01:45:56 pm

Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on August 24, 2005, 01:45:56 pm
I've been working on compiling M.A.M.E/M.E.S.S (http://x.mame.net/) natively on my SL-6000 running pdaXrom RC10 and I'm happy to report some success!

I started with the source for 0.85 (I'm working up to 0.99) and made a few changes to the makefile.  So far I've been able to compile full M.E.S.S and the Tiny M.A.M.E. build which only supports Stratofighter and Raiga.  The full build of M.A.M.E. segfaults when memory is exausted, but I have a few tricks left to try.  With M.E.S.S. I have run Vectrex, Colecovision, and PDP11.  I'll be trying Comodore 64 and Timex Sinclair later.

What I need now is some help.  Specificaly I need someone that has experience building ipkg files to help me package the M.E.S.S. port, and I need a feed where this can be hosted.  For now, I'll start making it available via Shareaza P2P.  I'll post here again when I know the file name.

Right now I'm going to concentrate on building a Frontend as well as creating .rc files to organize roms/sounds/artwork/etc...

BTW I'm also working on a port of Daphne (http://www.daphne-emu.com/) for playing Dragon's Lair and Space Ace, but I'm having a hard time with meeting all the dependencies.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on August 24, 2005, 04:14:54 pm
I'm willing to host any Zaurus file as long as they're not illegal.

PM me for information -- and/or tell me where to get the files, etc.

Scott
ps:  I am also a HUGE fan of mame/mess, etc.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: Cresho on August 24, 2005, 06:54:33 pm
i don't know if your interested but i have a mame version that can run pacman and ms pacman just fine but galaga runs slughish.

how fast does your mame run galaga?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: scoutme on August 25, 2005, 09:22:37 am
I cannot stand... need to try MESS and MAME on my 860
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on August 25, 2005, 12:09:43 pm
Quote
i don't know if your interested but i have a mame version that can run pacman and ms pacman just fine but galaga runs slughish.

how fast does your mame run galaga?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93147\"][{POST_SNAPBACK}][/a][/div]

Right now, everything is running a bit choppy, but playable, especially if sound is off.  So far, I've run Atari 400, Atari 2600, CoCo, TS1000, spectrum, QL, PDP11, Vectrex (Artwork need to be converted to 16 bpp, but it works).  I'm going to try using SDL later, but first I have to get the sdl dev files installed.

I have not tried a full MAME compile (Only MESS so far) since the last attempt died when I ran out of memory.  I'm looking for a way to create a swap file on a network drive, but I only have samba shares, and mkswap does not seem too happy about that.  I'm looking at NFS, but that will take some time.

Does anyone know if I can post the binary as an attachment here?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jbruno on August 25, 2005, 03:05:42 pm
Quote
i don't know if your interested but i have a mame version that can run pacman and ms pacman just fine but galaga runs slughish.

how fast does your mame run galaga?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93147\"][{POST_SNAPBACK}][/a][/div]


Mame on the 6k? I'm interested, which version are you using, and did you have to tweak it somehow to get it to run fast enough?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on August 25, 2005, 03:43:34 pm
I have some old[er] mames that were compiled by lorddavon -- I wonder where he disappeared to.

The games worked, but this was before pdaXrom supported xrandr to put it into
320x240 -- so, ya, it ran sluggish when 2x scaled to 640x480 ...

at 320x240 -- things should be fine.
I was never able to get > 25-28% with 640x480 -- in terms of speed.
also, the turbo didn't seem to last, even when you said for it not to
turn off....  

Scott
http://zaurus.spy.org/feeds/davonz/ (http://zaurus.spy.org/feeds/davonz/)
advmame... I haven't tried ti recently to see if it works under rc10, etc.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: scoutme on August 28, 2005, 05:11:26 pm
any update?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on August 29, 2005, 05:29:43 pm
Quote
any update?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93544\"][{POST_SNAPBACK}][/a][/div]

How's this for an update?  I've compiled MAME v.0.85 with support for 5061 games! [ You are not allowed to view attachments ]

Ok.  I know you'll all be begging for it, so who wants to host a copy of the executeable?

send me an email at jcabrer@hra.com

My ultimate goal is to have an IPKG, but I'm still not 100% sure about creating one that will run anywhere (NAND, CF, SD, etc...).  Also I think it might be nice to include a frontend for those less tech savvy folks out there?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on August 31, 2005, 12:17:51 am
hopefully, more to come:

http://zaurus.spy.org/feeds/cacko/pdaXrom/...0/misc/jcabrer/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc10/misc/jcabrer/)

Scott
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on August 31, 2005, 03:55:56 pm
I'll be sending Scott the MESS tarball when I get home today.  Hopefully by the week end I'll have these two in IPKGs with some type of gui.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 05, 2005, 10:09:34 am
hey, is the advmame project still alive?
advmame had some really nice stuff in it.

I tried the xmame and it seems to work...

it would be awesome if mame .99 with advmame
enhancements could actually be compiled.

S
Title: M.e.s.s. Native Compile On Sl-6000
Post by: scoutme on September 06, 2005, 03:09:00 am
I tried xmame.x11 and it seems a bit slow; could I expect any better from SDL version? Did you try it?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 06, 2005, 10:42:55 am
*I* did not try it -- I'm not sure it is available.

I would look for advmame - sdl

if that combination is possible.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on September 06, 2005, 06:49:30 pm
Quote
hey, is the advmame project still alive?
advmame had some really nice stuff in it.

I tried the xmame and it seems to work...

it would be awesome if mame .99 with advmame
enhancements could actually be compiled.

S
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94563\"][{POST_SNAPBACK}][/a][/div]

I have compiled AdvanceMAME (0.99) and AdvanceMENU.  The only drawback is that I had to create swap on a CF card in order to run.  I'm not sure that everyone will want to do that since it seems to shorten the life of the card (althought mine is working fine over a week later).  If anyone wants them, I'll send them for ScottYelich to make available.  Your swap will have to be at least 32MB.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 07, 2005, 10:03:57 am
hmm. great news.
I'm not sure why a swap is needed -- strange.

Anyway, could you also pass along the source that you used for both
mame, advmame(menu) and mess?

Did you try to get advmame ot use SDL?

Scott
ps: don't forget about mess.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on September 07, 2005, 01:24:50 pm
Quote
hmm. great news.
I'm not sure why a swap is needed -- strange.

Anyway, could you also pass along the source that you used for both
mame, advmame(menu) and mess?

Did you try to get advmame ot use SDL?

Scott
ps: don't forget about mess.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=94826\")

All I can say is that without swap, I get a segfault.

As for the source, I'm using the unmodified AdvanceMAME source.  You can get it at advancemame.sf.net.

AdvanceMAME uses sdl by default.

I've set up a TEMPORARY ftp server for anyone wanting to download the binaries.
As always, there aren't enought hours in the day to get all of this into an IPKG file.  When I get a chance I'll do it up right and post some docs.

[a href=\"ftp://groveplace.dyndns.org]ftp://groveplace.dyndns.org[/url] CURRENTLY DOWN.  WIFE KILLED ROUTER.  UP 19:00 PST TODAY

Passive FTP seems to give problems, so try getting it from the command line.

MESS is coming.  It takes about 4 hours to compile, and when I find an error I have to start all over.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 08, 2005, 03:31:09 am
mirrored.... same place as before.

226 Transfer OK
10008268 bytes received in 883 secs (11 Kbytes/sec)

http://zaurus.spy.org/feeds/cacko/pdaXrom/...0/misc/jcabrer/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc10/misc/jcabrer/)
Title: M.e.s.s. Native Compile On Sl-6000
Post by: scoutme on September 08, 2005, 09:26:45 am
results of the comparison? is advmame (sdl) faster than xmame.x11? with xmame.x11 outrun is not playable, metalslug even less playable. What about advmame with these titles?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on September 08, 2005, 10:08:36 am
Quote
results of the comparison? is advmame (sdl) faster than xmame.x11? with xmame.x11 outrun is not playable, metalslug even less playable. What about advmame with these titles?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95026\"][{POST_SNAPBACK}][/a][/div]

You have to establish realistic settings for good gameplay.  For metal Slug you will probably need frameskip 5+ (I use 10), no sound, small screen.  Also, I believe that rotating the screen the X11 way causes slowdows, so it's better to send the -rr -rl options.  

I began work on a comprehensive ipk including AdvanceMENU/MAME/MESS all in one, and documentation included.  I'm still waiting for MAME and MESS to finish compiling, then I have to figure out the whole ipkg thing.

By the way, it looks like most people that tried to download from my site failed according to logs.  You have to log in from the command shell or DOS prompt and use the ftp command.  Username is anonymous password is blank.  Better yet, just get it from the mirror ;^)
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 08, 2005, 10:58:12 am
I haven't done a conparison yet -- I will try that today.

I had trouble downloading -- it appeared that the site was in auto-passive...
so I had to enter passive to toggle it off (??)

I went in as "anonymous" "ftp@home.com" ...  11B/sec
you can just wget it from the url above -- should be faster, etc.

Scott
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on September 08, 2005, 08:04:57 pm
Thanks Scott,

I've got my ipk alsmost ready to build.  I'm waiting for AdvanceMESS to complete its build, and I'll preconfigure the .rc files for optimal settings (640x480 display etc...)

The only thing I need now are three (3) 48x48 .png files to use for icons.  One for AdvanceMENU, one for AdvanceMAME, and one for AdvanceMESS.  If anyone has the skill for this, please send me your icons for consideration.  Thanks.

BTW.  I know that MESS PDP11 does not require roms, so this will be the default emulator for MESS, but now I need a PD rom that can be included with MAME.  I thought there was one, but I can;t recall the name.  I'm not even sure if the MAME license allows any rom PD or not (I know the non-PD roms are NOT ALLOWED) to be distributed with MAME.  Anyone care to chime in?
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 09, 2005, 11:22:26 am
simple:  don't include any default rom.

I, personally, don't really think it's worth it.

Scott
Title: M.e.s.s. Native Compile On Sl-6000
Post by: scoutme on September 09, 2005, 03:10:39 pm
maybe the best video setting would be 320x240, leaving the user the possibility to change resolution. Scaling at 640x480 is a bit slow on our zaurus
Title: M.e.s.s. Native Compile On Sl-6000
Post by: jcabrer on September 10, 2005, 03:06:08 pm
Quote
maybe the best video setting would be 320x240, leaving the user the possibility to change resolution. Scaling at 640x480 is a bit slow on our zaurus
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95236\"][{POST_SNAPBACK}][/a][/div]

What I mean is that the AdvMENU is adjusted to 640x480 (Default is 1024x768)

Anyway, the good news is that I've finished compiling AdvMENU/MAME/MESS, and the ipk builds.  I have a couple of nagging problems with .rc files having the wrong path, but once I've nailed that down, I'll post a link for everyone.  Later today probably.

If anyone want's to do it themselves, here's how I'm doing it:

SL-6000, 1GB SD, 512MB CF (Swap), gcc, gcc headers, sdl, make, binutils, autoconf, automake, sources for advmenu/mame/mess.  make sure swap is on.

For each package do the following:
./configure --prefix=/mnt/card/usr/local/bin && make && make install

or if you want to eventually make an ipk:
./configure --prefix=/mnt/card/advanceipk/usr/local   (advanceipk is where you will build the ipk)

The emulators take about 4 hours to compile.  You may want to overclock for this.

Just a quick note:  I did not optimize the build, so expect it to be slooooow for now, but I'll keep working on it.  I think xmame.x11/xmess.x11 are a little faster.
Title: M.e.s.s. Native Compile On Sl-6000
Post by: ScottYelich on September 10, 2005, 04:58:32 pm
well, xmame wouldn't go full screen for me...
so I either had to have a small[er] window in 640x480 or an xwindow (sideways) with
320x240 ... but, advmame goes full screen.  Also, the turbo use to be broken (??) with
advmame -- I hacked up mine to make the key for turbo be a TOGGLE and not a
modifier (like contro, shift -- where you have to hold it down) ...  

anyway, we'll give it a try.  thanks for the effort!

Scott