Any N64 emulators for our beloved SGI's

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
pinball_0
Posts: 206
Joined: Sat Nov 10, 2007 3:06 am
Location: North Liberty, IA

Any N64 emulators for our beloved SGI's

Unread postby pinball_0 » Sun Nov 23, 2008 10:27 am

I sure would love to find a N64 emulator to run on my Fuel, or Onyx2, or even dual 600 octane...

playing with one on the imac called sixtyforce, but really like to play it on the SGI

anyone know of any developments
:Indigo2: :Indigo2: :Indigo2IMP: :Fuel: :Fuel: :Fuel: :320: :PI: :PI: <- PFile:Indy:
:O2: :1600SW: :O2: :1600SW: :Octane2: :Octane: :Octane: :Octane: :Onyx2: :O2000R:

Amiga 4000 060 & PPC HiFlyer with toaster/flyer
Amiga 1200HD40
Mac Intel imac 24inch (dual 3 G), MacG4 Quicksilver 2002 w Dual 1.8G (LEOPARD)
MacBook Pro 17 C2D, MacBook 13 unibody
G4 GigE Dual 500 (TIGER/OS9), imac G3 (PANTHER)

Sun Ultra 60, SunBlade 2000 Dual 1G (SOLARIS 10)

PC Gateway DualCore, and other lowly PC's (laptops)
Qube3, RaQ4's,Audiotron,Magnia

kramlq
Donor
Donor
Posts: 994
Joined: Tue Sep 20, 2005 5:10 pm
Location: IRL

Re: Any N64 emulators for our beloved SGI's

Unread postby kramlq » Sun Nov 23, 2008 1:55 pm

There was a thread on here recently where a poster said he was one of the lead developers of Mupen64. It is not currently ported, but I guess being on Nekochan means he probably also uses IRIX/MIPS, so search for that thread and ask him is an IRIX port feasible.

User avatar
Mark_G
Posts: 105
Joined: Sat Jan 12, 2008 3:38 pm
Location: Belgium

Re: Any N64 emulators for our beloved SGI's

Unread postby Mark_G » Sun Nov 23, 2008 2:48 pm

Hello,

I'm also waiting for the N64 emulator :)

Till now, I used a lot vice. (c64 emulator) Works very well.

Mark

User avatar
tillin9
Posts: 591
Joined: Sat Mar 31, 2007 8:39 pm
Location: New York, NY / Westport, CT / #mupen64plus on freenode

Re: Any N64 emulators for our beloved SGI's

Unread postby tillin9 » Sun Nov 23, 2008 9:25 pm

Howdy, that would be me. Getting Mupen64Plus to run on IRIX shouldn't be too hard as we did a lot of work on the OSX port to strip out linux specific stuff. We also had a working OpenBSD build awhile back, so as long as it has the SDL / OpenGL / gtk or Qt4 dependencies, everything should be okay.

There are a lot of minor things that I could see preventing certain modules to compile, but I've fairly sure any dev. could get gcc on IRIX to make a binary fairly quickly. The major issue stopping me is lack of time as I'm in the process of starting a new ( much better :D ) job. I basically tried to compile straight from svn last week and it failed. I haven't spent too much time on it, yet. I also have to take care of a few hobby projects I promised I'd work on first.

However, I doubt the executable will be very useful at first. The biggest issue is that without a dynarec it will be very slow. Luckily, a MIPS->MIPS module might be very easy to implement (just need to worry about TLB, emulated memory space, and any special opcodes that the R4300 N64 CPU has). Also even with a pure C interpreter, we seem to have endianess issues as some PPC linux and PPC OSX users have reported. So expect 1 FPS and incorrect rendering until that is fixed.

Anyway... I'd love for someone else to try to get mupen working on their higher end SGI. Feel free to log on to #mupen64plus on freenode if you have problems.

User avatar
Mark_G
Posts: 105
Joined: Sat Jan 12, 2008 3:38 pm
Location: Belgium

Re: Any N64 emulators for our beloved SGI's

Unread postby Mark_G » Wed Dec 03, 2008 4:08 pm

Hello,

What's the status of the port ?

Mark

User avatar
tillin9
Posts: 591
Joined: Sat Mar 31, 2007 8:39 pm
Location: New York, NY / Westport, CT / #mupen64plus on freenode

Re: Any N64 emulators for our beloved SGI's

Unread postby tillin9 » Wed Dec 03, 2008 5:42 pm

The port hasn't gotten too far. I honestly haven't had any time to try it this week. Another forum member, bplaa.yai, got it to compile with MIPSPro, but there is some kind of endian bug. We had known of this since PPC Macs (running OSX or Linux) had issues. He spent a good deal of time trying to track down the issue, and it may exist entirely in the video plugins. 2M lines of emulated code in the core had 100% GP and specialty register matches with an x86 machine.

The video plugins vary in quality, (how Rice actually works is nothing short of a miracle - its worse than what I imagine the Windows kernel source looks like), but none of those three plugins have anywhere near the advanced debugging features the core has. So it might take awhile to find the bug.

User avatar
bplaa.yai
Posts: 319
Joined: Wed Mar 26, 2008 12:04 pm
Location: Paris

Re: Any N64 emulators for our beloved SGI's

Unread postby bplaa.yai » Thu Dec 04, 2008 10:37 am

As tillin9 reported, it's slowly progressing. I'm currently fixing endianness / alignment issues in glN64 (video plugin) and, once it will be done, I have good hope we should have pure interpreted ( = slow ) emulation ready. The audio plugin also has endianness issues, but it should be quite easy to fix.
After that, dynarec will be another matter...
:Onyx2: :O2: :O3x0: :O3x0:

jade_angel
Posts: 211
Joined: Sun May 27, 2007 3:26 pm
Location: Richmond, VA, USA
Contact:

Re: Any N64 emulators for our beloved SGI's

Unread postby jade_angel » Thu Dec 18, 2008 10:16 pm

Well, Mupen64 works by doing full emulation, since its original target was x86. Writing a pure API translator (like WINE) for IRIX would be a lot of work. Easier would be to get Mupen64 working with pure interpretation then build a dynamic-translation layer behind that to do R4300->R4400 translation. (The N64's CPU is similar, but not quite identical, to the MIPSen used in SGIs, so some translation/thunking might be required).

User avatar
Nihilus
Posts: 310
Joined: Sat Dec 18, 2004 8:21 am
Location: Stockholm, Sweden
Contact:

Re: Any N64 emulators for our beloved SGI's

Unread postby Nihilus » Sun Dec 21, 2008 6:43 am

There is actually a dev-board with SDK for the SGI Indy, however if you find one you're lucky.
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! "

User avatar
tillin9
Posts: 591
Joined: Sat Mar 31, 2007 8:39 pm
Location: New York, NY / Westport, CT / #mupen64plus on freenode

Re: Any N64 emulators for our beloved SGI's

Unread postby tillin9 » Wed Dec 24, 2008 12:55 pm

Umm... a forum member (kyle123) was selling one of the Indy N64 dev boards. I wanted it and spoke to him, but just couldn't justify the price he wanted. If you have $800, I'm sure you can buy it from him.

As far as mupen, a MIPS->MIPS dynarec would be considerably faster than the pure interpreter we're using now. A WINE-like API isn't good since an N64 basically has no OS, a DOS program with BIOS and simple syscalls is probably more accurate. Basically, the ROMs are written to be run on bare metal, not as a user level program. I'm honestly not sure of the speed of Mupen on SGIs since right now we can't run at all, Endian issue.

User avatar
Nihilus
Posts: 310
Joined: Sat Dec 18, 2004 8:21 am
Location: Stockholm, Sweden
Contact:

Re: Any N64 emulators for our beloved SGI's

Unread postby Nihilus » Sat Jan 10, 2009 10:47 am

Write a firmware-loader for IRIX... don't think the endian is that much of an issue more than it adds overhead.
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! "


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 2 guests