Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: hp9k370 (hp9k3xx.cpp) has bus errors and memory faults booting HP-UX #8703

Closed
Pawlicker opened this issue Oct 14, 2021 · 4 comments

Comments

@Pawlicker
Copy link

MAME version 0.229 and versions near this such as 0.228 were able to boot and run HP-UX 9 to the point it had a page on the MAME Wiki for installing it. However in MAME 0.230 and newer (presumably after 69bb401 going by when the driver was touched), HP-UX 8 and 9 refuse to boot. While 8 crashed MAME once it got to the final part of the installation and 9 worked, now 8 locks the emulator up booting the install media while a installed 9 image has bus errors and coredumps that did not happen on 0.229. SoftPC for example (on the unsecured 9 software install CD) now throws a bus error while in 0.229 it works fine. Installing 9 fails as well, using a blank HDD file throws an unable to write to the device error and instantly reboots. Furthermore HP-UX creates some coredumps when booting my installed OS image on 0.236, while it doesn't on 0.229.

mame_cosL03uq59
mame64_FdZ9nrAVun
image

MAME version 0.232 was even more broken, as it locked up when it got to the memory part of the installer for 9, while crashing on 8's CD dramatically for a bus error.
image

@ghost
Copy link

ghost commented Oct 14, 2021

I'd be surprised if it was 69bb401

@pmackinlay
Copy link
Contributor

I've tracked the HP-UX 9 installation problem and maybe some of the others down to improvements to the 68881 fmovem instruction which don't work properly in a strange edge case presented by the hp9k370 software. The kludge referred to here fails when the register list is empty, causing the PC to not be advanced properly.

Hopefully resolved here.

@rb6502
Copy link
Contributor

rb6502 commented Nov 7, 2021

@Pawlicker can you confirm that current top-of-tree fixes your regressions?

@Pawlicker
Copy link
Author

I can confirm this particular regression has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants