Closed darkstar closed 1 year ago
Does revert REX3 change commit help?
The screen shift can be resolved by setenv monitor h
in the PROM. My bad, I remember doing it in the past to fix the issue.
I'm currently bisecting the crash during the login screen
This is the commit causing the crashes on the login screen
0b513144cbe45330659dae245acc09b2ba7dd368 is the first bad commit
commit 0b513144cbe45330659dae245acc09b2ba7dd368
Author: Jiaxun Yang
Date: Mon Nov 14 16:19:27 2022 +0000
newport: Split out iterator setup stage (#10546)
In REX3, iterator setup should be a dedicated operation that
is only execuated if
a). A Draw command is execuated with DoSetup at DRAWMODE0 set
or
b). A host write is issued to SETUP register
At setup stage REX3 will calcuate quadrant for a block or span
drawcall or octant together with some Bresenham parameters for
a line drawcall.
Linux newport_con driver is rely on this behavior to use quadrant
calculated by previous draw call to render characters.
Fixes: #9667
src/devices/bus/gio64/newport.cpp | 70 ++++++++++++++++++++++++++++++++++++---
src/devices/bus/gio64/newport.h | 1 +
2 files changed, 67 insertions(+), 4 deletions(-)
Will try to debug.
Running the indy_4610 driver with the IRIX 6.5 softlist HDD shows a shifted display and ultimately crashes MAME 0.250:
Steps to reproduce:
mame indy_4610 irix_6_5_hdd
(also happens with at leastirix_6_5_22_hdd
andirix_5_3_hdd
softlist entries andindy_4613
andindy_5015
drivers)setenv -f eaddr 08:00:69:12:34:56
or similar)MAME crashes as soon as it tries to display the login screen, with the following exception in the RB2 device:
Things to note:
irix_6_2_hdd
) gives a different crash in the recompiler, but that might be due to the fact that this version of IRIX was not supposed to run on Indy's anyway:I will build a debug build from git and try and reproduce it there, but maybe someone else with a debug build handy can already confirm it
Pinging @FlyGoat and @MooglyGuy (this might be related to the recent REX3 changes)