home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 2
/
CDPD_II_2352.bin
/
scope
/
051-075
/
scopedisk53
/
time
/
time.doc
< prev
next >
Wrap
Text File
|
1992-10-27
|
2KB
|
47 lines
Time:
This is a tiny program that displays the time in its own window.
The window is very small but still has a close gadget on the
left side and a drag gadget on the right side.
Time was written in assembler and was optimized for speed and size.
There's nothing else you need to know except that you can run it
from both WB and CLI. (Note: It only needs the minimum allowed stack,
i.e. 1600 bytes.)
The size of the executable is 484 bytes, the smallest clock program
I have seen yet. This means that it will only take up 1 block on disk.
If you want to have a look at the source code, just email me on CIS.
You can do whatever you like with this program, just don't remove
my name from the doc file.
Khalid Aldoseri.
CIS 75166,2531
NOTE: If you want to change the default settings in the program, you can
use a filezap program. The following are the offsets in the file
where you can change those settings:
Offset Description Range Size Default
------ -------------------- ----------- ------- -------
$01AC Color of Text 0-3 1 byte $ 00
$01AD Background Color 0-3 1 byte $ 01
$017C Left Edge of Window $0000-$ffff 2 bytes $0208
$017E Top Edge of Window $0000-$ffff 2 bytes $0001
Adding any CLI options would have meant that the size of the program
would have at least doubled. Sorry.
If you don't know what this means, just ignore it. :-)