IRIX and Software

xmess emulator - Page 1

has anyone successfully compiled the xmess emu for irix :cry: ??

I'm still searching for a sega genesis / mega drive emu for irix ... perhaps someone can help :roll: ??
Welcome Oddoh!

We have succesfully compiled xmame 0.65-1 and 0.66-1 (see the tardists Neko has made), and at this moment i'm trying to build xmess 0.66-1.
Considering the build problems with previous xmame/xmess releases have now been ironed out, this should not be hard. I'll let you know in two hours (!) if my Origin has spit out something useful...

Oh and xmame/xmess 0.68 is out and winmame 0.69 has just been released today...
great!! thanks a lot!!!
Xmess compile fails with this statement:

Compiling src/cpu/m6805/m6805.c ...
cc-1143 cc: ERROR File = src/cpu/m6805/6805ops.c, Line = 75
Declaration is incompatible with "void bset(char *, bitnum_t)" (declared at
line 517 of "/usr/include/unistd.h").

INLINE void bset (UINT8 bit)

So i have to fix this... Hold on
Found it, it seems to be a header clash.

I have made a patch, recompiled the 0.67.2 binary and i have tested this with a vectrex image and seems to work fine.
I'll try to contact the xmame/xmess people about this so that we can implement this in xmame 0.69.1

If you have the MIPSPro compilers you can build it yourself with the following patch:

--- osdutils.h.old Sun Apr 6 23:41:28 2003
+++ osdutils.h Mon May 26 16:58:27 2003
@@ -1,7 +1,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
+#ifndef __ARCH_irix
#include <unistd.h>
+#endif

#define strcmpi strcasecmp
#define strncmpi strncasecmp

Patch it against xmame-0.67.2, enable xmess in the makefile, disable xv, and enable mit-shm

That should do the trick. Enjoy :)
amazing - great work!!! thank you very very much!!
since I don't have the mips pro c compiler - could I have the package from you :cry: ??
I'll try to put one together this evening.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
Once again, Neko comes in to save our butts... :wink:

_________________
Napster Baaaaad!
Shtoink wrote:
Once again, Neko comes in to save our butts... :wink:


Sorry, no luck this time. During the link process I get:

Linking xmess.x11 ...
ld32: WARNING 16 : apf_ints used in xmess.obj/apf.a(apf.o) and xmess.obj/apf.a(apf.o) have different sizes.
### Compiler Error in file 4.I (user routine 'x11_window_update_16_to_16bpp..CHKD') during Global Code Motion phase:
### Out of memory in Allocate_Large_Block
cc INTERNAL ERROR: /usr/lib32/cmplrs/be returned non-zero status 1
--- xmess.x11.ipaa003N-/4.o ---
*** Error code 1
/usr/sbin/smake: Error: 1 error
gmake: *** [xmess.x11] Error 2

This is with 1.5GB RAM and approximately 100MB free at the time of the error (no swap used).

Some particulars from makefile.unix:

CFLAGS = -fullwarn -n32 -mips4 -Ofast -OPT:Olimit=0 -IPA
IL = -DINLINE=static
LD = $(CC) -fullwarn -n32 -mips4 -IPA

Also, on the patch above ... maybe add an #ifndef __ARCH_irix_al
as well? I noticed that choosing ARCH = irix_al (with sound using the new al package) tripped that bit up.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
I'm trying again with

IL = '-DINLINE=static __inline'

maybe that will change something.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
Hi neko,

Thanks for the suggestion for #ifndef __ARCH_irix_al . I missed that one.

Nono the INLINE should be static :( Only then i can get the code to compile...

On my Origin i can compile xmess.x11 just fine, tho it needs 1.5 Gig to do so. I have just finished compiling xmess.x11 version 0.69.1 (it's out today).

Shall i ftp it to you, neko, so that you can make a tardist of it?

Oh and what should we make the binary? mips3 or mips4? Gerneral build or optimise for IP30?
It compiles fine with IL = '-DINLINE=static __inline' just not IL = '-DINLINE=static __inline__' which is what makefile.unix specifies as default. __inline is a supported MIPSpro keyword in 7.3 and up.

It's on the link phase again at the moment ...

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
Okay, I still get the out of memory error during link. I even tried logging out of X and compiling through ssh so I had the full 1.5GB RAM (plus 1GB swap).

If you could create a build with:

CFLAGS = -fullwarn -n32 -mips4 -Ofast -OPT:Olimit=0 -IPA
IL = '-DINLINE=static __inline' <-- (Try this, seems to work okay)
LD = $(CC) -fullwarn -n32 -mips4 -IPA

You can FTP into the /incoming directory on ftp.nekochan.net and I'll package it tomorrow afternoon :)

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
wow - I'm very impressed!! - thank you so much guys!!!
optimise for ip30 - oh yes :-D !!
my octane can't wait to play phantasy star 8) ...
Status update time :)

I received the binaries from Dex (thanks!) but they aren't working for me:

Code:
[Koyori:/Komugi/downloads] neko 3% ./xmess.x11
warning: no mixer plugins available
Bus error (core dumped)

[Koyori:/Komugi/downloads] neko 6% ./xmame.x11
warning: no mixer plugins available
Bus error (core dumped)


This is happening on both my Octane running 6.5.20 and O2 running 6.5.19.

By contrast, here's an example of what I see with xmame.x11 from 0.66.2:

Code:
[Koyori:/Komugi/downloads] neko 12% /usr/local/bin/xmame.x11
warning: no mixer plugins available
info: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /usr/people/neko/.xmame/xmamerc
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /usr/people/neko/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/pacmanrc
info: trying to parse: /usr/people/neko/.xmame/rc/pacmanrc
Mouse/Trakball selected.
loading rom 0: pacman.6e
loading rom 1: pacman.6f
loading rom 2: pacman.6h
loading rom 3: pacman.6j
loading rom 4: pacman.5e
loading rom 5: pacman.5f
loading rom 6: 82s123.7f
loading rom 7: 82s126.4a
loading rom 8: 82s126.1m
loading rom 9: 82s126.3m
done
pacman.6e    NOT FOUND
pacman.6f    NOT FOUND
pacman.6h    NOT FOUND
pacman.6j    NOT FOUND
pacman.5e    NOT FOUND
pacman.5f    NOT FOUND
82s123.7f    NOT FOUND
82s126.4a    NOT FOUND
82s126.1m    NOT FOUND
82s126.3m    NOT FOUND
ERROR: required files are missing, the game cannot be run.


Can you confirm these binaries are okay on your end Dex?

Code:
-rwxr-xr-x    1 neko     user     28219256 May 28 21:18 xmame.x11
-rwxr-xr-x    1 neko     user     11600584 May 28 21:18 xmess.x11

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
You're right, they're broken....

I'll try again with both 0.67.2 and 0.69.1. If 0.69.1 fails, i have to backtrack the changes to the code :( ((

Neko, please remove the binaries from incoming and i'll make 0.67.2 builds of both, and i will upload them before noon (it's 0900 now)

Sorry for the mishap
They've been removed :)

No need to apologize; I greatly appreciate your help on this!
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
And here we go!

http://www.nekochan.net/wiki/downloads/xmess-0.67.2.tardist

The tardist includes dexter's binary as well as the 0.67.2 manpage; installs to /usr/local to avoid conflicts with SGI's own freeware 0.61.2 build.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
i'll rebuild xmame also for 0.67.2 so we'll have that upgraded as well

Currently i'm investigating the bus error on 0.69.1. Seems someone has put broken code into the xmamerc/xmessrc handler.

Must be a Linux guy :twisted:
How about a VICE (Versatile Commodore Emulator) tardist?

The current version is screwy on IRIX, and runs very slowly. I've not had the time or inclination to work out why. Version 1.10 was the last to run at full speed on IRIX.
--
lisa