Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Tue Jul 22, 2014 10:49 am

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: xmess emulator
Unread postPosted: Sun May 25, 2003 2:42 am 
Offline
User avatar

Joined: Fri May 09, 2003 1:25 pm
Posts: 48
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: ??


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun May 25, 2003 3:30 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 6:57 am
Posts: 2062
Location: Voorburg, The Netherlands
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...


Top
 Profile  
 
 Post subject: xmess
Unread postPosted: Sun May 25, 2003 3:44 am 
Offline
User avatar

Joined: Fri May 09, 2003 1:25 pm
Posts: 48
great!! thanks a lot!!!


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun May 25, 2003 4:35 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 6:57 am
Posts: 2062
Location: Voorburg, The Netherlands
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


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue May 27, 2003 4:04 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 6:57 am
Posts: 2062
Location: Voorburg, The Netherlands
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 :)


Top
 Profile  
 
 Post subject: xmess
Unread postPosted: Tue May 27, 2003 11:41 am 
Offline
User avatar

Joined: Fri May 09, 2003 1:25 pm
Posts: 48
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: ??


Top
 Profile  
 
 Post subject: Re: xmess
Unread postPosted: Tue May 27, 2003 12:13 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
I'll try to put one together this evening.

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 12:53 am 
Offline
User avatar

Joined: Mon Jan 27, 2003 1:46 am
Posts: 839
Location: Port Orchard, WA
Once again, Neko comes in to save our butts... :wink:


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 2:30 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
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.

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Last edited by nekonoko on Wed May 28, 2003 3:52 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 2:52 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
I'm trying again with

IL = '-DINLINE=static __inline'

maybe that will change something.

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 2:56 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 6:57 am
Posts: 2062
Location: Voorburg, The Netherlands
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?


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 3:12 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
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 ...

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Last edited by nekonoko on Wed May 28, 2003 3:51 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
Unread postPosted: Wed May 28, 2003 3:49 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
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 :)

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject: xmess
Unread postPosted: Wed May 28, 2003 8:00 am 
Offline
User avatar

Joined: Fri May 09, 2003 1:25 pm
Posts: 48
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) ...


Top
 Profile  
 
 Post subject: Re: xmess
Unread postPosted: Thu May 29, 2003 11:46 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7970
Location: Pleasanton, California
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

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group