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


a Mini vMac Extra


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

ClockFix is a background-only application for System 7 or later to use in Mini vMac to keep the emulated clock accurate. As described in the Real Time Clock documentation, the clock of the emulated computer may become inaccurate when the emulation is paused, such as when switching to another application and then back to Mini vMac. One work around is to open the Alarm Clock desk accessory. ClockFix is an alternative that may use less time and space. It also has the advantage of not appearing in the list of running applications in the Application menu, and the “Hide Others” command of that menu won’t disable it.

To use ClockFix, place it in the “Startup Items” folder inside the “System Folder” and restart.

About once a second (by the emulated computer’s time), ClockFix calls “ReadDateTime” which reloads the copy of time kept in memory from the Real Time Clock.

ClockFix does use some time and space, so it should not be used if an inaccurate clock doesn’t matter. You can use it if you want the modification dates of files you are editing to be accurate. You would not generally need to use it for games.

Warning: according to Apple’s Technical Note TN1126, “All applications and Background Only Applications should have a memory partition set to at least 64K. This ensures there is always enough room for the system and extensions to work in the application’s heap.” The memory partition for ClockFix is set to 10K, and it seems to work, but it is possible there could be a problem depending on what extensions are installed. If so you can increase the memory partition of ClockFix.

ClockFix should not be used on a real Macintosh. For one thing, it would be pointless. For another, a part of the Macintosh Family Hardware Reference seems to raise the possibility that ClockFix might drain the clock’s battery faster.

If you use AutQuit7, then ClockFix is not needed, since AutQuit7 optionally includes all the functionality of ClockFix.

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

You can redistribute ClockFix 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.

ClockFix 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.


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

gryphel logo, 1K
www.gryphel.com/c/minivmac/extras/clockfix - feedback
copyright (c) 2010 Paul C. Pratt - last update 10/21/2010