home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
games
/
suntim.zip
/
READ.ME
next >
Wrap
Text File
|
1988-05-09
|
2KB
|
69 lines
SUNTIM2.EXE is an updated version of SUNTIME.EXE. More information is
displayed and corrections were made to give more accurate calculations.
In addition to Sidereal Time, information about the sun is displayed,
giving Right Ascension, Declination, Distance and Size.
When first loaded the Program Menu is displayed.
F1 Real Time Clock from computer system clock.
F2 User Input Time where the user may enter a date/time.
F10 Exit Program.
The Escape Key is used to exit from the Real Time Clock Mode and after
entering the User Time.
Because of limitations of my program library valid years are only
between the years 1902 and 2038. Years beyond these limits will give
errors in the displayed date/time but the Julian Date and other calculations
are correct.
Three times are displayed in the SIDEREAL window. First GST, then just
below GST is the difference between UT and GST. This time should advance
by about 10 seconds every hour. Finally, LST is displayed.
Arrows in the Sun Information Window indicate increasing or decreasing
values of RA, Dec and Size.
COMMAND LINE INPUT
The command line input is: SUNTIM2 [offset] [longitude] [bios]
Offset is the time that is added to the system clock to give GMT.
For example:
Pacific Standard Time 8
Pacific Daylight Time 7
Mountain Standard Time 7
Mountain Daylight Time 6
Central Standard Time 6
Central Daylight Time 5
Eastern Standard Time 5
Eastern Daylight Time 4
Longitude is the lontitude of the site of interest entered as decimal degrees.
For example:
Chicago, Illinois 87.90
Seattle, Washington 122.31
Bios is the video mode used. Normally 0 is used since it gives the fastest
screen updates. If you should notice hash on the screen try using 1 or 2.
This will slow down the screen updates somewhat, but should eliminate the
screen hash caused by the IBM BIOS.
See XTIME.BAT for a sample of the loading.
All command line arguments must be present or an error message
will be displayed, giving a sample of the syntax.
Color, monochrome monitors and 8087 math chip are supported.
This is a Freeware program. It is an excercise in learning the C
Programming Language. I know less about astronomy than programming
so comments are welcome.
Dick Mobley
71420,273