home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
100-199
/
ff186.lzh
/
QT2
/
qt2.doc
< prev
next >
Wrap
Text File
|
1989-02-26
|
907b
|
26 lines
QT2 - a cute way of getting the time
I originally saw this program running under MS-DOS. It gives the
time the way people do, e.g. "It's nearly ten to five." Since this is
the way people actually say it, I decided to have the Amiga say it too.
I wrote this program for two reasons. First of all, it's cute.
But even more important, it made a good exercise in my do-it-yourself
assembly programming course; to get it running I had to learn to do
things I hadn't done before:
- run from either the Workbench or the CLI
- access C library functions
- access the narrator.device
- display a requester if I couldn't talk
Many Guru Meditations and several calls for help later, I
managed to get this program going. It needs no include files,
but must be linked with amiga.lib. I hope others find it as
interesting and educational as I have done.
Charlie Gibbs, October 5, 1987