IRIX emulation is here!
#1
IRIX emulation is here!
See latest MAME 0.207. Probably slow, but possibly very useful. Anyone make any progress?

Ginza
ginza
O2

Trade Count: (0)
Posts: 21
Threads: 1
Joined: Feb 2019
Find Reply
02-27-2019, 09:58 PM
#2
RE: IRIX emulation is here!
MogMiner has been updating us on this in the Discord. He's got 5.3 mostly working graphics-wise. Dunno about networking.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-28-2019, 02:47 AM
#3
RE: IRIX emulation is here!
Thanks for the tip. I got Irix 5.3 to work, albeit slowly. Just make a blank CHD for the HD like suggested:

chdman createhd -ss 512 - chs 128,16,2000 -c none -o irix53.chd

Make a CHD from the IRIX 5.3 Indy XFS bin/cue.

Remember to: "setenv -f eaddr 08:00:69:12:34:56" before starting the install, as MAME does not set a HOSTID, and the installer will crash otherwise.

Follow the ordinary instructions to install Irix 5.3.

Seems the emulation will be optimized in the future, though it would be interesting to run some benchmarks for fun on the current version!
ginza
O2

Trade Count: (0)
Posts: 21
Threads: 1
Joined: Feb 2019
Find Reply
02-28-2019, 07:35 PM
#4
RE: IRIX emulation is here!
Thanks Ginza for relaying the good news!

Today i've compiled MAME 207 from the source tarball and tried if:

- my three raw disk dumps from the SCSI2SD for IRIX 5.3 , 6.2 or 6.5 would work.
- i could get IRIX 6.2 installed on a clean CHD (Compressed Hard Disk).

Compiling is not that hard. Just get the dependencies (ubuntu/debian) installed like libsdl2-dev libsdl2-ttf-dev qt5-default and do:

Code:
make SOURCES=src/mame/drivers/indy_indigo2.cpp REGENIE=1 TOOLS=1 DEBUG=0 OPTIMISE=3

With the three images i had varying succes. 5.3 would boot and let me login onto the desktop, but no GL output from programs like gr_osview. 6.5 would not complete boot at all complaining about duplicate TLB's since i have made my images with an R5000@150MHz and a Newport XL8 while the emulator runs with an R4000 at 150MHz and uses the Newport XL24 as gfx. Apparently the CPU spec changed during the MAME development. I was sure the ip225015 is an R5000PC at 150 MHz...

So i decided to go for the IRIX 6.2 install route: Because IRIX 5.3 is relatively easy with only one CD required i was wondering if 6.2 would work. Since you can only specify one CDROM for now i first installed 6.2A from the PROM, booted, got a minimal shell, mounted the 6.2B disk, ran inst, did "keep * ; install default ; go" and rebooted:

[Image: IndyMame207.jpg]

This is a screenshot from my Ubuntu workstation with an instance of the ip225015 in MAME running IRIX 6.2. The speed is low, about 20-25% of the native indy clockspeed.
There are some driver alarms from the NG1 (Newport Graphics) about pixel DMA timeouts and bad addresses for the DMA transfer, but it actually works, even the GL programs like buttonfly and gr_osview. I haven't tried networking or serial connection (hello Challenge S) but running IRIX 6.2 on an emulated Indy alone is an incredible achievement and a big hats-off for Ryan Holtz and R Belmont and many others working on the MAME code for such a long time.

I now have to find a R4K@150MHz and redo IRIX 6.5 installation on an SCSI2SD so i can make a CHD out of it, which i can use for the emulated Indy.
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
03-03-2019, 06:48 PM
#5
RE: IRIX emulation is here!
This is pretty amazing! Been waiting for something like this for a long time. I'm definitely going to try it soon, even if the performance is low (it's a step forward though!)  Biggrin


:Indy: R4600 133MHz, 160MB RAM, 8-bit XL
drcd
:(){ :|:& };:

Trade Count: (0)
Posts: 6
Threads: 1
Joined: May 2018
Location: Denmark
Find Reply
03-04-2019, 01:19 PM
#6
RE: IRIX emulation is here!
I've been looking forward to something like this for a while. It would be great if someone could write up a detailed tutorial or make a video to show how to get the virtual machine up and running. I'm not at all familiar with MAME, so I'm a bit lost. Do you need a real Indy to copy a hard disk image from or do you just install everything from the IRIX install discs? And do you need a PROM image of some kind for this, or does the emulator have that built in? I was searching around in MAME for options to add these things but couldn't find the settings. I was using a pre-compiled MAME 207 on Windows 10 LTSC. 

And a big thank you to all the people who made this happen. You guys are doing fantastic work!

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
03-04-2019, 03:14 PM
#7
RE: IRIX emulation is here!
(03-03-2019, 06:48 PM)dexter1 Wrote:  This is a screenshot from my Ubuntu workstation with an instance of the ip225015 in MAME running IRIX 6.2. The speed is low, about 20-25% of the native indy clockspeed.
Oh, that's not too much, considering that your CPU runs with 3.6 GHz. What CPU are you using actually.

(03-03-2019, 06:48 PM)dexter1 Wrote:  I haven't tried networking or serial connection (hello Challenge S) but running IRIX 6.2 on an emulated Indy alone is an incredible achievement and a big hats-off for Ryan Holtz and R Belmont and many others working on the MAME code for such a long time.
I fully agree! It's just awesome to be able to emulate an Indy now.

Maybe a little off-topic, though it should fit in "SGI/MIPS / Emulation":
Say, did anybody already try to use OpenBSD or NetBSD with that emulation?

Indigo Indy Indigo2 R10000/IMPACT O2 Octane Octane2 Origin 200=Origin 200-Origin 200=Origin 200
johnnym
Tezro

Trade Count: (0)
Posts: 268
Threads: 9
Joined: Jun 2018
Find Reply
03-06-2019, 02:53 PM
#8
RE: IRIX emulation is here!
Hi

Can you share the disk img ?

Cheers

Eve
computron
O2

Trade Count: (0)
Posts: 35
Threads: 5
Joined: Jun 2018
Find Reply
03-06-2019, 08:22 PM
#9
RE: IRIX emulation is here!
(03-06-2019, 08:22 PM)computron Wrote:  Hi

Can you share the disk img ?

Cheers

Eve

Are you asking me? No, I don't have a disk image with NetBSD or OpenBSD for MAME.

Indigo Indy Indigo2 R10000/IMPACT O2 Octane Octane2 Origin 200=Origin 200-Origin 200=Origin 200
johnnym
Tezro

Trade Count: (0)
Posts: 268
Threads: 9
Joined: Jun 2018
Find Reply
03-06-2019, 09:05 PM
#10
RE: IRIX emulation is here!
I think eve means me. Um, i can share it since it's about 500 Mbyte as a compressed hard disk image so i better put it on my homepage tomorrow.

I will share the building and running of mame 207 later but getting the romfile is relatively easy, just search for ip225015.zip. While you're at it, get the other ones as well: ip224613.zip (R4600@133 PROM dump), ip204415.zip (Indigo1 R4400 PROM dump) and the ip244415.zip (Indigo2 R4400 PROM dump)

@Johnnym : Mine is a Core I5 4460 @ 3.4 GHz but MAME is not built multithreaded so everything runs on only one core. I think the main slowdown is the VDMA transfers from the main MC and the SCSI DMA's and Newport REX3 DMA's. If they would allow these transfers to run in separate threads or increase the amount of bytes transferred in between clockticks, that would be a nice boost in speed.
(This post was last modified: 03-06-2019, 10:29 PM by dexter1.)
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
03-06-2019, 10:22 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)