www.gryphel.com/c/minivmac/extras/ejctquit - feedback


a Mini vMac Extra


ejctquit-1.0.1.zip (info) a zipped hfs disk image and checksum file. The disk image can be mounted with Mini vMac. Includes source code.

If you place the "EjctQuit" application in the "Shutdown Items" folder within the 7.5.x "System Folder", then Mini vMac will automatically quit when you shut down the emulated machine.

AutQuit7 can accomplish pretty much the same thing. However, if you don’t require the extra features of AutQuit7, and do require System 7.5, EjctQuit may still be useful. Since EjctQuit doesn’t run until shut down, it doesn’t have the (small) memory usage of AutQuit7, or the (slight) chance of incompatibilities.

All the application does is to set a flag within Mini vMac, which causes Mini vMac to quit when the last disk is ejected. So it will also work to place it in the "Startup Items" folder of earlier System 7 versions (which don’t have a "Shutdown Items") folder, but the disadvantage is that Mini vMac will quit if you eject the startup disk, and no other disks are mounted.

EjctQuit is a variation of AutoQuit, with the code for shutting down the machine taken out, since the "Shut Down" command already takes care of that. It is also an ordinary application, rather than a file with the same type as the Finder.

If the shift key is held down, EjctQuit will have no effect. (Mini vMac won’t quit, so you can reset the emulated machine and mount another boot disk image.)

EjctQuit will check to make sure that it is running inside of Mini vMac, and do nothing if it isn’t. This means it is safe to use a disk image with EjctQuit installed in other emulators.

See the Compiling page for instructions on compiling EjctQuit from the source code.

You can redistribute EjctQuit and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the included file COPYING.

EjctQuit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.


October 6, 2012

As reported by "David", it didn't work in the Basilisk II emulator. Copied fix from the Mini vMac build system for the code intended to detect when running in Mini vMac.


If you find EjctQuit useful, please consider helping the Gryphel Project, of which it is a part.

gryphel logo, 1K
www.gryphel.com/c/minivmac/extras/ejctquit - feedback
copyright (c) 2012 Paul C. Pratt - last update 10/6/2012