almeath wrote: Wed Jan 08, 2025 3:56 pm
I made a typo above, but nevertheless I get the same Error Type 11 when booting off
either the CD image or hard drive install from
both the 7.1.2 and 7.5 CDs for the Power Macintosh 6100/7100/8100 series. I also tried three different versions of the 7.5 CD.
I briefly see "Welcome to Power Macintosh" so I do not think I am missing any crucial files to emulate the machine, or I would not get past the launch command.
This is my launch command:
D:\
MAME\
mame.exe pmac6100 -ramsize 8M -rompath D:\
MAME\roms -nvram_directory D:\
MAME\nvram -hard1 D:\
MAME\drives\pmac6100.hda -cdrom D:\
MAME\media\pm7.1.2.iso
Note: The above launch command results in the Error Type 11 even if I use a blank HD image, or even no HD image specified - so direct boot from the CD fails with the exact same error.
The error seems to be the exact same one reported in the original post above. Also, I tried using a more recent build of
MAME 0.273 from 5 January with the same results.
From the hash list, I see:
<software name="pwrmaccd">
<description>Power Macintosh 6100/7100/8100 CD (System Software 7.1.2P) (US English)</description>
<year>1994</year>
<publisher>Apple</publisher>
<info name="usage" value="Runs on most 68040s and NuBus Power Macs" />
<sharedfeat name="compatibility" value="MC68040,PPC601" />
<part name="cdrom1" interface="cdrom">
<diskarea name="cdrom">
<disk name="pwrmaccd" sha1="8fd11f42298af430a4b7e3b056336f2e6eec5ce2"/>
</diskarea>
</part>
</software>
Have you found the disc image with that SHA1 hash? It's for 7.1.2P, which is different from 7.1.2. While I'd expect the CD that came with the 6100 to work, it's not the one that was tested by RB.
Thinking about it some more, this does suggest a difference between the PPC 7.1.2 CD and the 7.1.2P CD -- and I've come across that difference before: different driver in the driver partition.
https://preterhuman.net/macstuff/techno ... n1011.html has a useful bit on Type 11 errors on PPC:
A Type 11 error means an illegal interrupt vector on a 680x0 machine. On a Power Macintosh, a Type 11 error is any exception in native code not handled by one of the installed exception handlers. On a Power Macintosh, a Type 11 error can be almost any error that occurred in native code. Type 11 errors may include
an address error
a bus error
an illegal instruction error that occurred in native code.
The exception handlers installed for native code don't correctly handle the particular condition which was raised, and the error is returned back to the System Error manager via the Mixed Mode manager. The System Error manager maps all such exceptions to the system error Type 11 Error.
If you install Macsbug 6.5.2 or later, some Type 11 errors may be reported as a PowerPC unmapped memory exception. This is equivalent to a bus error, i.e., an error indicating your program is accessing memory that doesn't exist.
The Modern Memory Manager was designed to be less forgiving than the classic (68K) Memory Manager. Disposing of something twice, disposing of memory that was never allocated, and other memory handling problems will often generate a Type 11 error, while on a 68K machine the problem may go unnoticed.
IIRC, the SCSI driver on the 7.1.2P CD was in 68040, so that it could boot on 040 Macs as well as PPC Macs. The SCSI driver on the PPC 7.1.2 CD was at least partially in PPC I believe; it's possible it is probing something that isn't yet handled in the
MAME PPC SCSI emulation, or it could be a memory addressing issue.