home *** CD-ROM | disk | FTP | other *** search
- WorldTime, renamed Time (Risc User created a version called WorldTime, but I had the idea first!)
- Version: 2.4
- Occupies: 96K of RAM on the desktop.
- Status: Copyright MD Smith 1991
-
- You may distribute this software freely, but I hold copyright on its code and applications content.
- The program may be sold by any PD library, but I hold copyright on its code and applications content.
-
- Any interest should be to:
-
- Arcade #534 Mike Smith (081-654-2212)
- Campus Gold 01:BTE095
- Cryton #818 Mike Smith
- 26 Grenville Road, Plymouth, PL4 9PY
-
- About this program:
-
- This program displays the current time and day of countries and areas around the world.
- It will update itself once every minute. The original software could update itself once a
- second, as the list of countries grew the update took longer and longer and it could no
- longer be justified, taking up far too much of the CPU time on the desktop.
-
- The world time screen is shown by clicking first button on the mouse.
- At the moment the Adjust produces the same effect as the Select.
- (Don't tell Acorn, but they are right it should do nothing...)
- The third button on a future release will display a world map
- and time zone grid, but I have a bug which I haven't had time to
- solve.
-
- The program displays the current time and day on the Icon Bar,
- according to your computer's clock, and the offset which is assumed
- to be the UK.
-
- When the program was first created the temptation of listing my home town of San
- Francisco was great, but at the same time I felt it necessary to list the larger city of
- Los Angeles instead, which would be of more interest to more people. After a great deal
- of reflection it occurred to me that I had fallen in the same trap as all of those who have
- gone before me. The conclusion was display USA, California. The time is the same all
- over California and I thought why limit myslef?
-
- The list is very comprehensive but if you wish to change the listing they are only
- READ.....DATA Statements, change it!. The text and background colours are at the top of
- the listing and are easily changed. The colours correspond to the palette colours.
- The variables are FOREGROUND & BACKGROUND.
- You must also extend the biggest variable in FNCreate to make the window larger, if you
- extend the list. You will notice I Ieft a bit.
-
- The code is set up so that some variables can be changed these are at the top.
-
- If you live in another country there is a varible called 'offset' at the top of the program
- if you live in Germany for example type: offset=1, if you live in California type offset=-8.
-
- History:
- 1/91
- World Time Version 1.0 is finsihed. It is not multi-tasking, and not very comprehensive, so it could be adapted to run on BBC's, Masters.
- I was never happy with it non muli-tasking, and the list of countries was not large enough to be informative.
- It should be left in the application directory as OldTime, if you want a peek.
-
- 6/91
- World Time Version 2.0 completed. Multi-tasking! Yeah! Still not happy with the
- program. There is a bug in the Wimp_WindowRedraw routine and the screen isn't
- updated properly when a window was dragged across it. Also, the code to
- convert to the other countries' times was very sloppy and it was impossible to convert
- half hour changes in my old system. The redraw now only happens once a minute rather than
- once every second. The list of counties is greatly enlarged.
-
- 8/91 Driving across the Nevada Desert discover the Time and Date section in the PRM.
- Discover OS_ConvertTimeAndDate SWI, become very happy.
- Someone else was driving!
-
- 9/91
- World Time Version 2.3 Completed! The redraw bug is fixed. The country conversion code
- is cleaned up by "OS_ConvertTimeAndDate" routine. Still not happy with the speed when
- the screen needs to be refreshed thinking of writing the ReDraw and Draw routines in
- machine code. Icon Bar Sprite added. Quit Menu added. Offset added.
-
- If you have criticism or suggestions of this program, either good or bad, send them.
-
-
- 1/92 (Karen Glover)
-
- Updated to reflect the recent changes in the old USSR. I should have got the
- times right, thanks to friends in various ex-USSR republics, if not then
- mail me on Arcade. Also added extra countries and increased the size of the
- window. Thought about the idea of having the town that the program is set to
- (in the offset near the start of the program) displayed on the icon bar - but
- not possible without removing the time as Risc OS only lets you have 1 line of text below the icon :-(
-
- Any other ideas, then mail them (if you update the countries then maybe
- mail them to Mike (and I'd appreciate a copy !)
-
- Karen