On Sun, Dec 15, 2019 at 09:36:33AM +1100, Finn Thain wrote:
I believe that the reason for the limitation is the Mac memory map, as Laurent pointed out in the issue tracker, https://github.com/vivier/qemu-m68k/issues/42 It's theoretically possible to use NuBus slot space for additional RAM. The super slot space ($6000 0000 thru $EFFF FFFF) is 2304 MB in size and the standard slot space ($F100 0000 thru $FFFF FFFF) is another 239 MB. I'm not sure about any hardware designs that took advantage of this possibility (Radius Rocket perhaps?).
On the fundamental issue, yes the Mac uses $0000 0000 to $3FFF FFFF for RAM, with $4000 0000 the start of ROM and $5000 0000 the start of the internal devices. The Radius Rocket does have RAM, but I never checked if it was visible from the host. It seems like it should be to do a few of the things it does. I've never tried to poke at mine while in Linux. I'll add it to the list of things to try. Even then, it would be slower than the RAM directly on the processor bus. We could probably emulate a fake NuBus card in qemu that is just memory in the super slot space for that card. Can a regular driver add RAM, or would we have to detect that in the core code somewhere? Brad Boyer flar@xxxxxxxxxxxxx