Access real hard disks - or their images

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

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

Re: Access real hard disks - or their images

Post by adespoton »

Everything said so far is true. What's confusing is that things can be limited by the following:
HFS vs HFS+ drive partition
OS version
Mac OS ROM

So as a result, under HFS, I believe you can actually address up to 4GB on a single partition. Unfortunately, most ROMs won't be able to boot off of anything above 2GB. And the OS version has to be able to format the partition and reference the data on it.

Bringing this back to BII, it of course uses virtual storage, and the data is referenced inside some sort of integer, and the ROM is in reality a patched one. As a result, it has its own limitations on what can be booted from and what can be addressed, totally separate from the capabilities of HFS or HFS+, AND totally separate from the OS version being used.

To address more than 4GB, you need a ROM that can do it, an OS that can do it, and a partition format that can do it. Same goes for the 2GB limit, and the 2GB bootable partition limit.

But if anyone wants to do an exhaustive test, I'd be interested in the results :D

The bit about data forks and resource forks is also key -- there's a separate maximum for each, as well as a max file limit imposed by the OS AND a max file limit imposed by the partition format. This is where 7.5.2 and later removed a lot of the limits at the OS level. But you still need the ROM and FS support.
salaxi54
Student Driver
Posts: 12
Joined: Wed Mar 03, 2021 5:15 am

Re: Access real hard disks - or their images

Post by salaxi54 »

Question: are disk images interchangable between emulators? eg. Basilisk, Shapeshifter, vMac etc.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Access real hard disks - or their images

Post by Ronald P. Regensburg »

Mostly yes. Depends on the size and the formatting. Also depends on the System/MacOS version running in the emulator. As you can deduce from the above discussion, Mac OS Standard formatted and moderate size is the most compatible.
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Access real hard disks - or their images

Post by adespoton »

And as I just posted in a different thread, Mini vMac treats the image as a floppy with an alternate serial identifier, so aliases will break. I seem to recall this is also true for CD images.
Post Reply