cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.38k stars 288 forks source link

For Darwin, the default addressing mode is memory banks. #205

Closed rickyzhang82 closed 4 years ago

rickyzhang82 commented 4 years ago

When the host OS is Mac OS X, direct addressing in BII doesn't guarantee that the allocated memory for frame buffer base address in the host (FrameBaseHost) satisfies the following conditions:

This may cause the random hang problem where the allocated frame address failed to meet the conditions above.

Because the direct addressing mapping is a simple math:

RamAddrMac = RamAddrHost - RamBaseHost.

See details: https://github.com/cebix/macemu/issues/203

Signed-off-by: Ricky Zhang rickyzhang@gmail.com