home *** CD-ROM | disk | FTP | other *** search
- ClockMem
- --------
-
- This application tells you how much memory you have free,
- and what time it is. It also allows you to set the time,
- and to set a single alarm.
-
- It only takes up one page of RAM, even if your page size is
- only 4k. (To be more precise, that's how much application space
- it takes up. The Wimp uses a bit of memory -- in the RMA, I
- guess -- for various data structures; this overhead seems to be
- about 1k per invocation.)
-
- --- *** ---
-
- This program is freeware: you may do anything with
- it, provided you don't make any money from it. (Or
- from derivatives of it.) For more details, please
- see the file called CONDITIONS in the same directory
- as this one.
-
- Gareth McCaughan
- gjm11@dpmms.cam.ac.uk
-
- --- *** ---
-
- Technical points:
-
- - The icon is larger than Acorn say it should be. It doesn't seem to
- cause any problems.
-
- - The time and number of K free are displayed by directing output to
- the relevant sprite and using OS_Write0. If you want them in an
- anti-aliased font, that's your problem.
-
- - If you make any changes to the templates or the source code, see
- the file in this directory called ADVICE.
-
- - If you're using a territory in which days-of-the-month aren't
- 2-digit numbers, or short month names aren't 3 characters, you
- will need to change the SetAlarm window and the string stored
- in the program at .alm_fmt -- shouldn't be hard.
-
- - If you're on a network or something, so that the !ClockMem directory
- isn't writable, change !Run to set ClockMemAlarm$Dir to something
- more useful. This is where the current-state-of-alarm file gets
- stored. Changing this will be useful in any multi-user environment,
- of course...
-
- - If you're using a Risc PC, you will probably have trouble with the
- alignment of the arrows in the "Set Alarm" window. In this case, run
- the program "Source2" (in the Resources directory), which will produce
- a version using the templates in Resources.Template2. Even if you don't
- have a Risc PC you might prefer this, actually. (You will need to have
- run !ClockMem first; otherwise it won't know where its files are meant
- to be.)
-
- - The time of the alarm is only saved when the machine is shut down or
- !ClockMem is quit, so it will be lost if you reset or crash the
- machine. This is stupid, and is all my fault. It may change in a
- later version.
-