Skip to main content
Home Forums 68kMLA SE/30 VRAM Capacity W/ 24 Bit Addressing? — #2
Post #2 by yuhong
Source Forum68kMLA
CategoryHardware
Post DateThu, 1 Apr 2010 - 02:37
Original URLhttps://68kmla.org/bb/threads/se-30-vram-capacity-w-24-bit-addressing.19768/
Post
Luckily, Apple derived a solution to this when it created 32-bit QuickDraw, and it is quite simple. Every time 32-bit QuickDraw access VRAM in the slot space, it uses a trap (SwapMMUMode) to temporarily switch the MMU into 32-bit mode, and when they are done, they use the same trap to switch back into 24-bit mode. There is also a trap (StripAddress) to strip out the flags from addresses that come from 24-bit mode so they are usable in 32-bit mode. This generally works, but on the original Mac II ROM, there was a bug that prevented more than 1 MB of slot space from being allocated per card. Apple released revised ROMs in November 1987 to fix this.

mp.ls