mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 02:29:49 +00:00
[Michael Schmitt]
Attached is a patch to SheepShaver, to fix a SIGSEGV crash that occurs when booting a new machine with OS 7.5. One of the bytes in the xPRAM portion of the NVRAM controls which version of the system memory manager is used by OS 7.5: the legacy 680x0 memory manager or the PPC memory manager (aka the "Modern Memory Manager"). OS 7.5 is supposed to be able to use either one, but for some reason SheepShaver crashes on boot if the 680x0 version is used. Later Mac OS versions don't have this problem. They don't support the 680x0 version, so they force the PPC version to be used. The fix is to have SheepShaver initialize the NVRAM to use the PPC memory manager. Note: This is supposed to be the default in OS 7.5. This affects when a new NVRAM file is used, or when it is initialized after doing zapping the PRAM.
This commit is contained in:
parent
cb55b15d39
commit
0075c1faab
@ -103,6 +103,7 @@ bool InitAll(const char *vmdir)
|
||||
XPRAM[0x130b] = 0xcc;
|
||||
XPRAM[0x1376] = 0x00; // OSDefault = MacOS
|
||||
XPRAM[0x1377] = 0x01;
|
||||
XPRAM[0x138a] = 0x25; // Use PPC memory manager ("Modern Memory Manager")
|
||||
}
|
||||
|
||||
// Set boot volume
|
||||
|
Loading…
Reference in New Issue
Block a user