MAME Power Macintosh 6100 boots!

Anything about Mac emulation that does not belong in the above categories.

Moderators: Cat_7, Ronald P. Regensburg

kikyoulinux
Tinkerer
Posts: 92
Joined: Sun Sep 28, 2014 11:53 am

MAME Power Macintosh 6100 boots!

Post by kikyoulinux »

Tried to emulate Power Macintosh 6100 with MAME 0.239.
The pre-installed System 7.6.1 CHD image does not support PowerPC Macs. Floppy images has to be set read only or you'll be greeted with "Fatal error: floppy dma write". System 7.1.2 and System 7.5 floppies throw a boom on startup. Luckily, System 7.6 floppy boots. But the mouse pointer does not move and the keyboard may not work too.

Image

Image

Image

Image
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

Pre-installed? MAME doesn't have any pre-installed CHDs. Also, this should probably not be in the 68k area of the forums. Good to know it boots though! Possibly with some finangling it can get the correct HID hardware too. My big question though is: can it run Mac OS 8.5-8.6? Because that's the current gap in qemu between qemu-system-m68k and qemu-system-ppc, and whatever they did to get it booting may be transferrable to qemu :)
User avatar
Ronald P. Regensburg
Expert User
Posts: 8036
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: MAME Power Macintosh 6100 boots!

Post by Ronald P. Regensburg »

adespoton wrote: Wed Jan 05, 2022 3:31 pmAlso, this should probably not be in the 68k area of the forums.
I moved the topic to this forum.
kikyoulinux
Tinkerer
Posts: 92
Joined: Sun Sep 28, 2014 11:53 am

Re: MAME Power Macintosh 6100 boots!

Post by kikyoulinux »

adespoton wrote: Wed Jan 05, 2022 3:31 pm Pre-installed? MAME doesn't have any pre-installed CHDs.
MAME provides some pre-installed System 6 and System 7 images on this wiki page.
https://wiki.mamedev.org/index.php/Driver:Mac_68K
Perhaps they are made for 68K machines.
kikyoulinux
Tinkerer
Posts: 92
Joined: Sun Sep 28, 2014 11:53 am

Re: MAME Power Macintosh 6100 boots!

Post by kikyoulinux »

MAME-labeled "imperfect" machines like Mac IIvx works. Virtual memory works. But FPU emulation isn't very accurate and causes some scroll bar issues.
Image

The non-working machine Quadra 700 doesn't boot from SCSI hard drive or CD. MAME provides an emulated nubus device "image" to access those images used by Mini vMac. Currently, the emulated Quadra 700 only boots from the nubus image device.
kikyoulinux
Tinkerer
Posts: 92
Joined: Sun Sep 28, 2014 11:53 am

Re: MAME Power Macintosh 6100 boots!

Post by kikyoulinux »

I managed to boot the system with a customized floppy image that contained a System suitcase from System 7.6 floppy and Finder from System 7.1.2 floppy.
Keyboard and mouse do not work currently.

Image
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

Might want to try again; it's still "not working" in MAME 0.273, but quite a bit of work has happened on the back end, including support for disk images, since 0.239 came out. Most 68k Macs are now either fully emulated, or "mostly" emulated, with some audio sync issues, including components that some 68k Macs share with some PPC Macs. Some work was done on Pippin emulation last March, which suggests that the 6100 should have most of its chips at least semi-functional now (with audio still being an issue of course).
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

I saw the announcement of a “breakthrough” in emulation of the NUBUS PowerMac models, which is exciting, but I’m not sure what that’s specifically referring to. Does “not working” mean it won’t do much other than boot to the desktop at this stage? Would a hybrid System folder still be necessary? I think 7.1.2 was the first version of the MacOS to include PowerPC system enablers.
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

almeath wrote: Sat Jan 04, 2025 5:10 am I saw the announcement of a “breakthrough” in emulation of the NUBUS PowerMac models, which is exciting, but I’m not sure what that’s specifically referring to. Does “not working” mean it won’t do much other than boot to the desktop at this stage? Would a hybrid System folder still be necessary? I think 7.1.2 was the first version of the MacOS to include PowerPC system enablers.
The hardware descriptions work, NUBUS works, PPC emulation works. So I think 7.1.2+ should mostly work now? But there may not be driver support for some components, and there could be chips that aren't properly emulated. You should be able to run with 68k drivers though, even though that'd be slower -- so ADB input devices should be fine, memory management should mostly work, and you might even get the basic monitors and networking to function. Audio's going to be either not there, or really choppy.

Worth testing, anyway; I didn't get time to do it myself over the holidays, but plan to try things out as I can find the time.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

I am happy to do some testing, but I cannot figure out how to get as far as booting a PowerMac 6100.

I am not sure what specific ROM I need and Ample does not have the machine listed, so I do not know the launch parameter either.

If I know the name of the required ROM set and the correct machine description for the command line, I should be OK from there.
joevt
Tinkerer
Posts: 45
Joined: Mon Feb 01, 2010 3:08 am

Re: MAME Power Macintosh 6100 boots!

Post by joevt »

almeath wrote: Sun Jan 05, 2025 8:00 am I am not sure what specific ROM I need and Ample does not have the machine listed, so I do not know the launch parameter either.

If I know the name of the required ROM set and the correct machine description for the command line, I should be OK from there.
The MAME source code on github should have the info.
Look at mamedev/mame/src/mame/apple/macpdm.cpp

Code: Select all

ROM_START( pmac6100 )
	ROM_REGION64_BE(0x400000, "bootrom", 0)
	ROM_LOAD( "9feb69b3.rom", 0x000000, 0x400000, CRC(a43fadbc) SHA1(6fac1c4e920a077c077b03902fef9199d5e8f2c3) )
ROM_END

} // anonymous namespace


COMP( 1994, pmac6100,  0, 0, macpdm, macpdm, macpdm_state, driver_init, "Apple Computer", "Power Macintosh 6100/60",  MACHINE_NOT_WORKING )
It's a 4 MiB file named 9feb69b3.rom
You can find it in archive sites. 9feb69b3 is the Apple checksum of the ROM. md5 is b40998471e33d802b350f699127e36df.

Does Ample not list computers that are marked as MACHINE_NOT_WORKING ? I think The Ample source code has not been updated to include the PowerPC NuBus machines?
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

Thanks, I have located the ROM and was able to successfully get to a very crackly boot chime, and only when specifying 8MB of RAM. Any other RAM values cause errors along the lines of "Fatal error: unmap_generic: In range 1000000-ffffff mirror 3000000, start address is after the end address".

I could not boot using the Legacy Recovery CD - I just get the floppy icon with a question mark. Also, pressing the key combination to get to the MAME settings menus does not appear to work, or it works so slowly that the menu is essentially unusable and I need to control-alt-delete to quit MAME via the Task Manager.

I tried booting directly off pre-installed hard drive images with System 7.1.2, 7.6.1 and 8.1, but all give me the error that the startup disk will not work on this Macintosh.

I then attempted to boot off a CD image of the System 7.5 CD specifically for the PowerMac 6100/60, which just gives me the floppy icon with the flashing question mark.

Lastly, I tried constructing a hybrid System Folder as mentioned above, copying a 7.6.1 System Suitcase into a 7.1.2 System Folder, but that also resulted in an error that the startup disk will not work on this Macintosh.

I've exhausted all ideas for now. Obviously this is just for the purposes of tinkering and experimentation, as I have no expectations of success until more work is completed on the core emulation.
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

almeath wrote: Sun Jan 05, 2025 5:15 pm Thanks, I have located the ROM and was able to successfully get to a very crackly boot chime, and only when specifying 8MB of RAM. Any other RAM values cause errors along the lines of "Fatal error: unmap_generic: In range 1000000-ffffff mirror 3000000, start address is after the end address".

I could not boot using the Legacy Recovery CD - I just get the floppy icon with a question mark. Also, pressing the key combination to get to the MAME settings menus does not appear to work, or it works so slowly that the menu is essentially unusable and I need to control-alt-delete to quit MAME via the Task Manager.

I tried booting directly off pre-installed hard drive images with System 7.1.2, 7.6.1 and 8.1, but all give me the error that the startup disk will not work on this Macintosh.

I then attempted to boot off a CD image of the System 7.5 CD specifically for the PowerMac 6100/60, which just gives me the floppy icon with the flashing question mark.

Lastly, I tried constructing a hybrid System Folder as mentioned above, copying a 7.6.1 System Suitcase into a 7.1.2 System Folder, but that also resulted in an error that the startup disk will not work on this Macintosh.

I've exhausted all ideas for now. Obviously this is just for the purposes of tinkering and experimentation, as I have no expectations of success until more work is completed on the core emulation.
This is curious to me, as it indicates MAME 6100 emulation is just about in the same place today that it was in DingusPPC a year ago. I wonder if it's bumping up against similar issues with similar fixes?

https://68kmla.org/bb/index.php?threads ... mac.45621/ suggests that might be the case, as RB notes in https://68kmla.org/bb/index.php?threads ... ost-505416 . Issue appears to be to do with the SCSI implementation? https://68kmla.org/bb/index.php?threads ... ost-515952 shows the point at which DingusPPC finally got past that issue and can boot -- but still has the 8MB RAM restriction. https://68kmla.org/bb/index.php?threads ... ost-527598 shows when that got fixed in DingusPPC. Hopefully that's stuff that RB can eventually use (MAME does accept commits, so someone else could theoretically fix this too).
Arbee
Nice Guy
Posts: 54
Joined: Mon Sep 13, 2010 12:09 pm

Re: MAME Power Macintosh 6100 boots!

Post by Arbee »

Just to clarify, there is some semi-working support checked in now. The big issue is that our PPC core wasn't reporting unrecognized instructions, it was just throwing a PPC illegal instruction exception silently. Installing MacsBug helped to figure out what was actually happening, and adding support for the POWER instructions allows 7.1.2 and 7.5.0 to boot. 7.5.3 and later hang on some sort of SCSI issue (I think). You can play Wolfenstein full-screen 640x480 and it's super fast, but the sound is a little scratchy.

When MAME 0.274 comes out at the end of January it'll have at least this support, and if we figure more out that'll be in there too. I really need to finish the PowerBook Duos first though (210, 230, 250, 270c, 280, and 280c all boot and run now - I've emulated the "PG&E" power manager chip, by running its actual 68HC05 code of course).
Arbee
Nice Guy
Posts: 54
Joined: Mon Sep 13, 2010 12:09 pm

Re: MAME Power Macintosh 6100 boots!

Post by Arbee »

The 7.1.2 version of the Power Macintosh CD works and can be used to install a 6100 from zero. This disc is "pwrmaccd" in the MAME software list library if you have that, otherwise it's pretty easy to find. Note that the resulting 7.1.2 hard drive will also boot a Quadra 700 (and probably other models) in MAME, which gives you some options.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

I located the 7.1.2 CD for the PowerMac 6100, and this time I get as far as briefly seeing the "Welcome to Macintosh" message before it abruptly fails with "System" error Type 11. I also try with extensions off (holding down shift) to the same effect. Likewise, the error occurs whether I try to boot off the CD or have the system (installed from that CD) on a hard drive image. The CD is described as: "Power Macintosh 6100 series, 7100 series, 8100 series [SSW Version 7.5] [CD Version 3.0] [691-0539-A] 6910539A 8/95 3RA2"

I am using MAME 0.273 for Windows. Am I meant to be using a different build? I have not had any success in compiling MAME from the source and there is no access to daily builds anywhere that I can find.

BTW, I don't mind waiting for the 0.274 release - I am more puzzled as to why I am experiencing issues when others are having some success.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

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.
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

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.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

Are you referring to the one labelled as "System 7.1.2P (Performa 630CD, 635CD, 638CD) (CD)" on the Macintosh Repository?

If so, I tried booting off this one and got the message: "This startup disk will not work on this Macintosh model. Use the latest Installer to update this disk for this model. (System 7.1 does not work on this model; you need a newer version that does)"

The only other 7.1.2 CD I can find is "System 7.1.2 (LC, Quadra 630) (CD)". That one fails too. Exact same error as above.

I have gone through three different 7.1.2 CDs, one of which is specifically for the PowerMacs, so I appear to be out of options for now. I do not know how to go about finding "pwrmaccd" in the MAME software list library, if it in fact differs from the three images I have tried. I only know of how to obtain images from the Macintosh Repository, Macintosh Garden, or Internet Archive.
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

almeath wrote: Thu Jan 09, 2025 3:54 am Are you referring to the one labelled as "System 7.1.2P (Performa 630CD, 635CD, 638CD) (CD)" on the Macintosh Repository?

If so, I tried booting off this one and got the message: "This startup disk will not work on this Macintosh model. Use the latest Installer to update this disk for this model. (System 7.1 does not work on this model; you need a newer version that does)"

The only other 7.1.2 CD I can find is "System 7.1.2 (LC, Quadra 630) (CD)". That one fails too. Exact same error as above.

I have gone through three different 7.1.2 CDs, one of which is specifically for the PowerMacs, so I appear to be out of options for now. I do not know how to go about finding "pwrmaccd" in the MAME software list library, if it in fact differs from the three images I have tried. I only know of how to obtain images from the Macintosh Repository, Macintosh Garden, or Internet Archive.
When you find a 7.1.2P CD, run the sha1sum command line tool over it and compare the resulting value to the one I listed; if it's a match, the CD should work. Sounds like so far, you've tried PPC CDs that have a SCSI driver that doesn't work (yet) and a Performa CD that's 68k only. What you need is the CD that installs on 68040 and PPC Macs, with the sha1sum listed above.

Alternatively, you could try running the PPC CD in DingusPPC, create a booting disk image there, and then mount the image you've created in MAME. Since both of them are emulating a 6100 and trying to be hardware exact, an image created in DingusPPC should work in MAME too.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

I have searched high and low for a System 7.1.2 CD image that matches the checksum above.

All I can find so far is listed below, obtained from the aforementioned sites. Clearly, none of these are the one I need. That specific CD must be exceedingly rare and/or hiding inside online forums rather than through anything locatable via a search engine.

Since 7.1.2P was a variant for specific Performa models, which were not PowerPC machines at that time (1994), I am not surprised when the error returned is that the system is not compatible with the model of Macintosh I am booting.

1. Power Macintosh 7500/100 and 8500/120 | Apple Macintosh CD | Programs
SHA-1: E2E145331128C05C11C991B4805787A015375981

2. Mac OS 7.1.2 for Macintosh LC/Quadra 630
SHA-1: 401566C96061A865419762E14487ADE336AAF102

3. System 7.1.2 (6100/60, 6100/60AV, 7100/66, 7100/66AV, 8100/80, 8100/80AV) (691-0187-A) (CD)
SHA-1: 12146F8F19D94C882FB81A79687692F37C4791FE

4. System 7.1.2P (Performa 630CD, 635CD, 638CD) (CD)
SHA-1: D80DF8016976EC32C001913BBB3B471047C43F42

5. Mac OS 7.5.5, 7.5.2 and Macintosh SSW 7.1.2 (UK) for Power Mac 6100, 7100, 7300, 7500, 8100, 8500, 8600, 9600
SHA-1: 0EDD70B11A0DE7BB3652172C6C2AFC7DE056BF09

6. System 7.1.2 (Disc 2.0) (6100/60, 6100/60AV, 7100/66, 7100/66AV, 8100/80, 8100/80AV) (691-0276-A) (CD)
SHA-1: 76C441EE1F83C83597F93A8982B650901133BBB8

7. System 7.1.2P (Disc 1.0) (Performa 636CD) (CD)
SHA-1: C28225AC7906508BC82D3F567F3EF5B313F77A02

8. System 7.1.2 (Disc 1.0) (LC 630, Quadra 630) (CD)
SHA-1: EB98429E58BD39896BE6C3F4DA46F0D317D2D11D

9. 691-0187-A,,Power Macintosh 6100-60-60AV, 7100-66-66AV, and 8100-80-80AV. SSW v7.1.2 (CD)
SHA-1: 66D8ECDF5EB9B42F2467E03614541E43986C78D1
User avatar
adespoton
Forum All-Star
Posts: 4597
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: MAME Power Macintosh 6100 boots!

Post by adespoton »

Well now... I just checked the 7.1.2P iso I usually use (Macintosh System 7.1.2P CD v1.0.iso - comes with the Performa 636CD) and its xsum is a61f66119ffb6a2760c62790d2da2fee69547c9a. Not helpful here.

And then I checked https://infinitemac.org/1994/System%207.1.2?ram=8M with the PM6100 and it's getting a bus error. Works with the standard 7.5.5 image though. Something is going on there though, because I suspect InfiniteMac isn't actually using DingusPPC PM6100 but instead is using the default (which I believe is Basilisk II Q950).

Worth trying with a local build of DingusPPC, get your PPC 7.1.2 disc booting, create a bootable HD, and then boot MAME from that, as I suggested before.
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

I would be happy to try that, but I have run into problems with Dingus PPC. I cannot get any hard drive images to work with that program. I can only boot off a System CD image.

I tried creating HDA images using Disk Jockey (with the default Blue SCSI setting), and while they are recognized by Dingus (I can see it listed in the terminal), it tells me the disk is damaged and needs to be initialized. If I select the option to initialize the disk in MacOS, it sits on the "Creating Directory" message, apparently doing nothing for 2 minutes or so and then crashes out with no error message. I am booting with a 6100/60 and a System 7.1.2 CD image.

I also tried pre-formatting the HDA image in SheepShaver but then when booting off the System CD image, after seeing "Welcome to Macintosh", Dingus will never get to the desktop (I just get the desktop background with no icons) and so I have to force quit. Presumably it is freezing up in the process of trying to read the HFS formatted HDA image.

Either way, it is not playing nice with any hard drive image created by the usual means.
joevt
Tinkerer
Posts: 45
Joined: Mon Feb 01, 2010 3:08 am

Re: MAME Power Macintosh 6100 boots!

Post by joevt »

DingusPPC requires hard disk or CD disk images to contain all the parts of the disk (including Apple Partition Map).

SheepShaver works with volume images (single partition, no partition map).
For disk images with a partition map, SheepShaver will only work with the first HFS partition.
SheepShaver doesn't allow creating/modifying the Apple Partition Map of a disk image.

DingusPPC can boot 7.1.2 floppy.
DingusPPC requires a fix for booting 7.1.2 (HD or CD) because 7.1.2 does some SCSI DMA stuff in an unexpected order.
https://github.com/joevt/dingusppc/comm ... 3aef4165f8

DingusPPC will crash if an app in the guest OS tries to read more than 2MB at once.
https://github.com/joevt/dingusppc/comm ... 7721d7b9df

I would stay away from Disk Utility or HDSC Setup or any other SCSI apps for now.

I use Leopard 10.5.8 in a virtual machine to create disk images:

Code: Select all

mkdir -p ~/Disks
hdiutil create -size 1g -layout "UNIVERSAL HD" -fs HFS -volname "System7.1.2" ~/Disks/System7.1.2.dmg

# Fix Driver Descriptor Map.
for thediskimg in \
"~/Disks/System7.1.2.dmg" \
; do
	echo "$thediskimg"
	dd if="$thediskimg" bs=1 skip=0x10 count=34 2> /dev/null | xxd -p -c 34
	xxd -p -r <<< '0004 0000 0040 0017 0001 0000 0078 0024 ffff 0000 00b0 0015 0701 0000 00e8 0022 f8ff' | \
		dd if=/dev/stdin of="$thediskimg" oseek=0x10 bs=1 conv=notrunc 2> /dev/null
	dd if="$thediskimg" bs=1 skip=0x10 count=34 2> /dev/null | xxd -p -c 34
done
almeath
Apple Corer
Posts: 216
Joined: Mon Jul 18, 2005 5:42 am
Location: Australia

Re: MAME Power Macintosh 6100 boots!

Post by almeath »

joevt wrote: Fri Jan 10, 2025 7:09 am I use Leopard 10.5.8 in a virtual machine to create disk images:
Thanks for this information. I have access to a Mac running Mojave, so I will try creating a DMG image formatted to HFS+ and see if that works. I know Mojave is a lot more recent than Leopard, but perhaps it will work.

Of course, the whole point of doing this is to install System 7.1.2 in a "Power Mac 6100" and then see if I can transfer that system onto a disk format that will work in MAME. So I will need to use SheepShaver to then move the installed operating system from the DMG (if it works) to an HDA image.

I may end up back at square one, but it's worth a go.

EDIT - so HFS is deprecated in newer versions of MacOS X. Does anyone have a DMG formatted in HFS (hence readable by DingusPPC) that they would be willing to share? It would not matter what version of MacOS is on it, as long as I can get it to show up on the desktop in Dingus when booting off the 7.1.2 CD - then I can hopefully format and do a fresh install of the OS.
Last edited by almeath on Fri Jan 10, 2025 10:40 am, edited 1 time in total.
Post Reply