Skip to content

machines: repeat 4 MB ROM in 16 MB mapped space - #241

Merged
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-rom-mirror
Oct 14, 2026
Merged

dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-rom-mirror

Conversation

@mihaip

@mihaip mihaip commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Per the Hammerhead ERS the ROM region is 0xFF000000-0xFFFFFFFF. We were only mapping the ROM at the uppermost 4 MB of that (0xFFC00000). The fact that copies are returned at other addresses in that range is not explicitly stated in the ERS, but it does appear to be empirically true. It's also corroborated by the 9600 wiring diagram, which shows only enough address bits for 4MB being used for the ROM.

Also does the same fix for Platinum/7200, which has the same mapping and address bits, and adds some notes about this to the documentation.

Fixes SheepShaver in BeOS guests, which was using 0xFF000000 to get at the hardware ROM.

Per the Hammerhead ERS the ROM region is 0xFF000000-0xFFFFFFFF. We were
only mapping the ROM at the uppermost 4 MB of that (0xFFC00000). The fact
that copies are returned at other addresses in that range is not
explicitly stated in the ERS, but it does appear to be emprically true.
It's also corroborated by the 9600 wiring diagram, which shows only enough
address bits for 4MB being used for the ROM.

Also does the same fix for Platinum/7200, which has the same mapping and
address bits, and adds some notes about this to the documentation.

Fixes SheepShaver in BeOS guests, which was using 0xFF000000 to get at
the hardware ROM (see https://github.com/cebix/macemu/blob/96e512bd6376e78a2869f16dcc8a9028bce5ee72/BasiliskII/src/BeOS/SheepDriver/sheep_driver.c#L454).
@dingusdev
dingusdev merged commit 049f8b6 into dingusdev:master Oct 14, 2026
7 checks passed
@mihaip
mihaip deleted the upstream-rom-mirror branch October 15, 2026 00:15
mihaip added a commit to mihaip/infinite-mac that referenced this pull request Oct 15, 2026
Picks up dingusdev/dingusppc#241 which fixes SheepShaver running under BeOS
guests.

For #237
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

Successfully merging this pull request may close these issues.

2 participants