Emulation

mame on IRIX

Hi,
I'm looking for a fairly recent version of 'mame' that runs on IRIX.
The newest I can find is several years old. If anyone know of a new (2007 at least) I would like to know.
I don't have the time or skills (mostly time :-) ) to make a build of my own from source, so I appreciate any information.
Too many SGI's (says wife)
bjorn
Hey, this portable C64 avatar piccy rocks!!! 8)
Now, let's all pray to the Nekoware-involved gurus to make your (mine,too) wish come true!
Please, pleeeease!!!
I managed to port a NES emulator but the sound was really choppy... :(
SGI Systems: R4K :Indigo: /256MB/XS-24, R5K 150MHz :Indy: /160MB/XL-24, R10K 175MHz :O2: /640MB, R12K 400MHz :Octane2: /Vpro6/1GB & R4K 250 MHz :Indigo2IMP: /128 MB/XZ Extreme/GIO64 FDDI

"It's a UNIX system! I know this! "
Any news on MAME for Irix?

When I see talks about recompiling something, I feel myself like a brazilian living in Japan. There is a vast world in front of me, and I'm unable to walk by it. I NEED HELP! :O what a shame...
THE dream come true: Silicon Graphics' Octane
Image Octane R10000 225MHz, 2GB RAM, 1x36GB HDs, 21" monitor, SSI (no TRAM) graphics
:Indy: Indy R5000 (specs to be determined)
Are we talking about the SDL version of mame on Irix or is the GTK versions?

I have compiled a few of the very older versions (around v.35) of Mame to get them working on Irix 5.3 for my Indy, but have not attempted anything more recent... it might be something to do over the next few months, but need to get my O2 in order to be able to do this first...
I'm talking about something-mame-that-I-can-run-my-old-games-on-irix :) Unfortunately I never used MAME on *nix, so I don't know what sdl and gtk is.

I'm very interested in learning the magics of recompilling...I feel so newbie...
THE dream come true: Silicon Graphics' Octane
Image Octane R10000 225MHz, 2GB RAM, 1x36GB HDs, 21" monitor, SSI (no TRAM) graphics
:Indy: Indy R5000 (specs to be determined)
Have attached below the steps I had to take to compile xmame 034.2 on Irix 5.3. This is probably a good starting point to get things going, hopefully may be of use if you would like to try this out yourself...

Steps taken to compile xmame 034.2:
------------------------------------

1. Before you start:

Install the IDO for Irix 5.3

Extract the xmame source files where you intend to do your work: tar -xvf xmame.tar

Install GNU Make "make-3.81-2.tgc-irix5.3-mips1-tgcware.tardist", and depenencies:
expat-2.0.1-2.tgc-irix5.3-mips1-tgcware.tardist
gettext-0.16.1-2.tgc-irix5.3-mips1-tgcware.tardist
libiconv-1.11-2.tgc-irix5.3-mips1-tgcware.tardist
libgcc_s1-3.4.6-2.tgc-irix5.3-mips1-tgcware.tardist
libstdcxx7-7-6.tgc-irix5.3-mips1-tgcware.tardist


2. Make the following changes in makefile.unix

> MAKE = gmake ## Irix make requires more effort, need to to use gmake. Line 40
> cc in lieu of gcc ## line 44, use the IDO compiler
> remove -n32 -mips4 ## we are compiling on mips3, causes error below for lib64/cmplrs/cc
> ARCH = IRIX ## line 330
> Enabled sound line 330 (used ARCH = irix # automatically includes sound)
> Did not need to change rm -fR to rm -fr # Line 433
> Changed OPTFLAGS = -O -Wall to " -O -fullwarn ## Line 85
## -Wall is gnu all warnings
## ERROR on flag -Wall in "OPTFLAGS = -O -Wall"

3. 1st Attempt to compile: "gmake -f makefile.unix"

Error on src/unix/video.c: 181:Unterminated string or character constant

FIX: Added backslash '\' at the end of lines 253, 254, 255 (of file video.c)

4. 2nd Attempt to compile: "gmake -f makefile.unix"

cc Error: cc is not installed in /usr/lib64/cmplrs/cc

FIX: remove -n32 -mips4 from makefile ## causing error for lib64/cmplrs/cc

5. 3rd Attempt to compile: "gmake -f makefile.unix"

Ignore Warning on optimisation, suggest to use -Olimit option on Dasm68000

Errors:
ranlib ../../obj/unix.x11/osdepend.a
gmake[1] ranlib: Command not found
gmake[1] *** [../../obj/unix.x11/osdepend.a] Error 127
gmake[1] Leaving directory '/usr/people/guest/xmame34.2/src/unix'
gmake[1]: *** [osdepend] Error 2


FIX: Edit makefile.unix and comment out use of ranlib on line 70.

# RANLIB = ranlib

Need to be careful of line 499 and 508 as these have references to RANLIB.


6. 4th Attempt to compile: "gmake -f makefile.unix"

gmake: execvp: obj/pacman.a: Permission denied
gmake: *** [obj/pacman.a] Error 127

Caused by line 507 which has the line $(RANLIB) $@ # and hence executes nothing.

Fix: Removing RANLIB fixes the problem


6. 5th Attempt to compile: "gmake -f makefile.unix"

Compiled and linked successfully...
wow...

I'll try :) Thanks!
THE dream come true: Silicon Graphics' Octane
Image Octane R10000 225MHz, 2GB RAM, 1x36GB HDs, 21" monitor, SSI (no TRAM) graphics
:Indy: Indy R5000 (specs to be determined)
Ha! The mame guys (mamedev.org) just took their source code downloads offline because their mirrors are overloaded. Nekochaned? :mrgreen:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:
Yes, they did this a while ago... fortunately there are some other alternatives on the Internet but you do have to go digging for them - perhaps we could host some of these on Nekochan - but not sure if that is in-policy?