mamedev / mame

MAME
https://www.mamedev.org/
Other
8.25k stars 2.02k forks source link

SGI Indigo 2 w/IRIX 4.0.5 stuck in a loop during Install #7266

Open fraser125 opened 4 years ago

fraser125 commented 4 years ago

Thank you for the amazing work on supporting these SGI machines! I'm attempting to install IRIX 4.0.5 because it may perform better since it's intended for older SGI's. The install get's pretty far along, The disk can be formatted, etc. The files copy right up to the 100% mark but the screen doesn't "complete" and move on to the next step. image

I ran it with the built-in MAME debugger and it's stuck in a very small loop looking for a "32-bit word" to be zero. It's actually 0x01 and hasn't changed after several hours of emulation.

The entire loop and the relevant registers and their contents are also visible in this screenshot. It's the lw that is breakpointed on line 0x880160C0 and the bne on line 0x880160C8. image

Additional Details: I'm on Windows 10 using mame64.exe version 0.224 chdman createhd -ss 512 -chs 5274,20,218 -c none -o Indigo2_IRIX_4.05.chd

mame64 indigo2_4415 -debug -window -mouseprovider rawinput -ui_mouse -gio64_gfx xl24 -harddisk1 .\roms\Indigo2_IRIX_4.05.chd -cdrom ".\roms\IRIX 4.0.5H.iso"

The following search should provide the IRIX 4.0.5H.iso SGI IRIX CD set "812-0064-018"

angelosa commented 3 years ago

I ran it with the built-in MAME debugger and it's stuck in a very small loop looking for a "32-bit word" to be zero. It's actually 0x01 and hasn't changed after several hours of emulation.

A typical scenario where it's expecting to be fed with an irq event.