3 ms·
> With BasiliskII things are easier as it has a drive mapped to the app’s file sharing folder. You can use the Share Sheet in the same way as Mini vMac, but you
by klodolph 6y ago
> With BasiliskII things are easier as it has a drive mapped to the app’s file sharing folder. You can use the Share Sheet in the same way as Mini vMac, but you can also simply copy/move a file to the BasiliskII folder and it will be accessible inside the emulator.
Hidden inside this innocuous statement is a bit of black magic fuckery.
It's easy enough to present a block device to an emulated system and let the emulated system run its usual filesystem stack on top of raw block storage. That's what Mini vMac does. Basilisk II is a bit different--it installs a filesystem into the guest through the Mac OS filesystem manager on the guest side.
Just take a look at this code:
https://github.com/cebix/macemu/blob/master/BasiliskII/src/extfs.cpp https://github.com/cebix/macemu/blob/master/BasiliskII/src/e...
Crazy.