CLOCK & CALENDAR Version 1.0 A timepiece for DESQview (TM) By Daniel J. Bodoh You're the new owner of a little clock for DESQview. It's easy to use, and doesn't take up much system time or memory. And best of all, IT'S FREE! The clock displays the date and time in the following format: Saturday, November 30, 1991 6:10 AM The time is displayed in a 1-row high window which is "orphaned", which means that it is removed from the "Switch Windows" menu and cannot be moved, etc. That way, it doesn't get in your way, and just minds its own business in the background. The best place to start Clock & Calendar is from your DESQview startup script. If you don't know about scripts, take a look at the DESQview manual. To install Clock & Calendar, make a directory such as C:\CLOCKCAL. Then copy CLOCKCAL.ZIP into that directory and unzip the file (which, by now, I assume you have done). The distribution archive comes with three files: CLOCKCAL.COM - the actual program CLOCKCAL.DOC - the file that lists itself as part of the package CC-PIF.DVP - the DVP file for CLOCKCAL.COM Now, in DESQview, choose Open Window Add a Program Other (add program not in list) and type C:\CLOCKCAL or the appropriate directory type the space bar when Clock & Calendar is highlighted and select Done The directory name you used will be automatically added to the DVP file. However, you may want to change the position of the window. It defaults to Column 0 of Row 25, but I prefer Column 0 of Row 60 with my 60-line VGA screen. To change this, choose Open Window Change Program CC f1 cursor to the Starting Row and Starting Column fields and them to your desired position If you have another program on the Open Window menu that uses the keys CC, you will have to change Clock & Calendar's keys. You will be warned about this when installing the new .DVP. Clock & Calendar takes up almost no system time. After initialization, it wakes up once a minute to update the time, so it doesn't affect other processing at all. It does take up 12K, a little larger than I would like. Maybe I'll do some assembly for the next version to cut down the size. This program is copyright by Daniel J. Bodoh, 1991. However, it is released into the public domain. The distribution files must not be modified, and may be redistributed. All 3 files must be included unmodifed in any redistribution. Many thanks to Ralf Brown for his DV GLUE library of DESQview functions, as well as his interrupt list. Send you comments, suggestions, gripes, and bug reports to bodoh@xraylith.wisc.edu or bodoh@cae.wisc.edu.