minivmac.sourceforge.net/extras/clockfix - feedback
copyright (c) 2007 Paul C. Pratt - last update 8/23/2007

ClockFix



Download
clockfix-1.0.0.zip (24K) 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.

If you find ClockFix useful, please consider helping the Mini vMac project, of which it is a part.

Here is the md5 checksum for the download:

-----BEGIN PGP SIGNED MESSAGE-----

35d0a939332dad78616d3b6c767b9646 clockfix-1.0.0.zip

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAwUBRr087diugru7WJg5AQFT5QQAxn1rOxTK7U6GAyCnaJGNncP6/tDflfOZ
OFvFRAotRjAZxganm/Vqqy37rM07GRg90Ped7xxs1/ePaNhiTjs/H4hHX8I3yAI2
IxQwGfmgY90EGUlZ9PnEYbsbPxtHc1IjLriyHyIKHAXSPsTcryHJuJ+k7QDAxAiZ
GFzKWgYT82Y=
=DsY0
-----END PGP SIGNATURE-----

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.


minivmac.sourceforge.net/extras/clockfix - hosted by Get Mini vMac at SourceForge.net. Fast, secure and Free Open Source software downloads