68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Basilisk II error message
Posted by: onlyonemac on 2012-09-08 10:38:39
I've been running the Basilisk II Macintosh emulator for a while now.

It seems, however, to return an error message from time to time. If I set the emulated mac's memory to less than about 50 MB, I get told, upon starting the emulator:

Not enough memory is available while using:
To disable extensions, restart and hold down the shift key.
If I click on either of the provided buttons, the machine hangs.

This is obviously an erronious message, because the real machine only had 4 MB of RAM, and, in any case, there's no label as to what the machine is trying to use (Not enough memory is available while using:

Posted by: onlyonemac on 2012-10-18 10:08:45
Bump... OK, it seems to be linked to virtual memory. Whenever I use the Memory control panel to turn on virtual memory, I get this when I reboot. Why?

Posted by: Gorgonops on 2012-10-18 16:12:31
I'm quite sure the CPU emulator used in BasilikII doesn't support MMU operations. So it's not going to work with virtual memory. Period. (Technically I think it stubs out a few of the memory remapping capabilities because those are needed to boot MacOS on any CPU after the 68000, but it's entirely missing the paging functionality needed for VM.) Thus I'd suggest simply not enabling virtual memory. On any modern computer you should be able to assign 128MB or more of real RAM to BasiliskII, which is more than enough for any 68k software. Your native OS can probably handle demand paging the BasiliskII process, should it be necessary, better than Apple virtual memory kludge can swap on the real thing.

1