home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / ac9117_2.zip / ASTROCLK.DC1 next >
Text File  |  1991-04-22  |  228KB  |  3,968 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                 Program ASTROCLK
  23.  
  24.                 Astronomical Clock and Celestial Tracking Program
  25.  
  26.                             with Celestial Navigation
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                   (C) Copyright 1988-1991, All Rights Reserved
  35.  
  36.                              by David H. Ransom, Jr.
  37.                              Rancho Palos Verdes, CA
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                   Version 9117
  44.                                  April 22, 1991
  45.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page i
  46.  
  47.  
  48.  
  49.  
  50.                                 TABLE OF CONTENTS
  51.  
  52.  
  53.         ACKNOWLEDGEMENTS.........................................1
  54.         INTRODUCTION.............................................2
  55.         HARDWARE REQUIREMENTS....................................7
  56.         PROGRAM OPERATION........................................9
  57.            Required ASTROCLK Files...............................9
  58.            ASTROCLK Source Files ................................10
  59.            Starting Program ASTROCLK.............................11
  60.            Running Program ASTROCLK..............................13
  61.         FUNCTION KEYS AND HELP...................................17
  62.            F1 Display HELP Screens...............................17
  63.            F2 Display Target Object EPHEMERIS....................17
  64.            F3 Set Time and/or Date...............................17
  65.               Read Hardware Clock................................18
  66.               Set ALARM or INTERVAL TIMER Time...................18
  67.            F4 Toggle Clocks ON or OFF............................18
  68.               Enable Simulated Real Time.........................18
  69.            F5 Set Target Coordinates.............................19
  70.               Enter USNO Star Name or Number.....................19
  71.               Search for Nearest USNO Star.......................19
  72.               Search EXTERNAL STAR CATALOG by Name or ID.........19
  73.               Search EXTERNAL STAR CATALOG by RA and DEC.........20
  74.               Search EXTERNAL STAR CATALOG for Nearest Star......20
  75.               Manual Target Data Entry...........................20
  76.               Set Polaris Coordinates............................22
  77.            F6 Set Local Coordinates..............................22
  78.               Set Destination Coordinates........................22
  79.               Set Local Conditions...............................22
  80.            F7 Set Display Format.................................22
  81.               Change Target Display Coordinates..................23
  82.            F8 Precess Internal Star Database.....................23
  83.            F9 DOS Shell..........................................24
  84.               Execute Preset DOS Command.........................24
  85.               Execute USNO Ephemeris (ICE or FA).................24
  86.           F10 Celestial Navigation...............................25
  87.               Setting Program Options............................25
  88.           0-9 Select Display Window Mode.........................25
  89.         SETTING PROGRAM OPTIONS..................................27
  90.            Setting the DAYLIGHT FLAG.............................27
  91.            Setting the ZONE CORRECTION...........................28
  92.            Setting the COLOR FLAG................................29
  93.            Setting the ICE/FA FLAG...............................29
  94.            Setting the CALENDAR FLAG.............................30
  95.            Setting the FILE NAMES and PATHS......................30
  96.            Setting the PRESET DOS COMMAND........................33
  97.         SETTING LOCAL/UT/TDT TIME AND DATE.......................34
  98.            Setting the LOCAL/UT/TDT Time.........................36
  99.            Setting the LOCAL/UT Date.............................37
  100.            Setting the time/date from NIST/USNO .................39
  101.         SETTING LOCAL AND DESTINATION COORDINATES................41
  102.         SETTING LOCAL CONDITIONS.................................44
  103.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page ii
  104.  
  105.  
  106.         DUAL-TIME DISPLAYS.......................................45
  107.         JULIAN DATE INFORMATION..................................47
  108.         ALARM AND INTERVAL TIMER OPERATIONS......................48
  109.            Using the ALARM Function..............................48
  110.            Using the INTERVAL TIMER..............................49
  111.            Linked ALARM & INTERVAL TIMER Operation...............50
  112.         TARGET TRACKING DISPLAY..................................51
  113.         TARGET OBJECT EPHEMERIS..................................55
  114.         PRECISION TIME AND DATA DISPLAYS.........................57
  115.            Precision Time Display #1.............................58
  116.            Precision Time Display #2.............................59
  117.            Precision Data Display #1.............................60
  118.            Precision Data Display #2.............................60
  119.            Precision Data Display #3.............................61
  120.            Solar Rise/Set & Twilight.............................61
  121.         PLANETARY DATA DISPLAYS..................................63
  122.         MINOR PLANET SELECTION...................................67
  123.            Entering Orbital Parameters...........................70
  124.         CELESTIAL NAVIGATION.....................................72
  125.            Setting UT TIME ZONE OFFSET...........................73
  126.            Navigation by Dead Reckoning..........................76
  127.            Celestial Navigation with Star Sights.................83
  128.            Selecting USNO Navigational Stars.....................87
  129.            Celestial Navigation Example..........................89
  130.         SIDEREAL TIME AND EQUATORIAL COORDINATES.................94
  131.         USNO COMPUTER EPHEMERIS PROGRAMS, ICE AND FA.............96
  132.         USNO STANDARD NAVIGATIONAL STARS.........................99
  133.         CONSTELLATIONS AND NAMES.................................101
  134.         EXTERNAL STAR CATALOGS ..................................105
  135.           USNO Star Catalogs ....................................105
  136.           Sky Catalogue 2000.0 ..................................106
  137.           External Catalog Searches .............................106
  138.         PRECESSION AND STELLAR MOTION............................109
  139.         DATES AND THE GREGORIAN CALENDAR.........................111
  140.         WHAT TIME IS IT?.........................................118
  141.         PRECISION AND ACCURACY TESTS.............................125
  142.            Compiler..............................................125
  143.            Calendar Dates........................................126
  144.            Julian Dates..........................................127
  145.            Universal Times (UT and UTC)..........................127
  146.            Terrestrial Dynamical Time (TDT, ET and Delta-T)......127
  147.            Atomic Times (TAI and A.1)............................128
  148.            Sidereal Times (GMST and GAST)........................128
  149.            Precession............................................129
  150.            Solar Position Calculations...........................131
  151.            Major Planet Position Calculations....................134
  152.            Minor Planet Position Calculations....................135
  153.            Celestial Navigation Calculations.....................135
  154.            J2000.0 Internal Star Database........................137
  155.         ASTROCLK MESSAGES AND ERRORS.............................138
  156.            ASTROCLK Numbered Errors and Cautions.................138
  157.            Other ASTROCLK, QuickBASIC and DOS Errors.............145
  158.         A BRIEF EDITORIAL........................................147
  159.         BIBLIOGRAPHY.............................................149
  160.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 1
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.                                 ACKNOWLEDGEMENTS
  170.  
  171.              Few tasks of any consequence are accomplished unaided. For
  172.         ASTROCLK, in addition to the numerous references cited in the
  173.         BIBLIOGRAPHY, there are several individuals to whom special
  174.         thanks are due.
  175.              Ward Harman, a retired engineer living near me in Palos
  176.         Verdes, California, has spent many hours testing and validating
  177.         the performance of various aspects of ASTROCLK, advising me of
  178.         errors when he found them, and making numerous suggestions with
  179.         respect to both style and substance.
  180.              Steve Brewster, of Stony Ridge Observatory high above
  181.         Pasadena, California, has been most generous with his time,
  182.         advice, and encouragement. To all of that, he added a long and
  183.         fascinating evening at the Observatory where we were able to
  184.         experience firsthand the thrill of "real" astronomy using SRO's
  185.         30-inch reflector and which helped me to better understand how
  186.         ASTROCLK might better be used in that environment.
  187.              Special thanks to Captain Helge Brudvik of the Royal Viking
  188.         Sky for the freedom of the bridge, and to Chief Officer Magnus
  189.         Bakken for his practical demonstrations of navigation at sea (as
  190.         well as many hours of pleasant conversation). Many of ASTROCLK's
  191.         navigation functions were tested and verified during a ten week
  192.         cruise around South America in early 1990.
  193.              And to all of those astronomy and computer enthusiasts who
  194.         have called, written, or left messages on my bulletin board
  195.         system, my thanks for your kind words and suggestions. Those
  196.         letters and calls inform me that ASTROCLK is being used in
  197.         Australia, Denmark, England, Finland, France, Hong Kong, Israel,
  198.         Italy, Japan, Sweden, Taiwan, and the Virgin Islands in addition
  199.         to the United States and Canada. I must be doing something right!
  200.         ASTROCLK is now embarking upon its third year.
  201.              Finally, and by no means least, my wife Vicki has been both
  202.         patient and supportive during the many hundreds of hours I have
  203.         spent hunched over one or another of my computers as ASTROCLK has
  204.         evolved from a simple sidereal clock to the complex program it is
  205.         today. It was her interest in, and curiousity about, astronomy
  206.         and the night sky which helped inspire my efforts in the first
  207.         place, and her encouragement has been essential during the years
  208.         that I have invested in ASTROCLK.
  209.  
  210.                                                 April 1991
  211.  
  212.                                                 David H. Ransom, Jr.
  213.                                                 Rancho Palos Verdes, CA
  214.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 2
  215.  
  216.  
  217.  
  218.         INTRODUCTION
  219.  
  220.              Program ASTROCLK is an Astronomical Clock and Celestial
  221.         Tracking Program. ASTROCLK is copyrighted software; you are
  222.         granted a non-exclusive limited license for non-commercial use.
  223.         If you wish to use ASTROCLK commercially, write for license
  224.         information. Registration of your copy of ASTROCLK will be
  225.         appreciated but is not required. See the file REGISTER for
  226.         registration instructions and information. Use ASTROCLK if you
  227.         like it, discard it if you don't. There are no warranties of any
  228.         kind. For information on how to obtain the current version of the
  229.         program, see the section A BRIEF EDITORIAL. And now, on with the
  230.         story ...
  231.              Like many people, I have long been fascinated by the stars
  232.         at night and by things astronomical. But it was not until some
  233.         years ago, when I spent considerable time in the foothills of
  234.         Northern California, that I regularly saw the night sky without
  235.         the interference of city lights. There followed a heightened
  236.         interest in the stars and a desire to be able to recognize the
  237.         various constellations and important individual stars. Many
  238.         books, star charts, and cold winter nights later the age of the
  239.         Personal Computer dawned. Suddenly, I realized, I had a tool
  240.         which would enable me to figure out many of these things on my
  241.         own and practically in real time.
  242.              Program ASTROCLK has evolved from a series of smaller
  243.         programs, each designed to calculate some little piece of
  244.         astronomical data which I wanted. Each time that I needed still
  245.         another bit of data in order to do something, I'd search out the
  246.         necessary formulae or methods and write a new little program to
  247.         automate the process. After a relatively short period of time I
  248.         discovered that I had literally dozens of such small programs,
  249.         but no single program was ever sufficient to get me all the
  250.         information I sought at a particular time.
  251.              Equally frustrating, none of the stand-alone programs
  252.         available or that I had written up to that point gave me the
  253.         information in real time, adjusted for my geographical location.
  254.         I always had to look up something I'd forgotten and run a number
  255.         of programs to get the data I wanted. And to further complicate
  256.         things, there are an almost unbelievable number of different
  257.         methods for telling time, of which perhaps half a dozen or so are
  258.         useful to the casual astronomer or navigator. I finally mastered
  259.         the zone changes from Greenwich to Los Angeles, but converting
  260.         local time to sidereal time ("star time", if you prefer) in my
  261.         head has so far eluded me. Program ASTROCLK was intended to solve
  262.         all of these problems for me. While it is still some distance
  263.         from accomplishing that rather ambitious goal, it's a very big
  264.         step along the way. I'm starting to run out of "necessary"
  265.         features to add!
  266.              As with any profession, astronomers and navigators have
  267.         developed a technical language all their own to describe the
  268.         phenomenae of time and celestial mechanics. Not only is this
  269.         language almost as complex as the science it seeks to describe,
  270.         but many seemingly common words carry definitions far divorced
  271.         from everyday life and our intuitive understanding of their
  272.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 3
  273.  
  274.  
  275.         meaning. The amateur astronomer or layman can easily become
  276.         hopelessly confused, particularly as not all texts,
  277.         organizations, and related professions necessarily use precisely
  278.         the same words or even the same definitions to describe a given
  279.         measurement or item of data. All too frequently the definitions
  280.         have changed over time, and sometimes they are even reversed from
  281.         one discipline to another.
  282.              For my own understanding and entertainment, I have spent
  283.         considerable time researching the subject and attempting to
  284.         assemble a consistent set of computer programs and algorithms to
  285.         facilitate the practical use of my personal computers in
  286.         astronomy and navigation. Program ASTROCLK now represents a
  287.         continuing effort spanning more than three years and two thousand
  288.         hours of work. I hope that effort is judged worthwhile.
  289.              The advent of the truly portable personal computer has
  290.         served as an additional spur to these efforts so that I may have
  291.         the information at my fingertips no matter where I may travel.
  292.         There are moments when I wonder who is the master and who the
  293.         slave.
  294.              I have used many and varied sources and have made every
  295.         effort to assure the consistency and accuracy of the information
  296.         and calculations presented. However, I alone am responsible for
  297.         the final outcome -- along with any errors that may be
  298.         discovered. My thanks to those individuals who have taken the
  299.         time to report problems and suggest improvements. Without their
  300.         interest and encouragement, I doubt that ASTROCLK would have
  301.         become what it is or that my efforts would have continued.
  302.  
  303.              The first and most important order of business for any
  304.         astronomer or navigator is to know what time it is. For ASTROCLK,
  305.         I assume that the computer's internal clock has been set to the
  306.         correct local time, keeps reasonably good time, and that the
  307.         relationship between local time and Coordinated Universal Time
  308.         can be calculated or is known. To a high degree of accuracy, what
  309.         is now known as Coordinated Universal Time (UTC) was previously
  310.         called Greenwich Mean Time (GMT); there are those who still
  311.         insist on using the old name. The U. S. military forces, ever
  312.         adept at finding a different name for things we might otherwise
  313.         recognize, refer to UTC as Zulu Time. In the United States, the
  314.         National Bureau of Standards continuously broadcasts UTC on
  315.         stations WWV (Fort Collins, Colorado) and WWVH (Kauai, Hawaii);
  316.         the frequencies transmitted are: 2.5MHz, 5MHz, 10MHz, 15MHz and
  317.         20MHz (WWV only). Reception will vary depending upon the time of
  318.         day, geographic location, and current atmospheric conditions. In
  319.         Europe and in many places around the world, the BBC World Service
  320.         gives a time signal every hour which is synchronized with
  321.         Greenwich Mean Time, essentially identical with UTC.
  322.              As an aside, I have noticed that the hardware clocks in my
  323.         computers maintain more accurate time than do the software clocks
  324.         (particularly with versions of MS-DOS prior to 3.xx). However,
  325.         the accuracy of the hardware clock can vary substantially from
  326.         one system to the next, even when using identical software.
  327.         Further, some programs which use local area networks or high
  328.         speed serial communications may disable the software clock during
  329.         operation and the time errors can become substantial. Other
  330.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 4
  331.  
  332.  
  333.         software can also suspend timekeeping functions for brief
  334.         intervals. For example, use of the program BROOKLYN BRIDGE
  335.         (inter-computer communications) can introduce errors of tens of
  336.         seconds or more.
  337.              I recommend that you first check the accuracy of your
  338.         software clock, the one that keeps track of time after you begin
  339.         using the computer, over a period of several hours. An easy way
  340.         to do this is simply to run ASTROCLK for several hours and
  341.         observe the displayed time compared to an accurate clock or
  342.         watch. Second, if you temporarily leave ASTROCLK using Function
  343.         Key F9, note the time when you return to ASTROCLK and, if the
  344.         time is in error, make a note of what programs or operations in
  345.         your system affect the accuracy of the software clock. In either
  346.         case, reset your software clock from time to time if necessary
  347.         or, if your computer has an accurate hardware clock, re-read your
  348.         hardware clock to take advantage of its superior accuracy. For
  349.         many computers, ASTROCLK can do this using Function Key ALT-F3.
  350.              Using this more or less accurate time standard, ASTROCLK
  351.         displays the current Local Time and Local Date, the Local Mean
  352.         Sidereal Time ("star time"), and the Local Mean Solar Time
  353.         (referred to the local longitude). Also shown are: Coordinated
  354.         Universal Time (UTC) which, for years 1925 and later and to the
  355.         accuracy used here, is the same as Greenwich Mean Time (GMT); the
  356.         UTC Date at the Prime Meridian (Greenwich, longitude 0 degrees);
  357.         Greenwich Mean Sidereal Time; and, the local time zone relative
  358.         to UTC. All times are in 24-hour notation and local time is Local
  359.         Standard Time or Local Daylight Time, depending upon the setting
  360.         of the DAYLIGHT FLAG. If your time zone is offset from the
  361.         computed local time zone, see also the section SETTING PROGRAM
  362.         OPTIONS. Note that dates are shown as DD-MM-YYYY (European style,
  363.         day-month-year) and that because of the time span covered the
  364.         full 4-digit year is required. Any one of the times may be
  365.         displayed in a main window with extra large digits for easy
  366.         visibility.
  367.              Precision Time and Data Displays are available which show a
  368.         variety of common time standards to a precision of 0.0001 seconds
  369.         along with other astronomical information. The display is updated
  370.         each second -- provided the computer can make the necessary
  371.         calculations in that time. If the clocks are stopped, the user
  372.         may enter any desired time and date and view the calculated
  373.         values for all of these items to a high degree of accuracy. The
  374.         values have been carefully checked against the Astronomical
  375.         Almanac, prepared each year jointly by the U. S. Naval
  376.         Observatory (USNO) and the Royal Greenwich Observatory, and the
  377.         USNO Interactive Computer Ephemeris (ICE) and are believed
  378.         accurate to plus or minus 0.01 seconds or better; note that the
  379.         displayed precision is 0.0001 seconds.
  380.              Initially, the program assumes the geographical location of
  381.         Rancho Palos Verdes, California, near Los Angeles. However, an
  382.         auxiliary file contains the names and locations of a number of
  383.         cities which can quickly be read by ASTROCLK. The file may easily
  384.         be edited to include your favorite locations and their
  385.         coordinates. ASTROCLK saves these data (and others) in a special
  386.         file, ASTROCLK.INI, and the new place name and coordinates will
  387.         be automatically loaded when the program is next started.
  388.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 5
  389.  
  390.  
  391.              A tracking feature is included which allows the user to
  392.         continuously display the celestial and horizon (observer)
  393.         coordinates for the pole star, Polaris, and the 57 stars
  394.         designated by the U. S. Naval Observatory (USNO) as "Standard
  395.         Navigational Stars". Data for these stars are preset in the
  396.         program and are for Epoch J2000.0, the current standard epoch for
  397.         celestial coordinates. The list of these standard stars is from
  398.         USNO, and the actual coordinates have been taken from the USNO
  399.         Floppy Almanac 1988. The data for proper motion is also included
  400.         for the correct calculation of precession.
  401.              ASTROCLK includes orbital and position formulae for each of
  402.         the major planets to enable the user to select a desired planet
  403.         and view its position. The user may also select a minor planet;
  404.         the supplied catalog, ASTROCLK.MPC, contains the first 250 minor
  405.         planets. The full minor planet catalog currently contains 4000
  406.         entries and is available on my bulletin board system.
  407.              Alternatively, the user may search an external star catalog
  408.         for a desired star using the catalog number or any of several
  409.         star names. The supplied catalog, ASTROCLK.CC1, contains 1644
  410.         stars and objects whose coordinates have been calculated by USNO
  411.         and which are also for Epoch J2000.0. Finally, the user may
  412.         manually enter the celestial coordinates (right ascension and
  413.         declination) for a star, planet, or other object. Once the
  414.         celestial coordinates have been selected or entered, ASTROCLK
  415.         continually displays the local ("observer" or "horizon")
  416.         coordinates as well as the Sidereal Hour Angle (SHA, preferred by
  417.         navigators), computed once per second. The program also displays
  418.         coordinates adjusted for atmospheric refraction, important as an
  419.         object approaches the horizon. Using a small portable computer,
  420.         the would-be stargazer may take the program into the field and
  421.         use it to locate and track the desired object.
  422.              The user may also enter the local horizon coordinates,
  423.         Altitude and Azimuth, for a bright star and ask ASTROCLK to
  424.         select the USNO Standard Navigational Star which is closest to
  425.         the position entered at that time. It will also find Polaris if
  426.         the coordinates are close enough, but the algorithm for star
  427.         selection is less accurate near the poles. The same process may
  428.         be used with the external star catalog. So the program works both
  429.         ways: it can tell you where to look for a selected star or, if
  430.         you tell it where you see a star, it can tell you which star you
  431.         are probably looking at.
  432.              By stopping the real time clock and entering a date and time
  433.         of choice, the user may also determine the position of a
  434.         celestial object at any time in the past or future. However,
  435.         since some formulae and star coordinates assume the present
  436.         epoch, J2000.0 usually, the accuracy of positions calculated may
  437.         decrease for epochs distant from modern times. A simulation mode
  438.         may be used to view data in simulated real time at any preset
  439.         time and date.
  440.              Inspired by several long sea journeys, ASTROCLK can perform
  441.         a number of navigational functions, including dead reckoning and
  442.         celestial navigation. The dead reckoning process yields results
  443.         as accurate as the information supplied. For celestial navigation
  444.         the accuracy is not quite as high as can be achieved with the
  445.         Nautical Almanac (and a lot of tiresome calculations) or by
  446.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 6
  447.  
  448.  
  449.         sophisticated satellite navigation systems; with "perfect" star
  450.         sights, ASTROCLK's celestial navigation is accurate to
  451.         approximately 0.25 nautical miles. Great circle distance
  452.         calculations have been carefully checked against the satellite
  453.         navigation system on board the Royal Viking Sky and ASTROCLK's
  454.         results agree to within approximately 0.25 nautical miles for
  455.         targets/waypoints as distant as one thousand nautical miles.
  456.              ASTROCLK includes a perpetual calendar which will display
  457.         any month of any year from -4713 B.C. into the future. The
  458.         default calendar algorithms follow the Julian Calendar from -4713
  459.         B.C. until October 4, 1582 after which the Gregorian Calendar is
  460.         used. This follows civil usage in catholic countries as well as
  461.         astronomical convention, but will not correspond to the date
  462.         convention used in countries which did not adopt the Gregorian
  463.         Calendar in 1582. Great Britain and its colonies (including what
  464.         is now the United States), for example, did not adopt the
  465.         Gregorian Calendar until September 2, 1752. Dates prior to the
  466.         introduction of the Julian Calendar in 46 A.D. are in accordance
  467.         with the Julian Proleptic Calendar (the Julian Calendar extended
  468.         backwards in time from 46 A.D.) and are therefore more or less a
  469.         figment of the program's imagination; the dates computed are
  470.         consistent with that calendar (and astronomical convention) but
  471.         bear no relation to any calendar in actual use at the time. A
  472.         program option is available to choose between the strict Julian
  473.         calendar and either the 1582 or the 1752 adoption of the
  474.         Gregorian calendar. An additional date display is also available
  475.         which shows several styles of Julian Date, the local date, the
  476.         current day of the year, and the day of the week.
  477.              ASTROCLK is presently being used at several observatories
  478.         for both time and tracking displays. For night use, the display
  479.         may be set to the RED mode; the monitor intensity may then be
  480.         adjusted for best comfort and protection of night vision. A GREEN
  481.         mode is also available which may reduce eye fatigue during
  482.         periods of extended use.
  483.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 7
  484.  
  485.  
  486.  
  487.         HARDWARE REQUIREMENTS
  488.  
  489.              ASTROCLK was designed for and is best operated using a color
  490.         adapter and color monitor, CGA/EGA/VGA. The program can be forced
  491.         to emulate monochrome output on color video adapters with the
  492.         "/M" command line option. Tests on monochrome systems such as HGC
  493.         (true monochrome adapter and display, as opposed to a system
  494.         using a monochrome display on a color-compatible adapter), have
  495.         been successful when used with the "/M" command line option. The
  496.         program has been used on a wide variety of IBM-compatible systems
  497.         with few if any problems.
  498.              Users have reported successful operation on high speed
  499.         systems including an IBM PS/2 Model 80 and a Compaq Model 386/20.
  500.         The program has also been tested on various "IBM-clone" systems
  501.         with numerous variations including CGA/EGA/VGA Graphics Adapters
  502.         and Hercules Graphics Adapters (HGC). The only problems have been
  503.         with "strange" BIOS implementations on certain clone systems (for
  504.         example, one Leading Edge system failed to execute but another
  505.         executed properly) and occasional TSR's (Terminate and Stay
  506.         Resident programs) which refuse to cooperate properly. There is
  507.         no cure for BIOS problems but removal of TSR's will usually cure
  508.         those problems.
  509.              Several ASTROCLK functions use the QuickBASIC SHELL command
  510.         to execute DOS commands directly or to return the user to a
  511.         secondary command processor (Function Key F9). All of my systems
  512.         use MS-DOS Version 3.1 or higher but I have read reports that
  513.         the QuickBASIC SHELL does not operate correctly for versions of
  514.         MS-DOS or PC-DOS of 3.0 or lower. I recommend that you upgrade to
  515.         Version 3.2 or higher for better system performance in general
  516.         and to avoid problems with the SHELL command in particular.
  517.              ASTROCLK supports the EGA 43-line and VGA 50-line modes to a
  518.         limited extent: if the system is in that mode at program startup,
  519.         it will return to that mode upon final exit. I'm rather fond of
  520.         the EGA's 35-line mode and often use it in preference to either
  521.         25- or 43-line modes. Unfortunately for me, QuickBASIC (any
  522.         version) refuses to recognize the 35-line mode on entry and
  523.         returns the system to the 25-line mode upon exit. Regardless of
  524.         the screen mode detected at the start of execution, ASTROCLK
  525.         always sets the system to 80 columns and 25 lines for maximum
  526.         compatibility and ease of viewing.
  527.              The "/M" command line option (see PROGRAM OPERATION, below)
  528.         is recommended for systems equipped with a monochrome display
  529.         adapter and monochrome monitor. It also forces monochrome display
  530.         on computers which have color-compatible video adapters but
  531.         simulate colors with shades of gray or varying intensities of a
  532.         single color. When "/M" is used with a color adapter and monitor,
  533.         the display will be white on black background. Results may vary
  534.         from system to system.
  535.              The performance of different computers varies considerably,
  536.         the single most important factor being the presence or absence of
  537.         a math coprocessor. Program ASTROCLK uses the double precision
  538.         floating point format for almost all calculations, and the added
  539.         performance of a coprocessor is significant. Without it, even an
  540.         AT-class computer has perceptible computation delays; with it, an
  541.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 8
  542.  
  543.  
  544.         old PC-class computer easily completes the same tasks within one
  545.         second.
  546.              I have not tested the minimum memory requirements for
  547.         ASTROCLK. All of my systems are equipped with 640K. As of Version
  548.         8907, the program requires more than 200K bytes of memory and
  549.         probably WILL NOT execute in a minimum 256K system. Since
  550.         ASTROCLK can invoke QuickBASIC's SHELL command to return you
  551.         temporarily to DOS with ASTROCLK still in memory, I recommend the
  552.         use of 640K memory. However, even with 640K of memory, the fact
  553.         that ASTROCLK is resident means that programs which require a
  554.         great deal of memory may fail to execute properly under the
  555.         shell. These programs must be executed outside ASTROCLK.
  556.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 9
  557.  
  558.  
  559.  
  560.         PROGRAM OPERATION
  561.  
  562.              This section describes the operation of program ASTROCLK,
  563.         including required files, starting the program, and initial
  564.         operations.
  565.  
  566.  
  567.         Required ASTROCLK Files
  568.  
  569.              Program ASTROCLK is normally distributed in archived form
  570.         and includes the following files:
  571.  
  572.              Main ASTROCLK Program
  573.              ---------------------
  574.                   ASTROCLK.EXE        Executable ASTROCLK program
  575.                   ASTROHLP.EXE        Executable ASTROHLP program
  576.  
  577.              ASTROCLK Documentation
  578.              ----------------------
  579.                   ASTROCLK.DOC        ASTROCLK Documentation Description
  580.                   ASTROCLK.DC1        ASTROCLK Documentation, Part I
  581.                   ASTROCLK.DC2        ASTROCLK Documentation, Part II
  582.                   ASTROCLK.HST        Revision history for ASTROCLK
  583.                   ASTROCLK.NEW        Recent revision history
  584.  
  585.              ASTROCLK Support Files
  586.              ----------------------
  587.                   ASTROCLK.CC1        Data file of additional stars
  588.                   ASTROCLK.CTY        Data file of cities/locations
  589.                   ASTROCLK.INI *      Data file for initialization
  590.                   ASTROCLK.MPC        Minor Planet Catalog
  591.                   ASTROFNT.COM        EGA Soft Font (EXPERIMENTAL)
  592.                   MESSIER.CC1         Data file of Messier objects only
  593.                   REGISTER            Program registration information
  594.  
  595.                   *  May not be present in distribution files
  596.  
  597.  
  598.              Program ASTROCLK is usually distributed via bulletin board
  599.         systems as two compressed files. A complete version should
  600.         contain ALL of the listed files except as noted. Depending upon
  601.         the source, different file compression programs may be required
  602.         to unpack the files; the required program is usually indicated by
  603.         the filetype of the archived files.
  604.              Only the files ASTROCLK.EXE and ASTROHLP.EXE are required
  605.         for operation of the program. If necessary, file ASTROHLP.EXE may
  606.         be omitted but the on-screen help functions will not operate and
  607.         no warning message will be given.
  608.              File ASTROCLK.CTY adds the capability to read the location
  609.         of various U. S. and and international cities; a warning message
  610.         is displayed if it is not present and a search of the file is
  611.         attempted. NOTE: The format of the .CTY files changed with
  612.         Version 9050, adding elevation. Old .CTY files must be edited to
  613.         add the elevation in meters (or add a comma followed by a zero)
  614.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 10
  615.  
  616.  
  617.         using any ASCII text editor.
  618.              File ASTROCLK.CC1 contains data for 1644 stars and galaxies
  619.         which may be requested by name or number; a warning message is
  620.         displayed if the file is not present and a catalog search is
  621.         requested. File ASTROCLK.INI is not normally included; it is
  622.         quite small and will be created automatically.
  623.              An additional catalog file, MESSIER.CC1, contains data for
  624.         the 108 Messier objects which have been extracted from file
  625.         ASTROCLK.CC1, for convenience in locating these objects. Messier
  626.         objects are commonly referred to by "M" numbers such as M3 or
  627.         M11; there is no Messier object M40.
  628.              ASTROCLK can also process and track minor planets and
  629.         asteroids. File ASTROCLK.MPC is an external binary catalog
  630.         containing the first 250 minor planets which may be selected by
  631.         Minor Planet Number or Name. The binary catalog has been prepared
  632.         with my program MPCAT, developed for this purpose, using data
  633.         compiled by E. G. Bowell of the Lowell Observatory. The full
  634.         minor planet catalog, currently EPHEM892.MPC with 4,000 minor
  635.         planets listed, is available separately from my bulletin board
  636.         system. New updated minor planet catalogs are released at
  637.         approximately six month intervals. These versions of the minor
  638.         planet data have been converted into the binary format expected
  639.         by ASTROCLK using program MPCAT; as with program ASTROCLK, the
  640.         current version of MPCAT and the source are always available from
  641.         my bulletin board system (BBS). See the section A BRIEF EDITORIAL
  642.         for more information on the BBS.
  643.              As an experiment for EGA and VGA users, file ASTROFNT.COM
  644.         provides an alternate screen font. The screen typeface is changed
  645.         from its normal appearance to a cleaner typeface resembling
  646.         Helvetica. To use this screen font, enter "ASTROFNT" prior to
  647.         executing program ASTROCLK or press the letter "E" during normal
  648.         operation. CAUTION: Use of ASTROFNT with other display adapters
  649.         may produce unpredictable results!
  650.  
  651.  
  652.         ASTROCLK Source Files
  653.         ---------------------
  654.  
  655.              The following source files are required to compile program
  656.         ASTROCLK. These files are available ONLY with program registra-
  657.         tion. See the file REGISTER for registration information and
  658.         instructions.
  659.  
  660.                   ASTROCLK.MAK        Source module list
  661.                   ASTROCLK.BAS        Main ASTROCLK source
  662.                   ASTROCLK.INC        Common $INCLUDE file
  663.                   ASTROSB1.BAS        SUB/FUNCTION source, 1/4
  664.                   ASTROSB2.BAS        SUB/FUNCTION source, 2/4
  665.                   ASTROSB3.BAS        SUB/FUNCTION source, 3/4
  666.                   ASTROSB4.BAS        SUB/FUNCTION source, 4/4
  667.                   ASTROHLP.BAS        Source for ASTROHLP
  668.  
  669.              ASTROCLK is written and compiled using Microsoft QuickBASIC
  670.         Version 4.50 or Microsoft BASIC Compiler Version 7.1. In addition
  671.         to the .BAS source files, ASTROCLK.INC contains DIM, COMMON, and
  672.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 11
  673.  
  674.  
  675.         CONST statements required by the other source modules. The file
  676.         ASTROCLK.MAK is required for use in the interpreter mode. Al-
  677.         though I normally compile and link using the BASIC Compiler, the
  678.         following batch file may be used to compile and link ASTROCLK
  679.         with QuickBASIC 4.50 to produce the two required .EXE files (all
  680.         files assumed in the current drive and directory):
  681.  
  682.              bc astroclk/e/x/o/t/c:512;
  683.              bc astrosb1/o/t/c:512;
  684.              bc astrosb2/o/t/c:512;
  685.              bc astrosb3/o/t/c:512;
  686.              bc astrosb4/o/t/c:512;
  687.              link /ex astroclk+astrosb1+astrosb2+astrosb3+astrosb4,
  688.                 astroclk.exe;
  689.  
  690.              bc astrohlp/e/x/o/t/c:512
  691.              link /ex astrohlp,astrohlp.exe;
  692.  
  693.         The on-line help functions for ASTROCLK are contained in a
  694.         separate program, ASTROHLP.EXE, automatically executed by
  695.         Function Key F1. The source file for help is ASTROHLP.BAS. Note
  696.         that the compile and link commands may be particular to the
  697.         versions of BC and LINK being used, Version 4.50 and Version 3.69
  698.         respectively in this case. See A BRIEF EDITORIAL near the end of
  699.         this document and file REGISTER for information on how to obtain
  700.         the most recent version of all ASTROCLK files.
  701.              Users who require minimum size run files because of memory
  702.         constraints may choose to compile and link ASTROCLK to use
  703.         Microsoft's runtime module, BRUN45.EXE, instead of generating a
  704.         standalone program. Approximately 40K less RAM memory is required
  705.         for ASTROCLK in this configuration. However, this configuration
  706.         is less flexible with respect to starting directory: BRUN45.EXE
  707.         must be in the same directory as ASTROCLK.EXE, and ASTROCLK must
  708.         be run from that directory. Batch files which work correctly with
  709.         the standalone version may have to be modified.
  710.  
  711.  
  712.         Starting Program ASTROCLK
  713.  
  714.              To start ASTROCLK, first verify that your computer is set to
  715.         the correct local time and date using the TIME and DATE commands,
  716.         then change to the subdirectory containing the ASTROCLK files and
  717.         enter one of the following commands at the DOS prompt:
  718.  
  719.                   ASTROCLK       [for all COLOR monitors]
  720.  
  721.                   ASTROCLK /M    [for MONOCHROME monitors]
  722.  
  723.                   ASTROCLK /R    [to force RED on color monitors]
  724.  
  725.                   ASTROCLK /G    [to force GREEN on color monitors]
  726.  
  727.         followed by RETURN (or ENTER, which I will call RETURN) and the
  728.         program will begin execution. The descriptions and examples in
  729.         this documentation assume you are using a color monitor; if you
  730.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 12
  731.  
  732.  
  733.         are using a monochrome monitor, ignore all references to colors.
  734.         However, all users should note that negative years, described as
  735.         RED in this documentation, will BLINK in the program's date
  736.         windows when the "/M" option is used or when either of the single
  737.         color program modes is set; the UTC Julian Date window, of
  738.         course, will show the correct number for all dates.
  739.              Using one of the command line color options forces the
  740.         program to that color mode immediately and overrides any prior
  741.         color mode. When a color option is NOT given, ASTROCLK will
  742.         initially display its signon screen in full color (for color
  743.         monitors); using the "/R" or "/G" color option will use the
  744.         selected color for the signon screen as well as all subsequent
  745.         operations. This is particularly useful with the RED option to
  746.         protect night vision when alternating between ASTROCLK and other
  747.         programs. ASTROCLK may also be switched between the monochrome,
  748.         color, red, and green modes during execution using Function Key
  749.         ALT-F10. See the section SETTING PROGRAM OPTIONS for further
  750.         information.
  751.              As initially configured, ASTROCLK assumes that the all data
  752.         files are in the current drive and directory. If this is not the
  753.         case, you may include the drive and path for the various ASTROCLK
  754.         data files using the following command pattern (note space after
  755.         ASTROCLK):
  756.  
  757.                   ASTROCLK [drive:][\path][coloroption]
  758.  
  759.         "drive:" must be a single letter followed by a colon and must
  760.         correspond to a valid drive. If no path is included, ASTROCLK
  761.         assumes the current directory on the specified drive or, if no
  762.         drive is included, on the current drive. If the path is included,
  763.         it must begin with the backslash, "\", and the path must exist.
  764.         See your DOS manual for an explanation of paths and directories.
  765.              If present, the color option must follow the drive and/or
  766.         path; only ONE of the color options /M, /R, or /G may be used to
  767.         force MONOCHROME, RED or GREEN respectively. Using a color option
  768.         will override any prior color setting saved in file ASTROCLK.INI.
  769.         If no color option is included on the command line, ASTROCLK will
  770.         start in full color, then read the file ASTROCLK.INI (if present)
  771.         and set the color to the mode last used.
  772.              For example, if all data files are on disk drive B: in
  773.         subdirectory ASTROCLK and you want to force monochrome display,
  774.         the following command should be used:
  775.  
  776.                   ASTROCLK B:\ASTROCLK/M
  777.  
  778.                               ********************
  779.                               *  IMPORTANT NOTE  *
  780.                               ********************
  781.  
  782.              Once ASTROCLK has been executed the first time, the drive
  783.         and path information are saved in the program initialization
  784.         file ASTROCLK.INI. Thereafter, ASTROCLK uses the information
  785.         in ASTROCLK.INI and overrides any drive or path specification
  786.         entered on the command line. However, the command line color
  787.         options (/M, /R, or /G), if present, will take precedence over
  788.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 13
  789.  
  790.  
  791.         the previous color saved in the file. Use Function Key ALT-F10 to
  792.         change the drive and/or subdirectory from within ASTROCLK, or
  793.         delete file ASTROCLK.INI at the DOS prompt to start over. See the
  794.         section SETTING PROGRAM OPTIONS for additional information.
  795.  
  796.                                     * * * * *
  797.  
  798.  
  799.         Running Program ASTROCLK
  800.  
  801.              When ASTROCLK begins, a title screen will appear and the
  802.         program will perform various initialization tasks. After a few
  803.         seconds ASTROCLK will display the Local Standard Time (or
  804.         Daylight Time if it has previously been set using the DAYLIGHT
  805.         FLAG entry with Function Key ALT-F10) in the main display window
  806.         and all clocks will be running. For time zones in the United
  807.         States, the correct zone name will be displayed.
  808.              The program reads your DOS software clock for the current
  809.         time and date; set your system clock accurately before you run
  810.         ASTROCLK using your hardware clock if your computer has one or
  811.         using the TIME and DATE commands if not. If your version of
  812.         MS-DOS includes the program RTCLOCK (supplied with some Zenith
  813.         computers), you may use ALT-F3 to set the system clock from the
  814.         internal hardware clock. If the program to read your hardware
  815.         clock has a different name, create a batch file named RTCLOCK.BAT
  816.         which includes the required command(s), make sure it can be
  817.         located via the PATH command, and then you may use ALT-F3 to
  818.         update the software clock. (ALT-F3 may be used to perform any
  819.         desired task provided it does not disturb the ASTROCLK screen and
  820.         may be executed as a batch file called RTCLOCK.BAT.)
  821.              For example, my Zenith Z-151 includes a special (non-Zenith)
  822.         hardware clock which requires a program called RDCLOCK to set the
  823.         software clock from the hardware clock. I reset the software
  824.         clock using the following command in a batch file called
  825.         RTCLOCK.BAT:
  826.  
  827.                   RDCLOCK >NUL
  828.  
  829.         This reads the hardware clock, sets the software clock, and sends
  830.         its screen output to the "bit bucket" (throws it away to a
  831.         special DOS device called "NUL") so that it does not disturb my
  832.         ASTROCLK display.
  833.              I have also noticed that for some systems the software clock
  834.         is not set properly when the system boots but is slow by some
  835.         five or ten seconds. This may be a peculiarity of the Zenith MS-
  836.         DOS 3.2x software being used on the system in question, but
  837.         apparently the computer reads the hardware clock at some point
  838.         during the boot process, then does something which suspends the
  839.         clock before it turns the system over to me. I have solved the
  840.         problem by inserting the RTCLOCK command near the end of my
  841.         AUTOEXEC.BAT file. Now the software clock is set again after all
  842.         of the odds and ends have been gotten out of the way.
  843.              If you do not have a program which reads your hardware clock,
  844.         or if you do not have a hardware clock, you can exit ASTROCLK
  845.         temporarily back to DOS using Function Key F9 and set or reset
  846.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 14
  847.  
  848.  
  849.         the time and/or date with the DOS TIME and DATE commands. Then
  850.         enter EXIT to return to ASTROCLK.
  851.              It is also possible to "fool" ASTROCLK by setting the DOS
  852.         system clock to any desired date and time. However, because of an
  853.         internal DOS software limitation, the DOS clock may only be set
  854.         for years from 1980 through 2199; in general, I recommend that
  855.         you use ASTROCLK's SIMULATION mode of operation for non-current
  856.         dates.
  857.  
  858.                                   *************
  859.                                   *  CAUTION  *
  860.                                   *************
  861.  
  862.              Beginning with DOS Version 3.3, the DOS DATE and TIME
  863.              commands may set BOTH the software AND the hardware
  864.              clocks for most 286-class through 486-class computers
  865.              as well as some others. Therefore, do NOT use the DOS
  866.              DATE and TIME commands with DOS Version 3.3 and higher
  867.              if you wish to preserve the setting of the hardware
  868.              clock.
  869.  
  870.              The program automatically presets the celestial coordinates
  871.         for the star POLARIS (Alpha Ursae Minoris), the first and
  872.         brightest star of the constellation Ursa Minor, the Little Bear.
  873.         POLARIS is commonly referred to as the pole star because of its
  874.         close proximity to the celestial (and geographical) North Pole.
  875.         As a result, it has long been used for navigation and the
  876.         alignment of astronomical instruments. More recently, it is often
  877.         used to align satellite dishes.
  878.              Since I don't know where you live, the program starts out
  879.         with the geographical coordinates for Rancho Palos Verdes,
  880.         California, near Los Angeles. These coordinates are displayed in
  881.         the lower left portion of the screen. However, in order to use
  882.         the various time and tracking features for your own location,
  883.         ASTROCLK needs to know your local longitude (West is negative)
  884.         and latitude (South is negative).
  885.              Goode's World Atlas, 17th Edition, (see BIBLIOGRAPHY) is an
  886.         ideal reference for this purpose; the Index contains some 30,000
  887.         cities and other locations worldwide along with their
  888.         geographical coordinates to a precision of one minute. While I
  889.         cannot vouch for the accuracy of the data, Goode's is the only
  890.         atlas I know with this information, a new feature with the 17th
  891.         Edition. With a little care, your local coordinates can also be
  892.         interpolated to an accuracy of about ten minutes of arc using a
  893.         good, detailed road map provided the map includes the fiducial
  894.         marks for longitude and latitude.
  895.              Use Function Key F6 to input your local coordinates and
  896.         local place name; see also the section SETTING LOCAL COORDINATES
  897.         for a listing of the coordinates of selected cities in the United
  898.         States and Canada. If your location is near one of the these
  899.         cities, the coordinates can be read directly from file
  900.         ASTROCLK.CTY. The file is in standard ASCII code, and may be
  901.         edited to include additional cities and locations using any
  902.         editor provided the proper format is observed; WordStar and other
  903.         word processor users, use the ASCII or "Non-document" mode.
  904.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 15
  905.  
  906.  
  907.              Both geographical and celestial data can be entered (and
  908.         displayed) in several different formats. Celestial coordinates
  909.         may be entered or displayed as degrees plus decimal degrees,
  910.         degrees plus minutes and decimal minutes, or degrees plus minutes
  911.         plus seconds and decimal seconds. All of these methods are
  912.         acceptable to ASTROCLK although the separator varies (colon or
  913.         comma for times, comma for degrees and dates).
  914.  
  915.                                     * * * * *
  916.  
  917.                            EUROPEAN USERS PLEASE NOTE
  918.  
  919.              Both in this documentation and in program ASTROCLK itself,
  920.         the period (point, ".") is used for the decimal point to separate
  921.         the integer and fractional parts of a number rather than the
  922.         comma (virgule, ",") as is the practice in many European
  923.         countries. This usage is sufficiently deeply buried in the
  924.         software that it is impractical to make it dynamically
  925.         configurable. American users have to contend with dates entered
  926.         in the European style (DD,MM,YYYY), so I've managed to make
  927.         things a little inconvenient for everyone!
  928.  
  929.              Egalement ici dans cette texte et en le programme ASTROCLK,
  930.         le point (".") plutot que la virgule (",") est utilize pour
  931.         separer les deux parties d'un nombre, le nombre entier et le
  932.         fragment. C'est usage commun ici aux Etats Unis. Domage, mais il
  933.         faut que les Americains utilizent les dats comme les Europeennes
  934.         (jour, mois, ans). C'est dificile pour tous le monde! [Traduction
  935.         grace a Dictionnaire Larousse, moins les accents.]
  936.  
  937.                                     * * * * *
  938.  
  939.              When ASTROCLK first starts, the current Local Standard Time
  940.         is displayed in the main window in large numerals. The number
  941.         keys 0 through 9 (on the top row of the keyboard) and several
  942.         other keys select the display mode for the main window:
  943.  
  944.              1    LST/LDT   Local Standard/Daylight Time
  945.              2    UTC       Coordinated Universal Time
  946.              3    LMST      Local Mean Sidereal Time
  947.              4    GMST      Greenwich Mean Sidereal Time
  948.              5    TDT/ET    Terrestrial Dynamical/Ephemeris Time
  949.              6              Perpetual Calendar
  950.              7              Additional Date Information
  951.              8              Precision Time and Data Displays
  952.              9              Planetary Data Displays
  953.              0              Celestial Tracking Display
  954.  
  955.              A              Alarm Countdown Display [if Alarm is set]
  956.              N              Navigation Display [if Nav Mode enabled]
  957.              P              Planet & Minor Planet Selection
  958.              T              Interval Timer Display
  959.  
  960.              Function Key F1 gives quick help for the function keys, but
  961.         should not be considered a substitute for this documentation.
  962.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 16
  963.  
  964.  
  965.              Function Key F7 may be used to toggle between several
  966.         display formats for times and angles including whole units (hours
  967.         or degrees as the case may be) plus decimal units, or a more
  968.         conventional display (hours, minutes, seconds or degrees,
  969.         minutes, seconds). This may be useful for comparison with other
  970.         data in order to utilize the same notation.
  971.              With the exception of the Julian Date (which is displayed to
  972.         six decimal places), the running clocks are displayed to the
  973.         nearest second. Other data are displayed to 0.000001 degrees or
  974.         hours, 0.0001 minutes of time or arc, or to 0.01 seconds of time
  975.         or arc, depending upon the display format selected with Function
  976.         Key F7. The Precision Time Display (Display Mode 8) gives various
  977.         time information to a precision (and approximate accuracy) of
  978.         0.0001 seconds. Most internal calculations are made in
  979.         QuickBASIC's DOUBLE PRECISION data format to yield maximum
  980.         accuracy and precision, but not all data are necessarily accurate
  981.         to the precision displayed. See the section PRECISION AND
  982.         ACCURACY TESTS for additional discussion.
  983.              When the clocks are ON, ASTROCLK checks the system time and
  984.         attempts to begin a new set of calculations each second. Since
  985.         these calculations tend to be complex and time consuming, some
  986.         slower computers may not finish the task within the allotted
  987.         time. My Zenith Z-183 laptop, running at 8 MHz but with no math
  988.         coprocessor, skips every third or fourth second when operating in
  989.         the Target Tracking Mode and the Precision Time and Data
  990.         Displays. This does not affect the accuracy of the displayed
  991.         data, only the frequency with which it is updated. For
  992.         comparison, my old Zenith Z-151 running at 4.77 MHz but with an
  993.         8087 math coprocessor, manages to keep up just fine. Regardless
  994.         of the computer type, a math coprocessor will substantially
  995.         decrease computation times. Version 4.50 of Microsoft's
  996.         QuickBASIC, the programming language used for ASTROCLK,
  997.         automatically senses the presence of a math coprocessor and uses
  998.         it if it is available.
  999.              To exit ASTROCLK, press ESC and you will return to the DOS
  1000.         prompt. ASTROCLK always rewrites the file ASTROCLK.INI prior to
  1001.         exit in order to reflect the current coordinates, flags, display
  1002.         modes and other information. Each time ASTROCLK is started it
  1003.         checks for file ASTROCLK.INI and reads its contents if present.
  1004.         If you change these data, the new data will be used the next time
  1005.         you run ASTROCLK.
  1006.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 17
  1007.  
  1008.  
  1009.  
  1010.         FUNCTION KEYS AND HELP
  1011.  
  1012.              Function Key F1 invokes a HELP function which displays the
  1013.         operation performed by the ten Function Keys, F1 through F10 (as
  1014.         well as several ALT or SHIFT plus Function Key combinations).
  1015.         While the operations are generally self explanatory, positioning
  1016.         the flashing red pointer at the desired operation (F1 through
  1017.         F10) with the Up or Down arrow keys and pressing RETURN will
  1018.         display additional information. Pressing the desired Function Key
  1019.         directly will also display the supplementary information for that
  1020.         Function Key. Press RETURN (or any other key) to return to the
  1021.         main HELP menu. Press the SPACE BAR to exit the main HELP menu
  1022.         and return to normal program operation.
  1023.              All of the displayed clocks are stopped while using HELP and
  1024.         the message "Clocks OFF" will be displayed in flashing red at the
  1025.         upper right of the screen. If the clocks were on when HELP was
  1026.         requested, the clocks will resume normal or simulated operation
  1027.         when you leave HELP and the message "Clocks ON" or "SIMULATION"
  1028.         will again be displayed in green or yellow respectively at the
  1029.         upper right of the screen. If the clocks were off when HELP was
  1030.         requested, they will remain off when you leave HELP.
  1031.              The following operations are available with the ten Function
  1032.         Keys, F1 through F10:
  1033.  
  1034.              F1   Display HELP screens. Display program name, version,
  1035.                   and date if pressed again when the main HELP screen is
  1036.                   visible. Press SPACE BAR to return to ASTROCLK.
  1037.  
  1038.              F2   Display Target Object EPHEMERIS. Before pressing F2,
  1039.                   set the desired start time using F3, then select the
  1040.                   desired target object using F5. Press F2 and enter the
  1041.                   desired step interval and the number of intervals. The
  1042.                   ephemeris information is displayed on the screen. When
  1043.                   done or if more than 20 intervals are requested, the
  1044.                   display will pause; press any key to contiue. Use the
  1045.                   SHIFT-PrtSc to obtain a printed copy of the ephemeris.
  1046.  
  1047.              F3   Set LOCAL/UT TIME and/or LOCAL/UT DATE. The on-screen
  1048.                   clocks are running when the time and date are set to
  1049.                   the system clock or when the SIMULATION mode has been
  1050.                   enabled with ALT-F4. (If the clocks are stopped, press
  1051.                   F4 to restart the clocks.) When entering time or date,
  1052.                   press RETURN to skip an entry and leave that item
  1053.                   unchanged. F3 automatically cancels the SIMULATION
  1054.                   mode.
  1055.  
  1056.                   LOCAL/UT/TDT TIME: Enter as Hours, Minutes, Seconds
  1057.                   using 24 hour notation; use either the comma or the
  1058.                   colon as separator. Decimal fractions are permitted for
  1059.                   any item. Add the letter "U" at the end of the entry to
  1060.                   enter UT TIME instead of local time; add the letter "T"
  1061.                   or "E" at the end of the entry to enter TDT/ET TIME
  1062.                   instead of local time.
  1063.  
  1064.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 18
  1065.  
  1066.  
  1067.                   NOTE: Use ALT-F10 to set the DAYLIGHT FLAG and any
  1068.                   required ZONE CORRECTION. See the section SETTING
  1069.                   PROGRAM OPTIONS for an explanation.
  1070.  
  1071.                   LOCAL/UT DATE: Dates may be entered in a number of
  1072.                   formats. For "standard" dates, enter the new date in
  1073.                   the form DD,MM,YYYY. Note that the date is entered
  1074.                   European style: Day, Month, Year and that the full 4-
  1075.                   digit year is required. Years B.C. (Julian proleptic
  1076.                   calendar) are preceded by a minus sign (e.g. -4713).
  1077.                   NOTE: There is no year 0000 in the day numbering
  1078.                   algorithms used in ASTROCLK. Add the letter "U"
  1079.                   following the year to enter UT DATE instead of local
  1080.                   date. When UT TIME has been entered, UT DATE is
  1081.                   automatically entered rather than LOCAL DATE. Dates may
  1082.                   also be entered as the Julian or Sidereal date. Five
  1083.                   styles of day numbers may be used, selected by the
  1084.                   prefix used, as well as several other methods.
  1085.  
  1086.                   For a more complete explanation of time and date entry
  1087.                   using F3, see the section SETTING LOCAL/UT/TDT TIME AND
  1088.                   DATE.
  1089.  
  1090.                   Use ALT-F3 to read the hardware clock with program
  1091.                   RTCLOCK from within ASTROCLK. (See PROGRAM OPERATION
  1092.                   for details.)
  1093.  
  1094.                   Use SHIFT-F3 to set an ALARM TIME or to set the start
  1095.                   time for the INTERVAL TIMER. The alarm may be set up to
  1096.                   23 hours in advance. When set, a window appears at the
  1097.                   lower right of the screen and displays the set alarm
  1098.                   time and the time remaining in red. To set the start
  1099.                   time for the Interval Timer, suffix the entered time
  1100.                   with the letter T. To disable an already set alarm,
  1101.                   press SHIFT-F3 then press RETURN. See also the section
  1102.                   ALARM AND INTERVAL TIMER OPERATIONS for additional
  1103.                   information.
  1104.  
  1105.              F4   Toggle Clocks ON or OFF. When clocks are ON, all time
  1106.                   and date displays are referenced to the computer's
  1107.                   internal software clock and any manually set local time
  1108.                   or date is lost. When clocks are OFF, all times on the
  1109.                   screen are frozen. The clocks are automatically turned
  1110.                   OFF if either the local time or local date is set with
  1111.                   Function Key F3. The message "Clocks ON" (green),
  1112.                   "Clocks OFF" (flashing red), or "SIMULATION" (yellow)
  1113.                   appears at the upper right of the screen to indicate
  1114.                   the current clock status.
  1115.  
  1116.                   Use ALT-F4 to toggle simulated real time. First preset
  1117.                   the desired time and date using Function Key F3, then
  1118.                   press ALT-F4 to turn on the simulation. The word
  1119.                   SIMULATION will appear in yellow at the upper right of
  1120.                   the screen (in place of the Clocks ON/OFF message) when
  1121.                   simulation is active. Press ALT-F4 again to disable
  1122.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 19
  1123.  
  1124.  
  1125.                   simulation. Function Key F3 also cancels the simulation
  1126.                   mode. NOTE: Unlike the DOS clock, which may only be set
  1127.                   for the period 1980 through 2099, the internal ASTROCLK
  1128.                   simulation will operate for any time and date.
  1129.  
  1130.                   Function Key F4 may be used to start and stop the
  1131.                   clocks in the simulation mode as usual. Function Keys
  1132.                   F4 and ALT-F4 stop simulated time in different ways.
  1133.                   When F4 is used to stop and start simulation, the
  1134.                   simulated time will resume as if the clocks had not
  1135.                   been stopped (the same as in the real time mode). Use
  1136.                   of ALT-F4 disables the simulation and stops the clocks;
  1137.                   pressing ALT-F4 again will restart simulation at the
  1138.                   current indicated time. If F4 is pressed after ALT-F4
  1139.                   has stopped simulation, normal real time operation will
  1140.                   follow.
  1141.  
  1142.              F5   Set new star or celestial object TARGET COORDINATES
  1143.                   using either the internal star database or an external
  1144.                   star catalog. [NOTE: To set the target coordinates for
  1145.                   a planet or to use the external Minor Planet Catalog,
  1146.                   see the sections PLANETARY DATA DISPLAYS and MINOR
  1147.                   PLANET SELECTION.]
  1148.  
  1149.                   A sub-menu is displayed offering the following function
  1150.                   key selections:
  1151.  
  1152.                   F1   Enter the USNO Standard Navigational Star Number
  1153.                        (1 through 57, or 0 for Polaris) or the desired
  1154.                        Star Name to use the internally stored star data.
  1155.                        When the name is entered, upper or lower case may
  1156.                        be used and only sufficient letters to
  1157.                        unambiguously identify the star name are required.
  1158.                        Enter "Deneb " (with a trailing space) to
  1159.                        distinguish that star from "Denebola".
  1160.  
  1161.                   F2   Search for nearest USNO Standard Navigational
  1162.                        Star. Enter the local horizon coordinates in
  1163.                        degrees: ALTITUDE (the angle from the true horizon
  1164.                        up to the star) and AZIMUTH (the direction of the
  1165.                        star in the sense North=0, East=90, South=180, and
  1166.                        West=270). The program will search for the USNO
  1167.                        star closest to the position specified and the
  1168.                        data for that star will be displayed in the
  1169.                        Tracking Window.
  1170.  
  1171.                   F3   Search EXTERNAL STAR CATALOG by star name, star
  1172.                        identification, or catalog number. When the name
  1173.                        is entered, upper or lower case may be used and
  1174.                        only sufficient letters to unambiguously identify
  1175.                        the star name are required. (Enter "Deneb ", with
  1176.                        a trailing space, to distinguish that star from
  1177.                        "Denebola".) Messier objects may be identified by
  1178.                        common name ("ORION") or by Messier number ("M9").
  1179.                        If the program finds a matching entry in the
  1180.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 20
  1181.  
  1182.  
  1183.                        catalog, the data for that star will be displayed
  1184.                        in the Tracking Window; if no match can be made,
  1185.                        the data in the Tracking Window is left unchanged.
  1186.                        Press SPACE BAR to cancel the catalog search in
  1187.                        progress; the current data is left unchanged.
  1188.  
  1189.                   F4   Search EXTERNAL STAR CATALOG by Right Ascension
  1190.                        and Declination. Enter the coordinates when
  1191.                        requested and the program will find the catalog
  1192.                        stars closest to the position specified. Respond
  1193.                        "Y" to display the 10 closest stars or "N" to only
  1194.                        locate the closest star. Press RETURN to display
  1195.                        the star in the Target Tracking Window. Press
  1196.                        SPACE BAR to cancel the catalog search in
  1197.                        progress; the current data is left unchanged.
  1198.  
  1199.                   F5   Search EXTERNAL STAR CATALOG for nearest star.
  1200.                        Enter the local horizon coordinates in degrees:
  1201.                        ALTITUDE (the angle from the true horizon up to
  1202.                        the star) and AZIMUTH (the position of the star in
  1203.                        the sense North=0, East=90, South=180, and
  1204.                        West=270). The program will search the catalog for
  1205.                        the stars closest to the position specified. Respond
  1206.                        "Y" to display the 10 closest stars or "N" to only
  1207.                        locate the closest star. Press RETURN to display
  1208.                        the star in the Target Tracking Window. Press
  1209.                        SPACE BAR to cancel the catalog search in
  1210.                        progress; the current data is left unchanged.
  1211.  
  1212.                   F6   MANUAL DATA ENTRY. Enter the celestial
  1213.                        coordinates, Right Ascension and Declination, the
  1214.                        proper motion in Right Ascention and Declination
  1215.                        per Julian century (in seconds of time or arc),
  1216.                        and the object name as requested. If the proper
  1217.                        motion parameters are not known, press RETURN to
  1218.                        enter zero. If RETURN is pressed for the object
  1219.                        name, the display will show "Manual Target Data".
  1220.                        The data for the object will be displayed in the
  1221.                        Tracking Window.
  1222.  
  1223.                RETURN  Cancel entry of Target Coordinates, leave current
  1224.                        Target Coordinates unchanged, and resume normal
  1225.                        program operation.
  1226.  
  1227.                   When searching using local horizon coordinates,
  1228.                   altitude is measured in degrees up from the true
  1229.                   horizon; 0 degrees is the horizon and 90 degrees is
  1230.                   directly overhead. Don't forget to take into account
  1231.                   hills or other obstructions that may obscure the true
  1232.                   horizon. Azimuth is measured in degrees from true North
  1233.                   in the sense NESW; thus, 0 degrees is North, 90 degrees
  1234.                   is East, 180 degrees is South, and 270 degrees is West.
  1235.  
  1236.                   The star selection algorithm used in the various
  1237.                   searches attempts to pick the Standard Navigational
  1238.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 21
  1239.  
  1240.  
  1241.                   Star or external catalog star which is closest (angular
  1242.                   difference) to the coordinates you have entered. It may
  1243.                   take a little practice before you can look at the night
  1244.                   sky and estimate star positions accurately enough for
  1245.                   the program to select the correct star. While the
  1246.                   search is in progress, the message "SEARCHING ..." will
  1247.                   appear at the upper right of the screen and the clocks
  1248.                   will temporarily be stopped.
  1249.  
  1250.                   For an external catalog search, file ASTROCLK.CC1 must
  1251.                   be present or another catalog name must have been
  1252.                   substituted using ALT-F10, SET PROGRAM OPTIONS. This
  1253.                   catalog includes data for 1644 stars, Epoch J2000.0,
  1254.                   extracted from USNO STAR1.CAT and USNO MESSIER.CAT.
  1255.                   Stars may be requested by catalog number or by any of
  1256.                   several names. See the section USING EXTERNAL STAR
  1257.                   CATALOGS for additional information. While the search
  1258.                   is in progress, the message "SEARCHING ..." will appear
  1259.                   at the upper right of the screen and the clocks will
  1260.                   temporarily be stopped.
  1261.  
  1262.                   NOTE: The supplied external star catalog is a large
  1263.                   file, currently about 75Kb, and the search time on a
  1264.                   floppy disk system can be slow; the numbers appearing
  1265.                   during the search indicate progress through the catalog
  1266.                   in increments of 100.
  1267.  
  1268.                   For manual data entry, you must know the standard
  1269.                   equatorial coordinates, Right Ascension and
  1270.                   Declination, for the celestial object you wish to
  1271.                   track. Star Atlases, astronomical magazines, and other
  1272.                   publications usually give the coordinates for objects
  1273.                   of interest. The input routine is very flexible and
  1274.                   data may be entered in a number of formats. Observe the
  1275.                   separator requirement: items for time (including Right
  1276.                   Ascension) must be separated by the colon or comma,
  1277.                   while items in degrees (including Declination) must be
  1278.                   separated by the comma. In general, only the first item
  1279.                   (hours or degrees) is required and a decimal fraction
  1280.                   is allowed for all items. If you press RETURN for an
  1281.                   item, the data for that item will be left unchanged.
  1282.  
  1283.                   When entering data manually, the parameters for proper
  1284.                   motion are requested. Press RETURN to enter zero. These
  1285.                   data are used by ASTROCLK to calculate the current
  1286.                   apparent equatorial coordinates on the Tracking Display
  1287.                   and are also used if the coordinates are precessed from
  1288.                   one epoch to another using Function Key F8. This
  1289.                   information is given for many stars in star catalogs
  1290.                   such as SKY CATALOGUE 2000.0. However, note that
  1291.                   ASTROCLK requires this information in SECONDS PER
  1292.                   JULIAN CENTURY (36525 days) and not all references use
  1293.                   the same units; SKY CATALOGUE 2000.0, for example, uses
  1294.                   SECONDS PER YEAR which must be converted prior to input
  1295.                   into ASTROCLK.
  1296.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 22
  1297.  
  1298.  
  1299.  
  1300.          ALT-F5   Because of its usefulness, the coordinates of the star
  1301.                   POLARIS (Alpha Ursa Minoris), the pole star, are hard
  1302.                   coded into ASTROCLK on Function Key ALT-F5. POLARIS is
  1303.                   often used for navigation and for the initial alignment
  1304.                   of celestial telescopes and satellite dishes. Press
  1305.                   this key and the coordinates for POLARIS are
  1306.                   automatically entered and the display mode is switched
  1307.                   to the Target Tracking Display.
  1308.  
  1309.              F6   Set new LOCAL COORDINATES. All entries are in degrees
  1310.                   and require the comma as separator between the items. A
  1311.                   decimal fraction is allowed for any item, and only the
  1312.                   first item (degrees) is required. See the section
  1313.                   SETTING LOCAL AND DESTINATION COORDINATES for details.
  1314.  
  1315.  
  1316.                   If file ASTROCLK.CTY (or an alternate city file) is
  1317.                   present, it may be used to read the coordinates for a
  1318.                   selection of cities. Enter the name of the location
  1319.                   desired in upper or lower case. Only letters sufficient
  1320.                   to uniquely identify the location are required. Press
  1321.                   RETURN to ACCEPT the displayed location; press SPACE to
  1322.                   search for the next match. Press ESC during the search
  1323.                   to cancel the search and leave the local coordinates
  1324.                   unchanged. If no match can be found, a CAUTION message
  1325.                   will be displayed at the lower left of the screen.
  1326.                   Press RETURN to continue; the local coordinates will be
  1327.                   left unchanged.
  1328.  
  1329.                   To enter coordinates manually, press RETURN when
  1330.                   prompted for the name. Then enter the LONGITUDE,
  1331.                   LATITUDE and ELEVATION, followed by the NAME of the
  1332.                   location.
  1333.  
  1334.                   NOTE: Additional city files may be available from time
  1335.                   to time on my BBS or by mail; see the end of the
  1336.                   section A BRIEF EDITORIAL for the BBS telephone number
  1337.                   and my address.
  1338.  
  1339.         SHIFT-F6  Set DESTINATION COORDINATES for use with navigation
  1340.                   functions. Operates in all respects like F6 above
  1341.                   except that the destination coordinates are set rather
  1342.                   than the local coordinates, and you may enter "*"
  1343.                   instead of a destination name to set the DESTINATION
  1344.                   coordinates to the current LOCAL coordinates.
  1345.  
  1346.          ALT-F6   Set LOCAL CONDITIONS for Elevation, Temperature, and
  1347.                   Pressure. Allows the user to set these conditions to
  1348.                   determine horizon dip and refraction. Automatic con-
  1349.                   version between metric and English units is performed.
  1350.  
  1351.              F7   Set DISPLAY FORMAT for the main display window and Local
  1352.                   Coordinates window. When the program is started, all
  1353.                   angles and times on the main display window (other than
  1354.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 23
  1355.  
  1356.  
  1357.                   large character times) and in the Local Coordinates
  1358.                   window are shown in Degrees/Hours-Minutes-Seconds
  1359.                   format. Press F7 to cycle between display formats; the
  1360.                   three available formats are:
  1361.  
  1362.                        ANGLES              TIMES
  1363.                        ------------        -----------
  1364.                        DDD MM SS.SS        HH:MM:SS.SS
  1365.                        DDD MM.MMMM         HH:MM.MMMM
  1366.                        DDD.DDDDDD          HH.HHHHHH
  1367.  
  1368.                   Press ALT-F7 to change Target Display coordinates from
  1369.                   Right Ascension (hours) to Sidereal Hour Angle
  1370.                   (degrees) and from Hour Angle (hours) to Greenwich Hour
  1371.                   Angle (degrees), preferred by navigators and given in
  1372.                   references such as the Astronomical Almanac. Press ALT-
  1373.                   F7 again to return to the original format. Declination
  1374.                   is not affected. See also the section TARGET TRACKING
  1375.                   DISPLAY for further discussion.
  1376.  
  1377.              F8   PRECESS Internal Star Database. This function allows
  1378.                   the user to precess (adjust for different epochs) the
  1379.                   current target data and the preset star database in the
  1380.                   program. Upon startup, all data are set for epoch
  1381.                   J2000.0, the current standard epoch. Press the "Y" key
  1382.                   to make the precession calculations or press RETURN to
  1383.                   cancel the calculations and leave all data unchanged.
  1384.  
  1385.                   If you proceed, press RETURN to restore all data to
  1386.                   Epoch J2000.0 or enter the desired new epoch. The new
  1387.                   epoch may be entered in any of the following formats:
  1388.  
  1389.                        dd,mm,yyyy          Calendar Date
  1390.                        JDnnnnnnn.nnnnnn    Julian Date
  1391.                        DJDnnnnnn.nnnnnn    Julian Date (J1900.0)
  1392.                        MJDnnnnnn.nnnnnn    Modified Julian Date
  1393.                        Jyyyy.yyy           Julian Epoch
  1394.                        Byyyy.yyy           Besellian Epoch
  1395.                        +nnn                Add nnn days to Current JD
  1396.                        -nnn                Subtract nnn days from Cur JD
  1397.                        *                   Current Julian Date and Time
  1398.                        #                   Current Julian Date @ 0h UT
  1399.  
  1400.                   Lower case letters (yyyy, nnnnnn, etc.) represent
  1401.                   numbers while upper case letters (JD, J, etc.) are used
  1402.                   to designate the data format being used. The calendar
  1403.                   date method assumes the Julian or Gregorian calendar as
  1404.                   determined by the date and the Calendar Flag (See ALT-
  1405.                   F10, Setting Program Options). Except for the calendar
  1406.                   date method, any number of digits to the right of the
  1407.                   decimal point may be input although more than about six
  1408.                   will not be significant. Regardless of the data format
  1409.                   used for input, the date is internally converted to the
  1410.                   corresponding Julian Date for use in the precession
  1411.                   calculations. The current ASTROCLK internal database
  1412.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 24
  1413.  
  1414.  
  1415.                   epoch is always shown in the Target Tracking Display,
  1416.                   Display Mode 0, and in the initial Precession
  1417.                   instructions when using Function Key F8.
  1418.  
  1419.                   Care should be taken when manually entering data whose
  1420.                   epoch is different from that of the internal database.
  1421.                   In order to maintain consistent data within ASTROCLK,
  1422.                   the internal star database should first be precessed to
  1423.                   a data epoch, then manual data referenced to that epoch
  1424.                   should be entered. After that, all data may be
  1425.                   precessed to the final epoch; using this procedure,
  1426.                   both the manually entered data as well as the internal
  1427.                   data will always refer to the same epoch.
  1428.  
  1429.                   For example, to track a target using Epoch J2000.0
  1430.                   coordinates when the available catalog data is for
  1431.                   Epoch B1950.0, first precess the internal star data to
  1432.                   B1950.0 using F8, next enter the target Right
  1433.                   Ascension, Declination, Name from the catalog, and the
  1434.                   proper motion in Right Ascension and Declination (if
  1435.                   known) using F5 (and F6 for manual entry). Finally,
  1436.                   again use F8 to precess all data back to Epoch J2000.0
  1437.                   (or any desired epoch). Thereafter, F8 may be used as
  1438.                   many times as desired to precess the database.
  1439.  
  1440.              F9   DOS SHELL. This function invokes a copy of the MS-DOS
  1441.                   executive, COMMAND.COM, and allows the user to enter
  1442.                   any legal DOS command. COMMAND.COM must be available or
  1443.                   ASTROCLK will ignore the request and continue normal
  1444.                   operation. Since COMMAND.COM must reside in available
  1445.                   memory in addition to ASTROCLK, use of a large RAM DISK
  1446.                   or TSR program may cause the DOS shell to fail. The MS-
  1447.                   DOS prompt is displayed and the computer performs in
  1448.                   most respects exactly as usual. However, far less
  1449.                   memory is available and therefore programs which
  1450.                   require very large amounts of memory for their
  1451.                   execution may not operate properly with the SHELL.
  1452.  
  1453.                   Enter EXIT to return to ASTROCLK and resume operation
  1454.                   with all data and parameters unchanged.
  1455.  
  1456.                   SHIFT-F9 may be used to automatically executa a preset
  1457.                   DOS command or batch file. The DOS command is set using
  1458.                   ALT-F10, SETTING PROGRAM OPTIONS, and is saved in file
  1459.                   ASTROCLK.INI. If a DOS command has been set, the
  1460.                   command is executed and upon completion ASTROCLK is
  1461.                   automatically resumed. This command has the same
  1462.                   restrictions and comments as the normal F9 command
  1463.                   above; the only difference is the execution of a preset
  1464.                   DOS command and automatic return to ASTROCLK. The
  1465.                   default is no action.
  1466.  
  1467.                   ALT-F9 may be used to automatically execute the USNO
  1468.                   Interactive Computer Ephemeris (ICE) or the USNO Floppy
  1469.                   Almanac (FA); see the section USNO EPHEMERIS PROGRAMS
  1470.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 25
  1471.  
  1472.  
  1473.                   for more complete information. ALT-F9 will execute the
  1474.                   selected USNO program if the appropriate software has
  1475.                   been installed in the computer AND if the appropriate
  1476.                   ephemeris has been selected and its path set using ALT-
  1477.                   F10, SETTING PROGRAM OPTIONS.
  1478.  
  1479.              F10  Function Key F10 provides navigational calculations
  1480.                   using two methods: DEAD RECKONING and SIGHT REDUCTION.
  1481.                   For an observer in motion, ASTROCLK also calculates the
  1482.                   current position based upon the last "fix" and the
  1483.                   observer's course and speed. See the section CELESTIAL
  1484.                   NAVIGATION for details.
  1485.  
  1486.                   ALT-F10 is used to set or change various ASTROCLK
  1487.                   program options. See the following section, SETTING
  1488.                   PROGRAM OPTIONS, for details.
  1489.  
  1490.             0-9   Select Display Window Mode. The system starts out with
  1491.                   LOCAL STANDARD/DAYLIGHT TIME displayed in large
  1492.                   characters. In the United States, the correct time zone
  1493.                   name (i.e. "PACIFIC") replaces the word "LOCAL". Press
  1494.                   the number key associated with each display mode to
  1495.                   change to that mode. (Use the numbers at the top of the
  1496.                   keyboard rather than the number keys on the keypad at
  1497.                   the right unless NUMLOCK is ON.) The available numeric
  1498.                   modes and alphabetic commands are:
  1499.  
  1500.                   1    Local Standard or Daylight Time (LST/LDT)
  1501.                   2    Coordinated Universal Time (UTC)
  1502.                   3    Local Mean Sidereal Time (LMST)
  1503.                   4    Greenwich Mean Sidereal Time (GMST)
  1504.                   5    Local Mean Solar Time
  1505.                   6    Perpetual Calendar and Holidays
  1506.                   7    Julian Date Information
  1507.                   8    Precision Time Display
  1508.                   9    Planetary Data
  1509.                   0    Target Tracking Display
  1510.  
  1511.                   N    Select NAVIGATION Display Mode
  1512.  
  1513.                   P    Select PLANET or MINOR PLANET
  1514.                        (forces display mode 9 or 0)
  1515.  
  1516.                   A    Alarm Countdown *
  1517.                   S    Start/Stop Interval Timer *
  1518.                   T    Interval Timer *
  1519.                   Z    Stop and Reset Interval Timer *
  1520.  
  1521.                        *  See the section ALARM AND INTERVAL TIMER
  1522.                           OPERATIONS for information on these modes.
  1523.  
  1524.                   While in display mode 0, Target Tracking, use the UP
  1525.                   and DOWN arrow keys to select the next or the previous
  1526.                   Standard Navigational Star. PgUp and PgDn increase or
  1527.                   decrease the selected star number by 10. Use F5 to
  1528.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 26
  1529.  
  1530.  
  1531.                   input a new star number directly.
  1532.  
  1533.                   While in display modes 1 through 5, the large clock
  1534.                   displays, use the UP and DOWN arrow keys to select the
  1535.                   dual-time displays and the HOME key to return to
  1536.                   single-time display. See the section DUAL-TIME DISPLAYS
  1537.                   for further information.
  1538.  
  1539.                   While in display mode 6, Perpetual Calendar, press "6"
  1540.                   to toggle between calendar display and list of holi-
  1541.                   days, and use the Left and Right arrow keys to change
  1542.                   months, the Up and Down arrow keys to change years, and
  1543.                   the PgUp and PgDn keys to change the years by decades.
  1544.                   HOME returns the display to the current system date.
  1545.                   Use F3 to input a new date or time directly.
  1546.  
  1547.                   While in display mode 8, Precision Time and Data
  1548.                   Displays, press PgUp or PgDn to view the next Precision
  1549.                   Time or Data Display. See the section PRECISION TIME
  1550.                   AND DATA DISPLAYS for details.
  1551.  
  1552.                   While in display mode 9, Planetary Data, use the UP and
  1553.                   DOWN arrow keys to change planets. See the section
  1554.                   PLANETARY DATA DISPLAYS for further discussion.
  1555.  
  1556.                   Pressing "N" to select the Navigation Mode Display will
  1557.                   result in an error message if navigation has not been
  1558.                   enabled with Function Key F10. See the section
  1559.                   NAVIGATION for further discussion.
  1560.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 27
  1561.  
  1562.  
  1563.  
  1564.         SETTING PROGRAM OPTIONS
  1565.  
  1566.              Several ASTROCLK program options can be set using Function
  1567.         Key ALT-F10. The options which can be set are shown below. All of
  1568.         this information is saved in file ASTROCLK.INI.
  1569.              The DAYLIGHT FLAG determines whether or not Daylight Time is
  1570.         in effect. The ZONE CORRECTION allows the user to adjust the
  1571.         local time zone. The CALENDAR FLAG determines which of three
  1572.         calendar conventions to use; it is initially set to the Gregorian
  1573.         Calendar (from October, 1582). A sub-menu is displayed when using
  1574.         ALT-F10 with the current values shown enclosed by square
  1575.         brackets, "[...]". Press the function key corresponding to the
  1576.         option you wish to change or press RETURN to resume normal
  1577.         program operation with the options as shown. A typical display
  1578.         showing the default values for each item is shown below:
  1579.  
  1580.              F1   DAYLIGHT FLAG:           [OFF]
  1581.              F2   ZONE CORRECTION:         [0.00]
  1582.              F3   COLOR FLAG:              [ON]
  1583.              F4   ICE/FA FLAG:             [0=ICE/FA Disabled]
  1584.              F5   CALENDAR FLAG:           [1=Gregorian @ 1582]
  1585.              F6   SET FILE NAMES & PATHS
  1586.              F9   SET DOS COMMAND for use with SHIFT-F9
  1587.                   (no command has been entered)
  1588.              RETURN  Resume program operation
  1589.  
  1590.              When you exit ASTROCLK, these options will be saved in file
  1591.         ASTROCLK.INI and will automatically be restored the next time you
  1592.         run the program.
  1593.  
  1594.         Setting the DAYLIGHT FLAG
  1595.         -------------------------
  1596.  
  1597.              The DAYLIGHT FLAG selects whether or not an additional hour
  1598.         will be automatically added during the time zone calculation to
  1599.         determine Coordinated Universal Time. The flag applies equally to
  1600.         all time zones and the window label for local time will include
  1601.         the word STANDARD if the flag is OFF, or the word DAYLIGHT if the
  1602.         flag is ON. For example: PACIFIC STANDARD TIME or PACIFIC DAY-
  1603.         LIGHT TIME. If you wish to change the state of the flag, press
  1604.         Function Key F1 until the desired mode appears. There are three
  1605.         possible settings:
  1606.  
  1607.              [OFF]                    DAYLIGHT FLAG always OFF.
  1608.  
  1609.              [ON]                     DAYLIGHT FLAG always ON.
  1610.  
  1611.              [AUTO ON] or [AUTO OFF]  DAYLIGHT FLAG set according
  1612.                                       to DOS time and date.
  1613.  
  1614.              The DAYLIGHT flag is OFF by default. The UT TIME ZONE OFF-
  1615.         SET, if enabled with F10+F10, will also be automatically adjusted
  1616.         when the DAYLIGHT FLAG is changed. Because the dates for switch-
  1617.         ing to and from daylight (summer) time are different in different
  1618.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 28
  1619.  
  1620.  
  1621.         countries and are sometimes changed for one reason or another,
  1622.         use the manual ON or OFF settings for those locations.
  1623.              When the state of the DAYLIGHT FLAG is changed, either
  1624.         manually or as a result of setting the flag to the AUTO mode, the
  1625.         following message will appear:
  1626.  
  1627.                   You have changed the status of the
  1628.                   DAYLIGHT FLAG. Do you wish the DOS
  1629.                   computer clock to be automatically
  1630.                   adjusted (Y/n):
  1631.  
  1632.  
  1633.                   NOTE:  For DOS 3.3 and higher, the
  1634.                   hardware clock may also be changed!
  1635.  
  1636.         Press ENTER to automatically adjust the DOS time and date
  1637.         according to the change just made. Press "N" plus ENTER to leave
  1638.         the DOS time and date unchanged. Note that for DOS versions 3.3
  1639.         and higher AND for 80286 processors and higher, both the software
  1640.         and the hardware clocks will be set; for 8088 processors (XT-
  1641.         class computers), the hardware clock usually is not changed
  1642.         (depending upon the type of hardware clock installed).
  1643.              By selecting the AUTO mode for the DAYLIGHT FLAG, ASTROCLK
  1644.         will automatically select the state of the flag as a function of
  1645.         the DOS time and date. Daylight time is ENABLED as of 02:00 Local
  1646.         Standard Time on the first Sunday in April and is DISABLED as of
  1647.         02:00 Local Daylight Time on the last Sunday in October. These
  1648.         dates are generally valid ONLY in the United States and Canada.
  1649.         (These dates were effective in the United States beginning in
  1650.         1988; they were changed periodically prior to that year.)
  1651.              If the DAYLIGHT FLAG is incorrectly set, all calculated
  1652.         times and positions will also be incorrect. Do NOT use the DAY-
  1653.         LIGHT FLAG to adjust for an incorrect zone calculation; use the
  1654.         ZONE CORRECTION (see the following item) for that purpose. You
  1655.         may, if you prefer, leave your computer clock always set to local
  1656.         STANDARD time and the DAYLIGHT FLAG always off. However, you may
  1657.         NOT set your computer clock to UTC (unless you are in that time
  1658.         zone); set the computer clock correctly and use display mode 2 to
  1659.         view UTC instead.
  1660.  
  1661.         Setting the ZONE CORRECTION
  1662.         ---------------------------
  1663.  
  1664.              The ZONE CORRECTION is DISABLED when the Navigation Mode is
  1665.         active. The ALT-F10 menu will show "[disabled]" when this is the
  1666.         case. This is to ensure that standard time zones are calculated
  1667.         correctly during navigation. An attempt to enter a ZONE
  1668.         CORRECTION while the Navigation Mode is active will be ignored.
  1669.              The ZONE CORRECTION allows the user to make special
  1670.         adjustments in the calculation of Coordinated Universal Time
  1671.         (UTC) relative to Local Time. Some time zones are not an integral
  1672.         number of hours offset from UTC; in other cases the actual
  1673.         standard time for a particular location is different from that
  1674.         calculated by ASTROCLK because of the irregular way time zones
  1675.         have been defined locally. Some countries use "Double Summer
  1676.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 29
  1677.  
  1678.  
  1679.         Time" which is two hours ahead of the standard time for the zone.
  1680.         To change the current ZONE CORRECTION, press F2. The correction
  1681.         must be entered in hours and decimal fraction, H.HH or -H.HH, and
  1682.         is automatically rounded to the nearest 0.25 hours (15 minutes);
  1683.         the maximum correction is restricted to the range -2.00 hours to
  1684.         +2.00 hours. The ZONE CORRECTION is calculated in ADDITION to the
  1685.         DAYLIGHT FLAG.
  1686.              IMPORTANT NOTE: Unlike the Daylight Flag, which remains
  1687.         unchanged when you change local coordinates, the Zone Correction
  1688.         will be reset to 0.00 hours any time you change the local
  1689.         coordinates on the assumption that the Zone Correction is
  1690.         unique to a given location. This also assures that when using
  1691.         the external city file to change cities and load the coordinates
  1692.         from the file, the Zone Correction will be reset. The default
  1693.         value for the Zone Correction is 0.00 hours.
  1694.  
  1695.         Setting the COLOR FLAG
  1696.         ----------------------
  1697.  
  1698.              The COLOR FLAG allows you to switch between color, red,
  1699.         green, and monochrome display. COLOR FLAG ON uses various colors
  1700.         for the display. COLOR FLAG RED sets all screen colors to red in
  1701.         order to protect night vision if the computer is operated in a
  1702.         darkened area. GREEN FLAG GREEN sets all screen colors to green;
  1703.         this may help reduce eye fatigue during extended use. COLOR FLAG
  1704.         OFF (monochrome) is used for true monochrome monitors and may be
  1705.         used if you wish a white display on color monitors. Switching to
  1706.         any of the color modes on some true monochrome systems may cause
  1707.         an error. See also the section PROGRAM OPERATION for additional
  1708.         information on the command line color options.
  1709.              To change the COLOR FLAG from one mode to the next, press
  1710.         Function Key F3; the color changes for the new mode will take
  1711.         effect immediately within the window but the balance of the
  1712.         display will not be affected until you leave the Setting Programs
  1713.         Options window by pressing the RETURN key.
  1714.              The state of the COLOR FLAG is saved in file ASTROCLK.INI
  1715.         and the program will use the color mode read from that file the
  1716.         next time it is run. However, the command line color option (/M,
  1717.         /R, or /G), if present, will override the saved state of the
  1718.         COLOR FLAG.
  1719.  
  1720.         Setting the ICE/FA FLAG
  1721.         -----------------------
  1722.  
  1723.              The ICE/FA FLAG allows you to select between the following
  1724.         three options for external USNO ephemeris programs:
  1725.  
  1726.              0 =  No external USNO ephemeris program is available.
  1727.                   Pressing ALT-F9 will display an error message.
  1728.                   (DEFAULT)
  1729.  
  1730.              1 =  The USNO Interactive Computer Ephemeris, ICE, is
  1731.                   installed and will be executed by pressing ALT-F9. Be
  1732.                   sure to set the ICE drive and/or path correctly!
  1733.  
  1734.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 30
  1735.  
  1736.  
  1737.              2 =  The USNO Floppy Almanac, FA, is installed and will be
  1738.                   executed by pressing ALT-F9. Be sure to set the FA
  1739.                   drive and/or path correctly!
  1740.  
  1741.              Press F4 until the desired option is displayed. Do not
  1742.         select one of the USNO ephemeris program options unless the
  1743.         appropriate ephemeris files have been installed. Use F6 (below)
  1744.         to set the correct drive and path for ICE or FA. See also the
  1745.         section USNO EPHEMERIS PROGRAMS for additional information.
  1746.  
  1747.         Setting the CALENDAR FLAG
  1748.         -------------------------
  1749.  
  1750.              The CALENDAR FLAG allows you to select between the following
  1751.         three calendar conventions:
  1752.  
  1753.              0 =  Strict Julian Calandar for ALL dates. Technically, this
  1754.                   calendar is known as the Julian Proleptic Calendar for
  1755.                   dates prior to 46 B.C. NOTE: The Julian Calendar may
  1756.                   not be used in real time (see below).
  1757.  
  1758.              1 =  Julian Calendar switching to Gregorian Calendar in
  1759.                   October, 1582 in accordance with standard astronomical
  1760.                   convention (DEFAULT).
  1761.  
  1762.              2 =  Julian Calendar switching to Gregorian Calendar in
  1763.                   September, 1752 corresponding to usage in Great Britain
  1764.                   and her colonies (including the United States).
  1765.  
  1766.              Press F5 to change the flag until the desired calendar
  1767.         convention is displayed. For additional information on the
  1768.         various calendar conventions, see the section DATES AND THE
  1769.         GREGORIAN CALENDAR.
  1770.              NOTE: Regardless of the calendar convention in effect,
  1771.         ASTROCLK always assumes that the system clock is set to the
  1772.         correct date. This means that only calendar flag values of 1 and
  1773.         2 are permitted with the CLOCKS ON. ASTROCLK's internal date
  1774.         functions are performed using the current Julian Date. Therefore,
  1775.         switching from the Gregorian Calendar to the Julian Calendar for
  1776.         a modern date with the CLOCKS OFF will leave the Julian Date
  1777.         unchanged but will change the calendar date to a new value,
  1778.         correct for the strict Julian Calendar. However, if the clocks
  1779.         were ON, they will automatically be set to OFF and a warning
  1780.         message will be displayed. If you wish to use the program with
  1781.         the Julian Calendar and the clocks running, use the SIMULATION
  1782.         mode (ALT-F4).
  1783.  
  1784.         Setting the FILE NAMES and PATHS
  1785.         --------------------------------
  1786.  
  1787.              In order to execute the help function, to utilize the
  1788.         external data files and to run the USNO Interactive Computer
  1789.         Ephemeris (ICE) or Floppy Almanac (FA), ASTROCLK must know what
  1790.         the file names are and where to find them. The default condition
  1791.         is that these files are all located in the current directory and
  1792.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 31
  1793.  
  1794.  
  1795.         that the files have the following names:
  1796.  
  1797.                   ASTROHLP.EXE        External Help Program
  1798.                   ASTROCLK.CC1        External star catalog
  1799.                   ASTROCLK.MPC        External minor planet catalog
  1800.                   ASTROCLK.CTY        External city file
  1801.                   ICE.EXE             USNO Interactive Computer Ephemeris
  1802.                   FAnn.EXE            USNO Floppy Almanac (nn=88-99)
  1803.  
  1804.         There is a different file for each year for the USNO Floppy
  1805.         Almanac. All files required by ICE or FA must be located in the
  1806.         same directory as the corresponding .EXE file. A common drive and
  1807.         path may be specified in the command line when starting ASTROCLK
  1808.         for the first time.
  1809.  
  1810.                               ********************
  1811.                               *  IMPORTANT NOTE  *
  1812.                               ********************
  1813.  
  1814.              Once ASTROCLK has been executed the first time, the drive
  1815.         and path information are saved in the program initialization
  1816.         file ASTROCLK.INI. Thereafter, ASTROCLK uses the information
  1817.         in ASTROCLK.INI and overrides any drive or path specification
  1818.         entered on the command line. You may use ALT-F10 and then F6 to
  1819.         change the drive and/or subdirectory from within ASTROCLK, or you
  1820.         may delete file ASTROCLK.INI at the DOS prompt to start over.
  1821.  
  1822.                                     * * * * *
  1823.  
  1824.              Since the external city file, ASTROCLK.CTY, is a
  1825.         conventional ASCII file which may be created or edited by the
  1826.         user, and since alternative external star catalogs are or may be
  1827.         available, a provision is included here to permit the user to
  1828.         specify an alternate file name for either of these files,
  1829.         including drive and path. For example, you might wish to use a
  1830.         special city file when traveling in Europe.
  1831.              The current STAR CATALOG, MINOR PLANET CATALOG, and CITY
  1832.         FILE names are shown on the menu, in that order. If a drive
  1833.         and/or path was specified with the command line, they will also
  1834.         be shown. If no drive or path is shown, ASTROCLK assumes the
  1835.         current drive and directory. To change one or more file names,
  1836.         press F6 and enter the new name when prompted or press RETURN to
  1837.         leave a name unchanged. You may include a drive and path
  1838.         specification if desired. Enter SPACE to restore the file name to
  1839.         the default. (A long path specification may exceed the width of
  1840.         the display window but it will be processed correctly.)
  1841.              For convenience, an additional file, MESSIER.CC1, is
  1842.         available with the data for the 108 Messier objects only. The
  1843.         same data is included in file ASTROCLK.CC1 but at the end of that
  1844.         long file. If you are content with the 57 internal USNO stars
  1845.         plus Polaris and just wish to add the Messier objects, use
  1846.         MESSIER.CC1 and substitute it for ASTROCLK.CC1 using ALT-F10 and
  1847.         then F6. This will substantially reduce the catalog search time,
  1848.         especially on floppy disk based systems. M40 has always been
  1849.         missing and no entry for that object is included; therefore, the
  1850.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 32
  1851.  
  1852.  
  1853.         catalog number, indicating the record number within the file,
  1854.         will be one less than the Messier number for Messier objects
  1855.         numbered 41 and above.
  1856.              An alternate city file, USCITIES.CTY is available which
  1857.         includes some 718 U.S. cities with the geographical coordinates
  1858.         given to a higher accuracy than the standard ASTROCLK.CTY.
  1859.              Other special city files and star catalogs may also be
  1860.         available from time to time on my Bulletin Board System (BBS).
  1861.         See the section A BRIEF EDITORIAL near the end of this document
  1862.         for information on the BBS.
  1863.  
  1864.              THE "EASY" METHOD OF SETTING PATHS: If you do not understand
  1865.         paths and subdirectories or simply do not wish to alter
  1866.         ASTROCLK's default setup, simply make sure that all ASTROCLK
  1867.         files (and the USNO ICE or FA files, if you have them) are
  1868.         located on the same drive and directory. I recommend that the
  1869.         files be located on the selected drive in directory ASTROCLK; see
  1870.         your DOS manual for information on how to create the directory
  1871.         and copy the ASTROCLK files to that directory. Then run ASTROCLK
  1872.         from the ASTROCLK directory using the following command (which
  1873.         assumes drive C:):
  1874.  
  1875.                   ASTROCLK C:\ASTROCLK
  1876.  
  1877.         All drive and path information will be saved in file ASTROCLK.INI
  1878.         for subsequent uses of the program. Then, if you execute ASTROCLK
  1879.         from the ASTROCLK directory, the program will be able to find all
  1880.         its required files.
  1881.  
  1882.              However, it is often necessary or convenient to have some
  1883.         files, especially the USNO ephemeris files, located in another
  1884.         drive and/or subdirectory. This is particularly true for floppy
  1885.         disk based systems where the individual disk capacity may prevent
  1886.         all files from being on the same disk. The drive and path for
  1887.         ASTROCLK and for the USNO Interactive Computer Ephemeris (ICE) or
  1888.         Floppy Almanac (FA) may be separately set using F6, and specific
  1889.         file names (including drive and directory if desired) may be set
  1890.         for the external star catalog, minor planet catalog, and city
  1891.         files.
  1892.              When setting the ASTROCLK and ICE or FA paths, ONLY THE
  1893.         DRIVE AND PATH ARE SPECIFIED. A backslash ("\") should be the
  1894.         first character of each path except for a blank path; a CAUTION
  1895.         warning message will be displayed if you do not include it. Do
  1896.         NOT add a backslash at the end of the path. Unless you include a
  1897.         drive specification such as "D:", ASTROCLK assumes that all files
  1898.         are located on the current drive. If you include a drive
  1899.         specification with the ICE or FA path, you must also include a
  1900.         drive specification with the ASTROCLK path; a CAUTION warning
  1901.         message will be displayed if you do not include it.
  1902.              Thus, if your ICE/FA and related files are in drive
  1903.         D: and path \FA, enter "D:\FA", followed by RETURN, for the
  1904.         ICE/FA path. Setting the ICE/FA path not only enables ASTROCLK to
  1905.         locate the ICE.EXE or FAnn.EXE files, it also tells ASTROCLK
  1906.         where to write the file ICE.DFT or FA.DFT (which determines the
  1907.         default conditions for the program).
  1908.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 33
  1909.  
  1910.  
  1911.              The external file names default to ASTROCLK.CC1,
  1912.         ASTROCLK.MPC and ASTROCLK.CTY, and ASTROCLK also assumes by
  1913.         default that they are all located in the ASTROCLK path. Enter an
  1914.         alternate file name for one or more files if desired. You may
  1915.         include the drive and/or subdirectory if they are different from
  1916.         ASTROCLK's values. Enter a SPACE to reset the file name to the
  1917.         default name.
  1918.  
  1919.         Setting the PRESET DOS COMMAND
  1920.         ------------------------------
  1921.  
  1922.              This feature, requested by several users, allows you to
  1923.         enter a preset DOS command which will be executed from ASTROCLK
  1924.         each time you press SHIFT-F9. The current preset DOS command is
  1925.         shown on the screen; if no command has been entered or read from
  1926.         file ASTROCLK.INI, the following message will appear:
  1927.  
  1928.                   (no command has been entered)
  1929.  
  1930.         Press F9 to select this option and then enter the desired command
  1931.         or the name of the batch file (without the .BAT portion of the
  1932.         file name) which you wish to be executed. Press RETURN by itself
  1933.         to clear the preset DOS command. NOTE: If you select this option
  1934.         by mistake, you must re-enter the desired DOS command or it will
  1935.         be cleared.
  1936.              Once the desired DOS command has been entered, return to
  1937.         ASTROCLK and test the command by pressing SHIFT-F9. Bear in mind
  1938.         that very large programs may require more memory than is
  1939.         available under the SHELL used by ASTROCLK to execute DOS
  1940.         programs. Further, using TSR (Terminate and Stay Resident)
  1941.         programs may leave insufficient memory to use this feature or may
  1942.         cause programs to operate unpredictably.
  1943.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 34
  1944.  
  1945.  
  1946.  
  1947.         SETTING LOCAL/UT/TDT TIME AND DATE
  1948.  
  1949.              ASTROCLK has three basic modes of operation: real time,
  1950.         simulated real time, and static. In the real time mode, the
  1951.         clocks are running synchronized to the system clock and the data
  1952.         displayed are calculated every second (computer calculation time
  1953.         permitting). The simulation mode is the same as real time except
  1954.         that ASTROCLK uses a time previously set with Function Key F3 as
  1955.         its reference. Using a Zenith Z-183 laptop computer not equipped
  1956.         with a coprocessor, ASTROCLK is able to make most calculations
  1957.         (except for Tracking and Precision data) within one second.
  1958.         Compared to a Zenith Z-248 8 MHz AT-compatible computer with a
  1959.         math coprocessor, the computational delays are noticeable.
  1960.         Provided the local time, date and coordinates have been properly
  1961.         set, the data reflect the correct real time (or simulated real
  1962.         time) parameters. In the static mode, the data are held at the
  1963.         values for the specified time.
  1964.              Except in the Navigation Mode, an algorithm is used to
  1965.         automatically calculate the time offset from UTC, Coordinated
  1966.         Universal Time based upon the longitude of the local coordinates.
  1967.         UTC is roughly equal to  Greenwich Mean Time (GMT) for years 1925
  1968.         and later. The results of this calculation are shown as UTC ZONE
  1969.         (for example, -118 degrees yields UTC -8.0 for Pacific Standard
  1970.         Time in Southern California), and are used in all subsequent time
  1971.         and position calculations. All calculations are based upon
  1972.         Standard Time. If Daylight Time is in use AND your computer clock
  1973.         is set to Daylight Time, use Function Key ALT-F10, SETTING
  1974.         PROGRAM OPTIONS, and set the DAYLIGHT FLAG ON to automatically
  1975.         adjust the times. To return to Standard Time, set the DAYLIGHT
  1976.         FLAG OFF. ASTROCLK does not perform any date tests to verify the
  1977.         validity of the DAYLIGHT FLAG setting.
  1978.              Because of the strange ways time zones have been drawn, the
  1979.         automatic time zone calculation may not always produce the
  1980.         desired result. The calculated time IS the correct time based
  1981.         upon the division of the world into 24 equal time zones. However,
  1982.         for political reasons or for local convenience, time zones often
  1983.         do not excatly follow the designated meridians. If a location is
  1984.         more than 7-1/2 degrees East or West of the 15 degree meridian
  1985.         corresponding to the local standard time, the time calculations
  1986.         will be an hour in error.  Use the ZONE CORRECTION with ALT-F10,
  1987.         SETTING PROGRAM OPTIONS, to correct for this problem to the
  1988.         nearest fifteen minutes. Some time zones are not set at an
  1989.         integral number of hours offset from UTC, fortunately none of
  1990.         them in the United States. A correction of from -2.00 hours to
  1991.         +2.00 hours will be accepted in order to accommodate both time
  1992.         zone errors and double daylight times. For U.S. locations not
  1993.         requiring this special correction, ASTROCLK will automatically
  1994.         display the correct zone name, Eastern, Pacific, etc.
  1995.              In the Navigation Mode, the calculation of times is handled
  1996.         slightly differently. Because the computer may move from one time
  1997.         zone to another, the Navigation Mode requires that the UT TIME
  1998.         ZONE OFFSET, the difference between the computer's clock and
  1999.         Universal Time (UT), be entered using Function Key F10. ASTROCLK
  2000.         then automatically converts the computer clock to UT before
  2001.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 35
  2002.  
  2003.  
  2004.         making adjustments for the current longitude (whether calculated
  2005.         or manually entered). This permits the computer to move freely
  2006.         from time zone to time zone without resetting the computer's
  2007.         internal clock. However, there is as usual no free lunch; because
  2008.         the local time is strictly dependent upon the current longitude,
  2009.         no ZONE CORRECTION for time zones which do not correspond to the
  2010.         calculated time is permitted. Any ZONE CORRECTION in effect when
  2011.         the UT OFFSET is set will be cleared. On the other side of the
  2012.         coin, once the UT OFFSET has been set ASTROCLK's local
  2013.         coordinates may be set as desired and the current correct local
  2014.         time will be calculated and displayed and UT TIME will remain
  2015.         constant. ASTROCLK will adjust ALL local times by one hour if the
  2016.         DAYLIGHT FLAG is set; given that the dates when daylight time is
  2017.         in effect vary considerably around the world, users may find it
  2018.         more convenient to leave the DAYLIGHT FLAG off when away from
  2019.         their "home" time zone(s), turning it on only when certain of the
  2020.         local standard. See also the discussion of the UT TIME ZONE
  2021.         OFFSET in the NAVIGATION section.
  2022.              When used in the static mode, the clocks are stopped. The
  2023.         user may enter any desired location or time/date and all
  2024.         calculations will be made using that data. Note that West
  2025.         longitudes and South latitudes must be entered as negative
  2026.         numbers for ASTROCLK. (CAUTION: Some texts and institutions do
  2027.         not observe the same sign conventions!) The basic calculations in
  2028.         ASTROCLK are based upon formulae accurate for Epoch J2000.0.
  2029.         Negative dates, that is dates "B.C.", display in RED (BLINK in
  2030.         all monochrome modes) and there is no year 0000; the sequence of
  2031.         years near zero is -2, -1, 1, 2, etc. The accuracy of some of the
  2032.         celestial data will decrease as the time difference from Epoch
  2033.         J2000.0 increases.
  2034.              Although UTC and UT (=UT1) are not the same, they are
  2035.         maintained to within 0.9 seconds of each other by the occasional
  2036.         insertion of Leap Seconds at the end of June or December. In 1988
  2037.         the difference is typically less than 0.2 seconds. While software
  2038.         programs are available to precisely set a computer's clock using
  2039.         telephone signals from NBS, this accuracy cannot usually be
  2040.         maintained for extended periods of time. In any event, frequent
  2041.         calls to NBS are impractical for most of us by reason of cost. A
  2042.         more cost effective solution is to use the Heath/Zenith GC-1000
  2043.         Most Accurate Clock and its optional software to synchronize the
  2044.         computer's clock. The GC-1000 is a combination receiver and clock
  2045.         and when equipped with an RS-232 interface and external antenna,
  2046.         it can maintain UTC time to within 10 milliseconds.
  2047.              I have therefore elected to treat UTC as equal to UT for
  2048.         time and date displays and have actually assumed UT time and date
  2049.         in all but one case: the correct UTC time relative to UT is
  2050.         calculated and displayed on Precision Time Display #1 but it is
  2051.         otherwise not used. All other times and dates are referenced to
  2052.         UT rather than to UTC. This minor technical error represents a
  2053.         compromise between technical accuracy and ease of use.
  2054.              While the times displayed by ASTROCLK in the various small
  2055.         windows are rounded to the nearest second, any time (Local, UT,
  2056.         or TDT) may be entered using Function Key F3 to a precision of
  2057.         approximately 0.0001 seconds and will be used to that precision
  2058.         in the various calculations. Compare the times shown in the small
  2059.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 36
  2060.  
  2061.  
  2062.         windows with those in the Precision Time Display #1. Except for
  2063.         some items in the Precision Time Displays, this additional
  2064.         precision is usually not significant. See the section PRECISION
  2065.         AND ACCURACY TESTS for additional comments.
  2066.  
  2067.  
  2068.         Setting the LOCAL/UT/TDT Time
  2069.  
  2070.              The time entry format is very flexible and for convenience
  2071.         will accept either the traditional colon (":") or the comma (",")
  2072.         as the separator between hours and minutes or minutes and
  2073.         seconds; the examples are shown with the colon only. Each item
  2074.         (hours, minutes, or seconds) can accept a decimal fraction
  2075.         although normally only the last item entered would have a
  2076.         fractional part. Time entries are ALWAYS made using the 24-hour
  2077.         convention. The following are all acceptable time entries:
  2078.  
  2079.                   HH                       Hours
  2080.                   HH.HHHHHH                Hours + fractional hours
  2081.                   HH:MM                    Hours:Minutes
  2082.                   HH:MM.MMMM               Hours:Minutes + frac mins
  2083.                   HH:MM:SS                 Hours:Minutes:Seconds
  2084.                   HH:MM:SS.SS              Hours:Minutes:Seconds + frac
  2085.  
  2086.              The "standard" date input format requires the day, month,
  2087.         and year (in that order, European style, and separated by commas)
  2088.         in either of the following two formats:
  2089.  
  2090.                   DD,MM,YYYY
  2091.                   DD.DDD,MM,YYYY
  2092.  
  2093.         The first format specifies the date to be used with the existing
  2094.         or just input time; unless the letter "U" or "T" has been
  2095.         appended to the time input (see below), the date is the LOCAL
  2096.         date. The second format, containing a fractional day (including
  2097.         "." alone or ".0") specifies a UT date with the time implicit to
  2098.         allow the astronomical convention where dates are often given in
  2099.         the form "1988 JAN 1.5"; this would be entered as "1.5,1,1988".
  2100.         The time input is ignored with this format (press RETURN). The
  2101.         fractional part may have as many digits as desired, but more than
  2102.         about six digits usually are not significant.
  2103.              It is sometimes convenient to set the time and date using
  2104.         UT (=UT1) data. This avoids having to make the conversions
  2105.         mentally. If you add the letter "U" at the end of the time or
  2106.         date entry, ASTROCLK will perform the appropriate time or date
  2107.         conversions automatically, based upon the current settings of the
  2108.         DAYLIGHT FLAG and ZONE CORRECTION. If you add "U" to your time
  2109.         input to enter UT time, ASTROCLK assumes that you are also
  2110.         entering UT date. If you enter a fractional part of a day as part
  2111.         of the date input, the time input is ignored and UT date is
  2112.         assumed (see the preceeding paragraph).
  2113.              As an example, to set the time and date to 9:44:30 UT on
  2114.         November 13, 1978, use the following entries:
  2115.  
  2116.                   9:44:30U            (UT time)
  2117.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 37
  2118.  
  2119.  
  2120.                   13,11,1978          (UT date)
  2121.  
  2122.         Alternatively, the same time and date may be input by pressing
  2123.         RETURN for the time, and using the following date entry (with the
  2124.         fractional part of the day representing the desired time):
  2125.  
  2126.                   13.405903,11,1978   (UT date, time implicit)
  2127.  
  2128.              If Terrestrial Dynamical Time (or Ephemeris Time prior to
  2129.         1984) is desired, add the letter "T" (or "E") at the end of the
  2130.         time entry. ASTROCLK automatically selects TDT or ET based upon
  2131.         the date regardless of the letter used to designate the time
  2132.         during input. Note that the displayed UTC DATE may not correspond
  2133.         to that input if the time is within the period Delta T (TDT-UT)
  2134.         of midnight. ASTROCLK automatically adjusts the date to agree
  2135.         with the information input and near midnight UTC this can be
  2136.         confusing to the user!
  2137.  
  2138.  
  2139.         Setting the LOCAL/UT Date
  2140.  
  2141.              The date may be input in a variety of formats to suit the
  2142.         circumstances. The "conventional" format is:
  2143.  
  2144.                        DD/MM/YYYY               Standard Date Format
  2145.                        DD,MM,YYYY               Standard Date Format
  2146.  
  2147.         Note the DAY, MONTH, YEAR sequence and that the full four digit
  2148.         year is required. Either the forward slash ("/") or comma (",")
  2149.         may be used as the separator. Note also that leading zeros are
  2150.         not required for any part of the date; for example, January may
  2151.         be entered as either "1" or "01". Because astronomical convention
  2152.         and tabular data often employ the 0th of January and the 32nd of
  2153.         December, these exceptions to legal days are permitted. The date
  2154.         input will be interpreted as the local date if local time has
  2155.         been input, or will be interpreted at UT or TDT/ET date if that
  2156.         time format has been used.
  2157.              The date input routine will also permit the entry of the
  2158.         Julian Date (JD), Dublin Julian Date (DJD), Modified Julian Date
  2159.         (MJD), Truncated Julian Date (TJD), or Greenwich Sidereal Date
  2160.         (GSD) by prefixing the date with the appropriate two or three
  2161.         letters followed by the desired date. Whenever letters are used,
  2162.         they may be input in upper or lower case. Note that when an
  2163.         integer GSD is entered (no fraction to the right of the decimal
  2164.         point), the resulting UT time is the Greenwich Transit of the
  2165.         Mean Equinox at 0h GMST for that date. The following formats are
  2166.         available:
  2167.  
  2168.                        JDddddddd.dddddd         Julian Date
  2169.                       DJDddddddd.dddddd         Dublin Julian Date
  2170.                       MJDddddddd.dddddd         Modified Julian Date
  2171.                       TJDddddddd.dddddd         Truncated Julian Date
  2172.                       GSDddddddd.dddddd         Greenwich Sidereal Date
  2173.  
  2174.              Decimal fractions of a day may also be included, as shown
  2175.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 38
  2176.  
  2177.  
  2178.         above and in the subsequent examples, but more than six digits to
  2179.         the right of the decimal point will probably not be significant
  2180.         in most calculations. If the current date plus or minus a number
  2181.         of days is desired, the form +nnn or -nnn may be used with "nnn"
  2182.         being the desired number of days. Entering "#" alone will yield
  2183.         the current Julian Date at 00:00:00 UT; entering "*" alone will
  2184.         yield the exact current Julian Date (useful for precession
  2185.         calculations with Function Key F8). Examples:
  2186.  
  2187.                        +3                       Current JD + 3 days
  2188.                        -10                      Current JD - 10 days
  2189.                        +1.5                     Current JD + 1.5 days
  2190.                        #                        Current JD @ 00:00:00 UT
  2191.                        *                        Current JD
  2192.  
  2193.              Similarly, dates may be input as Julian or Besselian Epochs
  2194.         by prefixing the epoch with the letter "J" or "B" respectively.
  2195.         Two formats are available:
  2196.  
  2197.                        Jyyyy.yyyyyy             Julian Epoch
  2198.                        Byyyy.yyyyyy             Besselian Epoch
  2199.  
  2200.              Finally, inspired by the desire to interpret dates on images
  2201.         during Voyager 2's close encounter with Neptune in August 1989,
  2202.         dates may be input as the current Day-of-the-Year, with January 1
  2203.         being Day 1. Note that this method may ONLY be used for the
  2204.         year currently set and displayed. UT Hours, minutes and seconds
  2205.         may be included if desired, as shown by the following format
  2206.         examples:
  2207.  
  2208.                        Dnnn[.nnnn]              Day Number
  2209.                        Dnnn:hh[.hhhh]           Day + UT Hours
  2210.                        Dnnn:hh:mm[.mm]          Day + UT Hours+Minutes
  2211.                        Dnnn:hh:mm:ss[.ss]       Day + UT Hrs+Mins+Secs
  2212.  
  2213.              When these special forms of date input are used, you may
  2214.         press RETURN in response to the time prompt since UT time is
  2215.         implicit in the date format; any time that is input will be
  2216.         overridden and the implicit time associated with the date used
  2217.         instead. All of these date formats are calculated in Display Mode
  2218.         7, Julian Date Information, and that display may be used to
  2219.         easily convert dates from one format to another; while in Display
  2220.         Mode 7, use F3 to enter the date in one format and read the
  2221.         desired conversion on the screen. For example, the following date
  2222.         entries are equivalent to July 2, 1988 at 03:00:00 UT to within a
  2223.         few seconds:
  2224.  
  2225.                   JD2447344.625
  2226.                    DJD32324.625
  2227.                    MJD47344.125
  2228.                     TJD7344.125
  2229.                  GSD2454045.903811
  2230.                        D185.125     (current year must already be 1988)
  2231.  
  2232.                       J1988.5
  2233.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 39
  2234.  
  2235.  
  2236.                       B1988.501032
  2237.  
  2238.              NOTE: If you enter a date as a simple number, greater than
  2239.         400 and without a letter or sign prefix such as "JD" or "+",
  2240.         ASTROCLK assumes that you wish to enter the Julian Date and
  2241.         simply neglected to include the "JD" prefix. The program
  2242.         therefore interprets such entries (up to the first comma, if
  2243.         present) as Julian Dates and no warning or error message is
  2244.         generated. (ASTROCLK versions prior to 8831 would sometimes
  2245.         generate a QuickBASIC error and abort ASTROCLK in this situation
  2246.         because the number was interpreted as the day of the month.)
  2247.  
  2248.         Setting the time/date from NIST/USNO
  2249.  
  2250.              When precision and accuracy are required, the computer clock
  2251.         may be set remotely using the telephone time service of either
  2252.         the National Institute of Standards and Technology (NIST,
  2253.         formerly the National Bureau of Standards or NBS) or the U.S.
  2254.         Naval Observatory (USNO). This method is available for
  2255.         systems using DOS version 3.3 or higher AND equipped with 80286
  2256.         processor or higher; some 8088-equipped systems may also use this
  2257.         method depending upon the type of clock hardware installed and
  2258.         the version of DOS being used. The recommended method uss the
  2259.         program TIMESET; the current version of TIMESET is posted on my
  2260.         bulletin board system.
  2261.              TIMESET is a copyrighted program by Peter Petrakis which is
  2262.         distributed using the "shareware" concept. If not available on a
  2263.         convenient bulletin board system, TIMESET may be obtained by
  2264.         writing:
  2265.  
  2266.                   Life Sciences Software
  2267.                   8925 271st N.W., Suite 112
  2268.                   P.O. Box 1560
  2269.                   Stanwood, WA  98292
  2270.  
  2271.                   (206) 387-9788
  2272.  
  2273.                   US$35.00/copy (as of April, 1991)
  2274.  
  2275.              TIMESET is an elegant and very precise method for setting
  2276.         the hardware and software clocks in your computer. You must have
  2277.         a modem connected to your system to use TIMESET. Note that the
  2278.         process involves making a telephone call to either Boulder, CO or
  2279.         Washington, DC and toll or long distance charges may apply!
  2280.              Although TIMESET can set your computer clocks to an accuracy
  2281.         of within 2 milliseconds under the best conditions, this only
  2282.         yields short term accuracy. It is important to remember that
  2283.         since the computer's hardware clock "ticks" occur at 55
  2284.         millisecond intervals and hardware clocks drift at varying rates
  2285.         depending upon the particular hardware, long term accuracy
  2286.         and precision can only be achieved by regular calibration and
  2287.         long term drift measurements. The frequency with which you use
  2288.         TIMESET is a function of your accuracy requirements. Further
  2289.         information is given in the TIMESET documentation.
  2290.              ASTROCLK may easily be set up to use TIMESET on demand by
  2291.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 40
  2292.  
  2293.  
  2294.         using ALT-F10 to enter the preset command. With TIMESET in the
  2295.         same directory as ASTROCLK, the preset command is:
  2296.  
  2297.                   C:\ASTROCLK\TIMESET
  2298.  
  2299.         Substitute the drive and directory appropriate to your system or
  2300.         be sure TIMESET is available via your DOS PATH. TIMESET may then
  2301.         be executed at any time by pressing SHIFT-F9. The time and date
  2302.         will be set (if the NIST or NBS telephone number is not busy) and
  2303.         then ASTROCLK will automatically resume operation.
  2304.              One potential source of error or confusion is daylight
  2305.         savings time. TIMESET must be manually set to handle these time
  2306.         changes so as to agree with the current setting of the DAYLIGHT
  2307.         FLAG in ASTROCLK.
  2308.  
  2309.         NOTE: Don't forget to configure TIMESET as described in the
  2310.         documentation. Be sure to set the program for automatic operation
  2311.         so that it will return to ASTROCLK when it has completed setting
  2312.         the time and date. TIMESET may also be used directly from the DOS
  2313.         prompt.
  2314.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 41
  2315.  
  2316.  
  2317.  
  2318.         SETTING LOCAL AND DESTINATION COORDINATES
  2319.  
  2320.              Before most of the data displayed by ASTROCLK can be of any
  2321.         practical use, you must set your own geographical coordinates
  2322.         into the program using Function Key F6. On startup, ASTROCLK uses
  2323.         the coordinates for Rancho Palos Verdes, California, near Los
  2324.         Angeles. If you do not know your coordinates, I recommend that
  2325.         you consult Goode's World Atlas, 17th Edition, which includes an
  2326.         extensive Index with longitudes and latitudes of some 30,000
  2327.         cities and other locations worldwide. All coordinates are given
  2328.         to one minute of arc, and this is the only atlas I know which
  2329.         includes this information. NOTE: In spite of the format used for
  2330.         the coordinates in Goode's, 118.34 for example, the portion to
  2331.         the right of the decimal point represents minutes NOT decimal
  2332.         parts of a degree. See the BIBLIOGRAPHY for the full reference.
  2333.              With the addition of navigation functions to ASTROCLK,
  2334.         Function Key SHIFT-F6 has been included to allow destination data
  2335.         to also be read from the same "city file". The operation of
  2336.         SHIFT-F6 is identical to normal operation of Function Key F6
  2337.         decribed below except that the DESTINATION name and geographic
  2338.         coordinates are set rather than the LOCAL name and coordinates.
  2339.         The destination data are disabled when ASTROCLK is first started.
  2340.         See the section CELESTIAL NAVIGATION for additional discussion.
  2341.              The following prompt will appear in the main window after
  2342.         pressing F6:
  2343.  
  2344.                   SET LOCAL COORDINATES
  2345.  
  2346.                   Enter CITY NAME to search for in file
  2347.                      C:\ASTROCLK\ASTROCLK.CTY
  2348.  
  2349.                   Enter desired name:  _
  2350.  
  2351.                   Match starts at left of name. Prefix input
  2352.                   with '/' to match input anywhere within
  2353.                   the name. Matches are case insensitive.
  2354.  
  2355.                   Press RETURN for MANUAL data entry.
  2356.  
  2357.              The current values for the LOCAL and DESTINATION coordinates
  2358.         may be reviewed by using F6 or SHIFT-F6 and pressing RETURN to
  2359.         leave all data unchanged. When using SHIFT-F6, the display is the
  2360.         same except that the title includes the word DESTINATION instead
  2361.         of LOCAL and you may also enter the name as "*" to set the
  2362.         DESTINATION coordinates to the current LOCAL coordinates. The
  2363.         file name shown in the example is the standard city file supplied
  2364.         with ASTROCLK.
  2365.              Using file ASTROCLK.CTY, you may automatically enter the
  2366.         data for any of the cities included in that file. Other "city
  2367.         files" may be available or may be created as required. Enter the
  2368.         name or first part of the name of the desired city. Only letters
  2369.         sufficient to unambiguously select the city are required, either
  2370.         upper or lower case may be used, and spaces are significant. For
  2371.         example, "k" is sufficient for "Kansas City" since there is
  2372.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 42
  2373.  
  2374.  
  2375.         currently only one city beginning with the letter K, but "san f"
  2376.         is required to distinguish "San Francisco" from "San Antonio",
  2377.         "San Diego", etc. The search stops at the first match, so "san"
  2378.         would first match "San Antonio" and you would have to press the
  2379.         space bar several times before you reached "San Francisco".
  2380.              Alternatively, you may prefix the name you enter with the
  2381.         "/" character (without the quotation marks) and ASTROCLK will
  2382.         attempt to match your input anywhere within the file's city
  2383.         names. For example, a special navigation city file of VOR's,
  2384.         USWEST.VOR, includes the three letter code designation for each
  2385.         VOR in addition to the full name; the code for the Los Angeles
  2386.         VOR is "LAX". To select Los Angeles by the code designation, you
  2387.         may enter "/lax" (again without the quotation marks and in either
  2388.         upper or lower case). Using this method with too short or simple
  2389.         a designation may find many qualifying matches.
  2390.              For each qualifying match found, ASTROCLK presents the data
  2391.         read from the file and awaits your choice:
  2392.  
  2393.                   SET LOCAL COORDINATES
  2394.  
  2395.                   Enter CITY NAME to search for in CITY FILE:
  2396.                      C:\ASTROCLK\ASTROCLK.CTY
  2397.  
  2398.                   Enter desired name: athens
  2399.                                                          (   32)
  2400.                   CURRENT SELECTION:  Athens, GA
  2401.                                        -83 22'59.88" Longitude
  2402.                                         33 57'24.12" Latitude
  2403.                                                 0.0  Meters
  2404.  
  2405.                   (Press RETURN to ACCEPT, SPACE to find next.)
  2406.  
  2407.              The number shown in parentheses, ( 32) in the example above,
  2408.         shows the line number in the file. Press RETURN to ACCEPT the
  2409.         data shown, or press the SPACE BAR to look for the next match.
  2410.              Three geographical locations are "hard coded" (for my own
  2411.         personal convenience) and may be selected by entering the
  2412.         following abbreviations for the local name (upper or lower case):
  2413.  
  2414.                        RPV       Rancho Palos Verdes, CA
  2415.                        CAL       Calaveras County, CA
  2416.                        USNO      U. S. Naval Observatory, Washington, DC
  2417.  
  2418.              To manually enter local coordinates (instead of searching
  2419.         the external file), press RETURN when asked for the city name.
  2420.         Then enter LONGITUDE, LATITUDE, ELEVATION, and NAME when
  2421.         requested. WEST longitude and SOUTH latitude must be entered as
  2422.         NEGATIVE numbers. Press RETURN to skip an entry and leave it
  2423.         unchanged. As each enttry is completed, the information at the
  2424.         top of the window is updated. After all entries have been
  2425.         completed, the current local coordinates are displayed. You may
  2426.         append the new local coordinates to the end of the current city
  2427.         file by responding "Y" or "y" to the append prompt (ELEVATION is
  2428.         omitted for the Navigation Destination coordinates):
  2429.  
  2430.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 43
  2431.  
  2432.  
  2433.  
  2434.                   SET LOCAL COORDINATES
  2435.  
  2436.                   Current LONGITUDE:  -118 24'20.40"
  2437.                   Current LATITUDE:     33 45'47.56"
  2438.                   Current ELEVATION:   186.0 meters
  2439.                   Current LOCAL NAME:  Rancho Palos Verdes CA
  2440.  
  2441.                   Append data to file [y,N]:  _
  2442.  
  2443.                   You may append this location data to the
  2444.                   current CITYFILE by pressing 'Y' or 'y'.
  2445.  
  2446.         The default response, obtained by pressing RETURN or any other
  2447.         key, is to NOT append the new local coordinates. The city file
  2448.         must already exist for the append function to execute correctly.
  2449.              File ASTROCLK.CTY contains the approximate longitude and
  2450.         latitude for about 850 selected cities in the United States and
  2451.         around the world. All coordinates are given in degrees to two or
  2452.         more decimal places and are accurate to 0.1 degrees or better in
  2453.         most cases. Please report any errors discovered in ASTROCLK.CTY;
  2454.         if you can supply the correct elevation for entries in the file,
  2455.         please send them in and I will update file ASTROCLK.CTY.
  2456.              The following examples show typical entries in file
  2457.         ASTROCLK.TXT:
  2458.  
  2459.                   "Aberdeen, MD",-76.1617,39.5117,0
  2460.                   "Abilene, TX",-99.7133,32.465,0
  2461.                   "Akron, OH",-81.5122,41.0833,0
  2462.                   "Alameda, CA",-122.2433,37.7633,0
  2463.                   "Alamogordo, NM",-105.9567,32.9,0
  2464.                   "Albany, GA",-84.1583,31.575,0
  2465.                   "Albany, NY",-73.7503,42.6503,0
  2466.                   "Albany, OR",-123.0983,44.6333,0
  2467.  
  2468.         The city or location should be enclosed in double quotation
  2469.         marks, as shown, followed by the longitude and latitude in
  2470.         degrees, and the elevation in meters. Since my sources do not
  2471.         include the elevation, most entries in ASTROCLK.CTY give an
  2472.         elevation of 0. If you know the elevation of a particular entry,
  2473.         use an ASCII text editor to add the elevation in meters; 1 foot
  2474.         equals 0.3048006 meter. NOTE: West longitudes and South latitudes
  2475.         are shown as, and must be entered as, as negative numbers. Use
  2476.         the ASCII or non-document mode in your editor and observe the
  2477.         comma-delimited format when making additions or changes.
  2478.              In addition to appending new local coordinates using F6, a
  2479.         special program, MAPCOORD Version 9050 or later, is available
  2480.         from my bulletin board system which may be used to generate city
  2481.         files or to append new entries to an existing city file. Other
  2482.         city files, including file USWEST.VOR mentioned above, are also
  2483.         available from time to time. Beginning with ASTROCLK Version
  2484.         9050, the format for ASTROCLK city files is the same as city
  2485.         files for my program STSORBIT.
  2486.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 44
  2487.  
  2488.  
  2489.  
  2490.         SETTING LOCAL CONDITIONS
  2491.  
  2492.              ASTROCLK makes certain default assumptions about the current
  2493.         conditions when computing horizon dip (a function of the
  2494.         observer's elevation above mean sea level) and atmospheric
  2495.         refraction. These calculations are used in the Horizon (Observer)
  2496.         Coordinates data in Display Mode 0 and for certain navigation
  2497.         calculations. The default values are:
  2498.  
  2499.                   Elevation:         0 meters/feet
  2500.                   Temperature:      20 degrees Centigrade
  2501.                                     68 degrees Farenheit
  2502.                   Pressure:       1010 millibars
  2503.                                  29.83 inches of Mercury
  2504.  
  2505.              If these default values are not representative of your
  2506.         current conditions, use ALT-F6 to set the correct LOCAL
  2507.         CONDITIONS. The following information will be displayed:
  2508.  
  2509.                   SET LOCAL CONDITIONS
  2510.  
  2511.                   Current ELEVATION:    152.4 m   =   500.0 ft
  2512.                   Current TEMPERATURE:   20.0  C  =    68.0  F
  2513.                   Current PRESSURE:      1010 mb  =    29.83"
  2514.  
  2515.         The following prompts will be displayed to enable you to change
  2516.         each item:
  2517.  
  2518.                   Enter ELEVATION (meters):
  2519.                   Enter TEMPERATURE ( C):
  2520.                   Enter PRESSURE (mb):
  2521.  
  2522.         For each item, press RETURN to leave that item unchanged or enter
  2523.         the new information. Elevation assumes the entry in meters unless
  2524.         you add the letter "F" to specify FEET, Pressure assumes degrees
  2525.         Centigrage unless you add the letter "F" to specify degrees
  2526.         Farenheit, and Pressure assumes millibars unless you enter a
  2527.         number less than 32.00 or add the letters "IN". Note that in the
  2528.         United States and for air traffic control, pressures are often
  2529.         given in hundreths of an inch, as in "2983"; this must be entered
  2530.         as "29.83".
  2531.              When all three items have been entered or accepted as is,
  2532.         the following prompt will appear:
  2533.  
  2534.                   Press RETURN to ACCEPT, SPACE to REDO:
  2535.  
  2536.         Press RETURN to accept the entries as shown, or press SPACE BAR
  2537.         to start over.
  2538.              Since the elevation of a geographic location will probably
  2539.         remain constant with time, absent some major disturbance, that
  2540.         value is saved in the file ASTROCLK.INI and is restored each time
  2541.         ASTROCLK is restarted. However, the values for temperature and
  2542.         pressure, being quite variable, are not saved and are restored to
  2543.         their default values each time ASTROCLK is restarted.
  2544.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 45
  2545.  
  2546.  
  2547.  
  2548.  
  2549.         DUAL-TIME DISPLAYS
  2550.  
  2551.              A Dual-Time display feature is available which displays two
  2552.         different, selectable times in large characters in the main
  2553.         display window. Display Modes 1 through 5 normally display the
  2554.         following times in large characters in the main screen window:
  2555.  
  2556.                   1    Local Standard/Daylight Time
  2557.                   2    Universal Coordinated Time
  2558.                   3    Local Mean Sidereal Time
  2559.                   4    Greenwich Mean Sidereal Time
  2560.                   5    Terrestrial Dynamical Time
  2561.                        (Ephemeris Time prior to 1984)
  2562.  
  2563.              Display Mode 1, Local Standard/Daylight Time, is the display
  2564.         mode which appears when program ASTROCLK is started. The large
  2565.         digit time display modes may be selected at any time by pressing
  2566.         the number keys 1 through 5. Use the number keys at the top of
  2567.         the keyboard and NOT the number keys on the numeric keypad. The
  2568.         title at the top of the main window gives the standard
  2569.         abbreviation and full name of the time displayed.
  2570.              To enable a dual-time display, select one of the clock
  2571.         display modes using the number keys 1 through 5, and then press
  2572.         the UP or DOWN arrow key. The normally displayed time will move
  2573.         up in the window and a second time will appear in yellow in the
  2574.         lower half of the window. Repeated pressing of the UP or DOWN
  2575.         arrow key will cycle through the following lower clock displays:
  2576.  
  2577.                   PST/PDT   Pacific Standard/Daylight Time
  2578.                   MST/MDT   Mountain Standard/Daylight Time
  2579.                   CST/CDT   Central Standard/Daylight Time
  2580.                   EST/EDT   Eastern Standard/Daylight Time
  2581.                   TAI/A.1   International Atomic Time (after 1971)
  2582.                             USNO Atomic Time (1958 through 1971)
  2583.                5  TDT/ET    Terrestrial Dynamical Time (after 1983)
  2584.                             Ephemeris Time (prior to 1984)
  2585.                4  GMST      Greenwich Mean Sidereal Time
  2586.                3  LMST      Local Mean Sidereal Time
  2587.                2  UTC       Universal Coordinated Time
  2588.                1  LST       Local STANDARD/DAYLIGHT Time (Mode 1 only)
  2589.                             Local STANDARD Time (Modes 2 thru 5)
  2590.  
  2591.              The UP arrow key cycles UP through the list above starting
  2592.         with the normal time for that display mode as indicated by the
  2593.         numbers at the left; the DOWN arrow key cycles DOWN through the
  2594.         list. Each display may be returned to the normal, single-time
  2595.         mode by pressing the HOME key. Note that the first five times
  2596.         listed can ONLY be displayed in large digits by using the DUAL
  2597.         TIME method.
  2598.              The first four times are for the standard time zones in the
  2599.         continental United States and will display Standard or Daylight
  2600.         time in agreement with the current setting of the Daylight Flag
  2601.         (ALT-F10). If the local time is a continental U. S. time zone, it
  2602.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 46
  2603.  
  2604.  
  2605.         is possible to display the same time in both the upper and lower
  2606.         portion of the window in Display Mode 1. These times are
  2607.         calculated independently of the current local time zone.
  2608.              When the dual-time display is enabled, the abbreviation
  2609.         corresponding to the time displayed will also appear at the right
  2610.         of the time digits for each clock. For time zones in the United
  2611.         States, the abbreviation will change from LST (Local Standard Time)
  2612.         to the common U. S. abbreviation: PST for Pacific Standard Time,
  2613.         EST for Eastern Standard Time, HST for Hawaiian Standard Time,
  2614.         etc. The single or dual time selected for each of the five
  2615.         display modes is saved while ASTROCLK is running; changing to a
  2616.         different Display Mode and back again will display the same
  2617.         time(s). The single or dual time selected for each mode is also
  2618.         saved in file ASTROCLK.INI and will be restored when ASTROCLK is
  2619.         run the next time.
  2620.              Note that the Local STANDARD Time can be selected for the
  2621.         lower clock in Display Modes 2 through 5, whether or not the
  2622.         DAYLIGHT FLAG has been set. During daylight time, therefore, this
  2623.         display will show a different time from the small LOCAL TIME
  2624.         display on the right of the screen. Since some references and
  2625.         magazines give all times in standard time, this display will
  2626.         eliminate having to make the conversion if you are on daylight
  2627.         time.
  2628.              If the date has been set for 1958 through 1971, U.S. Naval
  2629.         Observatory Atomic Time (USNO A.1) is displayed instead of
  2630.         International Atomic Time (TAI). If the date has been set prior
  2631.         to 1958, a message in the lower portion of the window will remind
  2632.         the user that TAI and A.1 did not exist on the selected date.
  2633.         There is a slight (0.034 seconds) difference in the relationship
  2634.         of the two atomic time scales to TDT/ET.
  2635.              If the date has been set prior to 1984, Ephemeris Time (ET)
  2636.         is displayed instead of Terrestrial Dynamical Time (TDT). For
  2637.         most purposes, TDT and ET represent a continuous time scale and
  2638.         are treated as such by ASTROCLK; the only difference is the name
  2639.         displayed.
  2640.              There are, of course, many combinations possible. For
  2641.         example, you can display UTC and Local STANDARD Time, UTC and
  2642.         GMST, GMST and LMST, TDT and TAI, and so forth. If you are about
  2643.         to call the East from Los Angeles, you can display both Eastern
  2644.         and Pacific times, Standard or Daylight depending on the current
  2645.         setting of the Daylight Flag. Each of the five display modes is
  2646.         independent of the other four, and may be set up to display
  2647.         either its normal time alone, or dual time with one of the other
  2648.         remaining times.
  2649.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 47
  2650.  
  2651.  
  2652.  
  2653.         JULIAN DATE INFORMATION
  2654.  
  2655.              Display Mode 7, the Julian Date Information, displays a
  2656.         variety of date information. Press the "7" key at the top of the
  2657.         keyboard. The following sample illustrates the information
  2658.         available (DOY shown only after 1 JAN 1950):
  2659.  
  2660.                   JULIAN DATE INFORMATION
  2661.  
  2662.                       UTC Calendar Date:       1990 DEC 14.952188
  2663.                    JD Julian Date -4713 JAN  1.5   2448240.452188
  2664.                   MJD Julian Date  1858 NOV 17.0     48239.952187
  2665.                   DJD Julian Date  1900 JAN  0.5     33220.452187
  2666.                   TJD Julian Date  1968 MAY 23.0      8239.952187
  2667.                   JED Julian Ephemeris Date        2448240.452852
  2668.                    JE Julian Epoch    365.25 days    J1990.952641
  2669.                    BE Besselian Epoch 365.2422 days  B1990.953725
  2670.                   DOY UTC Day-of-Year NORAD Format   90348.952188
  2671.  
  2672.                   LOCAL Day-of-Year & Date:    348    1990 DEC 14
  2673.                   LOCAL Day-of-Week & Day:       6         Friday
  2674.                   LOCAL Year/Week Code:       9050
  2675.  
  2676.         The abbreviations used in the Julian Date lines refer to the
  2677.         following:
  2678.  
  2679.                   JD   True Julian Date referenced to -4713 JAN 1.5. This
  2680.                        is the standard astronomical date reference.
  2681.  
  2682.                  MJD   Modified Julian Date referenced to 1858 NOV 17.0,
  2683.                        often used by NASA to reduce the number of digits
  2684.                        required. NOTE: The MJD day begins at midnight
  2685.                        instead of noon. MJD = JD - 2400000.5.
  2686.  
  2687.                  DJD   Dublin Julian Date referenced to 1900 JAN 0.5,
  2688.                        used by astronomers and mathematicians to reduce
  2689.                        the number of digits required. DJD = JD - 2415020.
  2690.  
  2691.                  JED   Julian Ephemeris Date, True Julian Date (JD)
  2692.                        corrected for Ephemeris Time (ET) or Terrestrial
  2693.                        Dynamical Time (TDT), as appropriate.
  2694.  
  2695.                  DOY   UTC year, expressed as (YEAR MOD 100) * 1000, plus
  2696.                        UTC day of the year plus UTC time expressed as a
  2697.                        fraction of a day. This format is used by NORAD to
  2698.                        denote dates and times in the standard 2-line
  2699.                        orbital element sets which NORAD provides via NASA
  2700.                        GSFC and which is required for satellite tracking
  2701.                        programs such as STSORBIT and TRAKSAT. The more
  2702.                        conventional day of the year format sometimes used
  2703.                        by astronomers may be obtained by removing the two
  2704.                        left-most digits (90348.952188 becomes 348.952188)
  2705.                        but in this case the year must be specified inde-
  2706.                        pendently.
  2707.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 48
  2708.  
  2709.  
  2710.  
  2711.  
  2712.         ALARM AND INTERVAL TIMER OPERATIONS
  2713.  
  2714.              ASTROCLK includes alarm and interval timer functions which
  2715.         operate independently of the program's clock modes. That is, the
  2716.         alarm and interval timer ALWAYS use the computer's internal clock
  2717.         for their operations, even with the ASTROCLK clocks off or in the
  2718.         simulation mode. The correct alarm and interval times, referenced
  2719.         to the computer's internal clock (Local Time), are therefore
  2720.         displayed in all clock modes. The interval timer window is
  2721.         displayed at all times at the lower center of the screen, but the
  2722.         alarm window is only displayed at the lower right of the screen
  2723.         when an alarm is active.
  2724.  
  2725.  
  2726.         Using the ALARM Function
  2727.  
  2728.              The alarm function allows the user to set an alarm to any
  2729.         time within the next 23 hours using either Local or UT Time. When
  2730.         an alarm is active, the program opens a small Alarm Window at the
  2731.         lower right corner of the display screen which displays the
  2732.         selected alarm time in the left side of the window and the
  2733.         coundown time, or time remaining until the alarm, in the right
  2734.         side of the window. The color of the countdown time changes as
  2735.         the local time approaches the selected time, from gray to white
  2736.         to yellow to blinking yellow.
  2737.              To set or change the alarm time, press Function Key SHIFT-F3
  2738.         and enter the desired Local or UT Time in the format HH:MM:SS,
  2739.         HH:MM or HH.HHH, using the same flexible format rules as for
  2740.         setting the program time. If you prefer, use the comma instead of
  2741.         the colon for the separator between units. Add the letter "U" if
  2742.         the alarm time you are entering is UT Time; ASTROCLK will
  2743.         automatically convert the UT Time to Local Time and the Local
  2744.         Time will be displayed in the Alarm Window. If an alarm time has
  2745.         already been set and you wish to clear it, press SHIFT-F3 and
  2746.         then simply press RETURN instead of entering a time.
  2747.              Once an alarm time has been set using Function Key SHIFT-F3,
  2748.         the alarm countdown time (the time remaining until the selected
  2749.         alarm time is reached) may also be displayed in the main display
  2750.         window by pressing the letter "A" on the keyboard. The small
  2751.         window at the lower right of the display screen will still show
  2752.         both the selected alarm time and the countdown time. If no alarm
  2753.         time has been set, pressing the letter "A" will have no effect.
  2754.         The alarm function remembers the prior main window display
  2755.         function; if the alarm countdown time is displayed in the main
  2756.         display window when the alarm time is reached, the main display
  2757.         will automatically revert to the prior function. As further
  2758.         described below, the interval timer can also be synchronized to
  2759.         the time an alarm occurs.
  2760.  
  2761.  
  2762.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 49
  2763.  
  2764.  
  2765.  
  2766.         Using the INTERVAL TIMER
  2767.  
  2768.              ASTROCLK includes an interval timer function, measuring
  2769.         elapsed time rounded to the nearest second. The current value of
  2770.         the interval timer is always shown in the TIMER window at the
  2771.         lower center of the display in the format 00  00:00:00,
  2772.         corresponding to days and hours:minutes:seconds. The TIMER window
  2773.         allows times from +9999 days to -999 days; the days portion will
  2774.         be blanked if the day count falls outside this range. When the
  2775.         Interval Timer is displayed in the main display window using the
  2776.         "T" command, the range for that display is from +999 days to -99
  2777.         days; the main window display should not be used outside this
  2778.         range as the interval time will NOT be updated. The interval
  2779.         timer display in the TIMER window is white (gray) when the timer
  2780.         is OFF, and yellow when the timer is ON.
  2781.              The following keys are used to control the operation of the
  2782.         interval timer:
  2783.  
  2784.                   T    Display interval timer in main display window
  2785.                   S    Start/Stop the interval timer without reset
  2786.                   Z    Stop and reset the interval timer
  2787.                   PgUp Increment the interval timer DAYS
  2788.                   PgDn Decrement the interval timer DAYS
  2789.  
  2790.                   NOTE: The PgUp and PgDn keys are only active when the
  2791.                   interval timer is displayed in the main display window
  2792.                   using the "T" command.
  2793.  
  2794.              The interval timer may be started by one of three methods:
  2795.         manually, by pressing the letter "S"; automatically, when an
  2796.         alarm time occurs AND the interval timer is not already ON; or by
  2797.         setting the interval timer starting time with Function Key SHIFT-
  2798.         F3. When the interval timer is started automatically or by
  2799.         setting its starting time, it starts at zero. Note that the
  2800.         interval timer will NOT be automatically reset and started by the
  2801.         alarm function if it is already ON; in this case the interval
  2802.         timer will be unaffected by alarm operations.
  2803.              The interval timer starting time may be set using Function
  2804.         Key SHIFT-F3. Enter the desired starting time followed by the
  2805.         letter "T". If the entered time is later than the current time,
  2806.         ASTROCLK assumes the prior day. The total elapsed time will
  2807.         therefore always be less than 24 hours. To adjust the starting
  2808.         DAY, set the desired starting time, display the interval timer in
  2809.         the main display window using the "T" command, then use the PgUp
  2810.         and PgDn keys to set the days.
  2811.              Press the letter "S" to start or stop (but not reset) the
  2812.         interval timer. The timer may be stopped and started as often as
  2813.         desired whether or not the interval timer is displayed in the
  2814.         main display window. Press the letter "Z" to stop the interval
  2815.         timer and reset the accumulated time to zero. When the interval
  2816.         timer is displayed in the main display window and the timer is
  2817.         stopped, the words "TIMER IS HOLDING" will flash at the bottom of
  2818.         the window.
  2819.              The status of the interval timer is saved when ASTROCLK is
  2820.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 50
  2821.  
  2822.  
  2823.         halted. If the interval timer is active when the program is
  2824.         halted, it will resume operation when next the program is started
  2825.         and the correct elapsed time interval (including days) will be
  2826.         displayed. If the interval timer is stopped but not reset when
  2827.         ASTROCLK is halted, the current elapsed time will be restored and
  2828.         the interval timer will be stopped when next the program is
  2829.         started.
  2830.              Beginning with versions 91xx (when the AUTO mode for the
  2831.         DAYLIGHT FLAG was added), the interval timer will automatically
  2832.         adjust for changes made in the DAYLIGHT FLAG. This adjustment is
  2833.         made for both automatic and manual changes. Note, however, that
  2834.         the interval timer uses LOCAL time and that changes made to the
  2835.         local time zone will NOT be taken into account by the interval
  2836.         timer. Similarly, if you are setting the interval timer for a
  2837.         past date (intending to use PgUp key to correct the day count)
  2838.         and the state of the DAYLIGHT FLAG is different now than it was
  2839.         then, you must make the correction when entering the start time.
  2840.  
  2841.  
  2842.         Linked ALARM & INTERVAL TIMER Operation
  2843.  
  2844.              If the interval timer is stopped and reset when the alarm
  2845.         time occurs, the interval timer will auotmatically start at the
  2846.         alarm time. The alarm and the interval timer then function
  2847.         together as a count-down-then-count-up timer. A typical operation
  2848.         in this manner may best be illustrated by an example. I used this
  2849.         arrangement during the launch of the Space Shuttle DISCOVERY on
  2850.         September 29, 1988 and throughout the four day mission. Prior to
  2851.         the mission I checked the system clock using radio station WWV
  2852.         from the National Bureau of Standards.
  2853.              To set up ASTROCLK correctly, I pressed "Z" to stop and
  2854.         reset the interval timer (so that it displayed 00 00:00:00), next
  2855.         entered the scheduled lift-off time on the alarm using Function
  2856.         Key SHIFT-F3, then pressed the letter "T" to display the interval
  2857.         timer (to establish the "prior display mode" for the alarm func-
  2858.         tion), followed by the letter "A" to display the alarm countdown
  2859.         time. ASTROCLK displayed the countdown time until lift-off and
  2860.         then automatically switched the main display to the interval
  2861.         timer to show Mission Elapsed Time (MET) throughout the four day
  2862.         mission. The main display may be switched to other display func-
  2863.         tions without affecting the accuracy of the countdown or elapsed
  2864.         times. Once the interval timer has started, ASTROCLK may be
  2865.         halted and restarted and the time will be preserved. Since the
  2866.         interval timer can continue for up to 9999 days (999 days when
  2867.         using the main window for timer display), any mission or other
  2868.         event of reasonable duration can easily be handled.
  2869.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 51
  2870.  
  2871.  
  2872.  
  2873.         TARGET TRACKING DISPLAY
  2874.  
  2875.              One of the problems that inspired program ASTROCLK in the
  2876.         first place was my inability to figure out where a star or planet
  2877.         could be located in the night sky even if I knew its equatorial
  2878.         coordinates, the right ascension and declination. These
  2879.         coordinates have to be converted to horizon coordinates, also
  2880.         known as observer coordinates, in order to relate the position of
  2881.         a star with my own position and the time. (Of course, I had to
  2882.         know the direction of true North as well, but even I could
  2883.         usually find Polaris without excessive difficulty.)
  2884.              Display Mode 0, the Target Tracking Display, provides this
  2885.         information in real time for both stars and planets -- although
  2886.         there are significant computational delays associated with the
  2887.         planetary positions if the micro-computer does not have a math
  2888.         coprocessor. The default target is Polaris, the North Star, which
  2889.         I have assigned the number zero in ASTROCLK's internal star
  2890.         database. Use Function Key F5 to select other celestial objects
  2891.         for tracking. Pressing "P" while in the Target Tracking Display
  2892.         will request the planet to track and then automatically calculate
  2893.         and display the position data for the planet.
  2894.              When already in Display Mode 0, the Target Tracking Display,
  2895.         pressing the "0" key again toggles between the full display (as
  2896.         described in the following paragraphs) and a large digit display
  2897.         showing the Horizon Coordinates for the target, with the APPARENT
  2898.         ALTITUDE on the top line and the AZIMUTH on the bottom line. The
  2899.         format will change with Function Key F7 (see below). However, the
  2900.         precision of the large digit display is two digits fewer than the
  2901.         full (text) display due to restricted display space.
  2902.              The following sample display shows the information available
  2903.         in the Target Tracking Display. The degree symbol, which appears
  2904.         in the actual display, has been deleted from the sample because
  2905.         of the differences among printers.
  2906.  
  2907.         0 - a Ursae Minoris - Polaris
  2908.         -----------------------------
  2909.  
  2910.              EQUATORIAL COORDINATES [J2000.0]:
  2911.                RIGHT ASCENSION:                 2:31:48.70
  2912.                DECLINATION:                    89 15'50.72"
  2913.                HOUR ANGLE (hours):             17:07:49.20
  2914.              APPARENT COORDINATES [J1988.9]:
  2915.                RIGHT ASCENSION:                 2:20:08.44
  2916.                DECLINATION:                    89 12'51.34"
  2917.                HOUR ANGLE (hours):             17:19:29.45
  2918.              OBSERVER HORIZON COORDINATES:
  2919.                ALTITUDE:                       33 37'33.09"
  2920.                AZIMUTH (NESW):                  0 55'44.18"
  2921.                Apparent ALTITUDE:              33 38'57.11"
  2922.              [Charts SA=1 U=I-1]             [VMag =  2.02]
  2923.  
  2924.              The Equatorial Coordinates are first shown for the current
  2925.         epoch of the internal star database; the default is J2000.0, as
  2926.         shown in the sample above. These data are "mean" positions for
  2927.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 52
  2928.  
  2929.  
  2930.         the epoch shown, as found in typical star catalogs.
  2931.              The Apparent Coordinates are the apparent geocentric
  2932.         equatorial coordinates which have been (for stars) precessed and
  2933.         corrected for proper motion, nutation, and annual aberration but
  2934.         NOT parallax, or (for planets) calculated as of the mean equinox
  2935.         of date, J1988.9 in the sample. The stellar apparent geocentric
  2936.         equatorial coordinates agree with the Astronomical Almanac and
  2937.         the USNO Interactive Computer Ephemeris to an accuracy of
  2938.         typically less than one second of time or arc; planetary data are
  2939.         less accurate.
  2940.              Versions of ASTROCLK prior to 8847 displayed "apparent
  2941.         coordinates" which were the current star database coordinates
  2942.         adjusted for refraction. The present display is in keeping with
  2943.         the accepted definition of "apparent" (that is, referenced to the
  2944.         mean equinox of date), and the coordinates have NOT been
  2945.         corrected for refraction.
  2946.              The local HA (Hour Angle, hours) is related to the RA (Right
  2947.         Ascension, hours) and LMST (Local Mean Sidereal Time, hours) by
  2948.         the formula:
  2949.  
  2950.                   HA = LMST - RA
  2951.  
  2952.         Technically, the LAST Local Apparent Sidereal Time should be
  2953.         used, but I have compromised, as have some of my sources, since
  2954.         the difference is small (on the order of 0.2 seconds in 1988) and
  2955.         many calculations can thereby be avoided; while not particularly
  2956.         important if your computer has a math coprocessor, the delay may
  2957.         be significant if it does not.
  2958.              The Horizon (or Observer) Coordinates are referenced to the
  2959.         current ASTROCLK local geographical coordinates. The Altitude is
  2960.         the angle above the true horizon, and the Azimuth is the angle
  2961.         from true North, measured in the sense NESW. Thus, North is 0
  2962.         degrees, East is 90 degrees, South is 180 degrees, and West is
  2963.         270 degrees. The Apparent Altitude is the Altitude corrected for
  2964.         atmospheric refraction and horizon dip (if the local elevation is
  2965.         non-zero); Azimuth is unaffected by refraction.
  2966.              The approximate visual or photographic magnitude of the
  2967.         object is shown at the lower right of the window border, marked
  2968.         as "VMAG" (visual magnitude) for stars and planets or "BMAG"
  2969.         (blue/photographic magnitude) for minor planets. The values for
  2970.         stars are constant values from the internal or external catalog
  2971.         while those for planets and minor planets are calculated
  2972.         approximations for the current time and date.
  2973.              The chart numbers in two of the most commonly used star
  2974.         atlases are shown for the target object in the Chart data at the
  2975.         lower left of the target window. "SA=" gives the chart number in
  2976.         Sky Atlas 2000.0 and "U=" gives the volume(s) and chart number
  2977.         for Uranometria 2000.0. Of course, the target object may or may
  2978.         not appear on the chart, depending upon the type of object and
  2979.         its magnitude; planets, for example, will not appear because of
  2980.         their constantly changing positions. Even when the object does
  2981.         not appear on the chart, however, the chart for the proper area
  2982.         may be useful to establish neighboring stars, the constellation
  2983.         name, etc. The original algorithm used to calculate the chart
  2984.         numbers was published in Sky & Telescope Magazine in April 1989;
  2985.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 53
  2986.  
  2987.  
  2988.         the algorithm has been substantially modified and converted to
  2989.         QuickBASIC for use in ASTROCLK.
  2990.              Function Key ALT-F7 changes some of the units used for the
  2991.         Target Tracking Display, as shown in the following sample (and
  2992.         again, the degree symbol has been deleted).
  2993.  
  2994.         0 - a Ursae Minoris - Polaris
  2995.         -----------------------------
  2996.  
  2997.              EQUATORIAL COORDINATES [J2000.0]:
  2998.                SIDEREAL HR ANGLE   [SHA]:     322 02'49.43"
  2999.                DECLINATION         [DEC]:      89 15'50.72"
  3000.                GREENWICH HR ANGLE  [GHA]:      15 21'29.95"
  3001.              APPARENT COORDINATES [J1988.9]:
  3002.                SIDEREAL HR ANGLE   [SHA]:     324 57'53.18"
  3003.                DECLINATION         [DEC]:      89 12'51.34"
  3004.                GREENWICH HR ANGLE  [GHA]:      18 16'33.70"
  3005.              OBSERVER HORIZON COORDINATES:
  3006.                ALTITUDE            [Hc]:       33 37'33.09"
  3007.                AZIMUTH (NESW)      [Zn]:        0 55'44.18"
  3008.                Apparent ALTITUDE   [Ho]:       33 38'57.11"
  3009.              [Chart SA=1 U=I-1]              [VMag =  2.02]
  3010.  
  3011.              This alternate form of the Target Tracking Display shows the
  3012.         same basic information as above, but in a form preferred by
  3013.         navigators. Press ALT-F7 again to return to the original format.
  3014.         SHA (Sidereal Hour Angle, degrees) is related to RA (Right
  3015.         Ascension, hours) by the formula:
  3016.  
  3017.                   SHA = 360 - RA * 15
  3018.  
  3019.         GHA (Greenwich Hour Angle, degrees) is related to SHA (Sidereal
  3020.         Hour Angle, degrees) and GAST (Greenwich Apparent Sidereal Time,
  3021.         hours) by the formula:
  3022.  
  3023.                   GHA = 15 * GAST + SHA
  3024.  
  3025.         Not shown but also occasionally required is LHA (Local Hour
  3026.         Angle, degrees) which is obtained using the following formula:
  3027.  
  3028.                   LHA = GHA + Longitude
  3029.  
  3030.         The abbreviations shown in square brackets [...] are those given
  3031.         in the Nautical Almanac and the USNO Almanac for Computers for
  3032.         use in navigation.
  3033.              Note that in this mode, the Apparent Altitude will show the
  3034.         abbreviation [Ho] if the local elevation is zero, and [Hs] if the
  3035.         local elevation is non-zero. [Ho] refers to the "observed"
  3036.         altitude after corrections for horizon dip and instrument error,
  3037.         while [Hs] refers to the "sextant" altitude after correction for
  3038.         instrument error but as measured to the actual horizon. If the
  3039.         navigational instrument being used provides its own artificial
  3040.         horizon, set the local elevation to zero.
  3041.              Function Key F7 may be used to change the units used in the
  3042.         Target Tracking Display. Three different formats for time and
  3043.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 54
  3044.  
  3045.  
  3046.         degrees are available; press F7 to cycle through the formats:
  3047.  
  3048.                        ANGLES              TIME
  3049.                        ------------        -----------
  3050.                        DDD MM SS.SS        HH:MM:SS.SS
  3051.                        DDD MM.MMMM         HH:MM.MMMM
  3052.                        DDD.DDDDDD          HH.HHHHHH
  3053.  
  3054.         However, note that the large digit display (showing Apparent
  3055.         Altitude and Azimuth) and obtained by pressing the "0" key when
  3056.         in the Tracking Data Mode, displays the data to lower precision
  3057.         due to screen space restrictions.
  3058.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 55
  3059.  
  3060.  
  3061.  
  3062.         TARGET OBJECT EPHEMERIS
  3063.  
  3064.              Quite a number of ASTROCLK users have requested the
  3065.         capability of displaying and/or printing an ephemeris, a listing
  3066.         of the position of a celestial object for a series of specific
  3067.         dates and times. While ASTROCLK was intended more as a real time
  3068.         clock and tracking program than for the generation of tabular
  3069.         data, it is admittedly very useful to be able to produce such a
  3070.         listing in anticipation of an evening with behind your telescope.
  3071.         Because of increasingly severe memory constraints, direct
  3072.         printing is not possible with this version of ASTROCLK except by
  3073.         using the SHIFT-PrtSc key. However, Function Key F2 now displays
  3074.         an ephemeris for the current target object, replacing the
  3075.         previous function of cycling through the various clock displays.
  3076.              Before pressing Function Key F2, ASTROCLK must be set up for
  3077.         the desired target object (star, planet, minor planet, etc.)
  3078.         using Function Key F5. For most objects outside the solar system,
  3079.         of course, the position will change very slowly with time. Next
  3080.         set the desired starting time using Function Key F3. Two
  3081.         additional items are required before the ephemeris can be
  3082.         displayed, the step interval (the time from one calculation to
  3083.         the next) and the number of intervals.
  3084.  
  3085.                   SET TARGET EPHEMERIS PARAMETERS
  3086.  
  3087.                   The ephemeris will be generated for the current
  3088.                   TIME and DATE. Use F3 to change.
  3089.  
  3090.                   Enter INTERVAL [1 day]:
  3091.  
  3092.                   Enter the ephemeris step interval in DAYS, or:
  3093.                     Add 'Y' or 'y' for 365-day YEARS.
  3094.                     Add 'H' or 'h' for HOURS.
  3095.                     Add 'M' or 'm' for MINUTES.
  3096.  
  3097.              The default units for the interval are DAYS; simply enter
  3098.         the number of days between steps and press RETURN. If you wish
  3099.         other units, 365-day years, hours, or minutes, add the letter Y,
  3100.         H, or M (upper or lower case) respectively following the number.
  3101.  
  3102.                   Enter number of intervals [10]:
  3103.  
  3104.         Then enter the total number of intervals desired or press RETURN
  3105.         for 10 intervals. ASTROCLK will generate the ephemeris with 20
  3106.         lines per display screen. When the complete ephemeris has been
  3107.         displayed and each time the screen fills, the program will pause
  3108.         so that you may read or print the information. Press any key to
  3109.         continue. After the ephemeris is completed, ASTROCLK will resume
  3110.         normal operation.
  3111.              The following is a sample ephemeris generated for the planet
  3112.         Neptune on August 30, 1989 with an interval set to one day and
  3113.         ten intervals requested:
  3114.  
  3115.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 56
  3116.  
  3117.  
  3118.                ASTROCLK EPHEMERIS FOR: Planet #8  NEPTUNE (Automatic)
  3119.                                                Equinox of Date [J1989.6]
  3120.            Julian Date  Local Date  PDT Time   Rt. Ascen.    Declination
  3121.         2447769.478183  30-08-1989  16:28:35  18:42:04.82  -22 10'38.63"
  3122.         2447770.478183  31-08-1989  16:28:35  18:42:02.00  -22 10'43.65"
  3123.         2447771.478183  01-09-1989  16:28:35  18:41:59.31  -22 10'48.61"
  3124.         2447772.478183  02-09-1989  16:28:35  18:41:56.75  -22 10'53.43"
  3125.         2447773.478183  03-09-1989  16:28:35  18:41:54.31  -22 10'58.11"
  3126.         2447774.478183  04-09-1989  16:28:35  18:41:52.00  -22 11'02.67"
  3127.         2447775.478183  05-09-1989  16:28:35  18:41:49.83  -22 11'07.07"
  3128.         2447776.478183  06-09-1989  16:28:35  18:41:47.79  -22 11'11.35"
  3129.         2447777.478183  07-09-1989  16:28:35  18:41:45.90  -22 11'15.52"
  3130.         2447778.478183  08-09-1989  16:28:35  18:41:44.13  -22 11'19.54"
  3131.  
  3132.         As usual in these text examples, the degree symbol has been
  3133.         omitted because of printer differences, and the right-most
  3134.         column, giving the object's magnitude, has been deleted because
  3135.         of space limitations; the value was 7.89 and 7.90 for the dates
  3136.         shown. The Local Date and Time are based upon the current
  3137.         geographical coordinates and time corrections (DAYLIGHT FLAG and
  3138.         ZONE CORRECTION); the time zone abbreviation, PDT in the example,
  3139.         is also included. Note that the coordinates shown are the
  3140.         Apparent Geocentric Equatorial Coordinates for the Epoch and
  3141.         Equinox of Date, J1989.6 in the example.
  3142.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 57
  3143.  
  3144.  
  3145.  
  3146.         PRECISION TIME AND DATA DISPLAYS
  3147.  
  3148.              The ASTROCLK on-screen clocks on the right portion of the
  3149.         screen display times rounded the nearest second. It is sometimes
  3150.         useful to view the various times and other parameters to a higher
  3151.         precision. Display Mode 8 provides this facility with six preci-
  3152.         sion displays: two Precision Time Displays, three Precision Data
  3153.         Displays, and one local Sunrise/Sunset & Twilight display. Switch
  3154.         between the displays with the PgUp or PgDn keys, or press the "8"
  3155.         key. When ASTROCLK exits, the current Precision Time/Data Display
  3156.         window is saved; that window will appear when Display Mode 8 is
  3157.         next selected.
  3158.              When ASTROCLK is first executed, this mode shows Precision
  3159.         Time Display #1 with all times shown to a precision of 0.0001
  3160.         seconds. Note, however, that the displayed precision may be
  3161.         greater than the accuracy of the calculations as discussed below.
  3162.              The limitations of a microcomputer and the available
  3163.         software become apparent as more complex calculations are
  3164.         attempted. Given unlimited execution time and appropriate
  3165.         software, of course, there is no reason why the microcomputer
  3166.         cannot produce data to any desired accuracy. However, the real
  3167.         world imposes certain constraints and the complex mathematics of
  3168.         practical astronomy forces compromises. Even with a math
  3169.         coprocessor, the calculation times are noticeable; without the
  3170.         math coprocessor they are significant.
  3171.              The Precision Data Displays show various intermediate
  3172.         parameters required for the calculation of some of the basic
  3173.         astronomical quantities. Each is an important item in its own
  3174.         right, but in the context of a program such as ASTROCLK, its
  3175.         function is more nearly that of the building block needed to
  3176.         construct the whole. Readers are again reminded that the
  3177.         precision of the displayed data is generally greater than its
  3178.         accuracy; the higher precision has been retained as a testing
  3179.         tool as the program's accuracy is gradually increased through
  3180.         improved algorithms and technique.
  3181.              The sample displays were all generated at 00:00:00 UT for
  3182.         4 November 1988. The Daylight Flag was OFF and the Local
  3183.         Coordinates were set for Calaveras County, near Sacramento, in
  3184.         Northern California (preset location "CAL").
  3185.              As an additional feature, the UP and DOWN arrow keys may be
  3186.         used to increase or decrease the Julian Date by one day when
  3187.         using the precision displays in Display Mode 8, but ONLY when the
  3188.         clocks are OFF; use Function Key F4 to start and stop the
  3189.         clocks. The UT time remains constant, but all other data are
  3190.         recalculated. I have used this feature while comparing the
  3191.         ASTROCLK calculations against tabulated data; how useful it may
  3192.         otherwise be is questionable.
  3193.  
  3194.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 58
  3195.  
  3196.  
  3197.         Precision Time Display #1:
  3198.         --------------------------
  3199.  
  3200.            UTC Coordinated Universal Time:  0:00:00.2404
  3201.             UT Universal Time (=UT1):       0:00:00.0000
  3202.            TAI International Atomic Time:   0:00:24.2404
  3203.            TDT Terrestrial Dynamical Time:  0:00:56.4244
  3204.                Gwich Mean Solar Time (UT):  0:00:00.0000
  3205.                Greenwich App. Solar Time:   0:16:24.2747
  3206.           GMST Grnwich Mean Sidereal Time:  2:57:45.7030
  3207.           GAST Grnwich App. Sidereal Time:  2:57:45.9618
  3208.  
  3209.            GSD Greenwich Sidereal Date:   2454172.123446
  3210.  
  3211.         NOTES: For the period 1958 through 1971, A.1 USNO Atomic Time
  3212.         will be shown in place of TAI International Time. Prior to 1984,
  3213.         ET Ephemeris Time will be shown in place of TDT Terrestrial
  3214.         Dynamical Time.
  3215.  
  3216.              The basic time reference for all internal ASTROCLK time
  3217.         calculations is Universal Time (UT), whether derived from the
  3218.         computer's internal clock or entered manually. This time is
  3219.         therefore considered to be exact and accurate to the full
  3220.         precision shown and is the same as UT1.
  3221.              Universal Coordinated Time (UTC), which is the time
  3222.         broadcast by radio stations WWV, WWVH, and most other radio time
  3223.         standards, is kept to within 0.9 seconds of UT by the occasional
  3224.         insertion of Leap Seconds at the end of June or December. Except
  3225.         for this Precision Time Display, which shows the calculated or
  3226.         estimated difference between UT and UTC, ASTROCLK otherwise
  3227.         assumes UT for all time calculations.
  3228.              International Atomic Time (TAI) has been officially
  3229.         recognized as an official time standard since 1972 although
  3230.         the U.S. Naval Observatory has provided an atomic time standard
  3231.         since 1958. The difference between TAI and UTC is published in
  3232.         the Astronomical Almanac for years 1972 and up. For the period
  3233.         1958 through 1971, ASTROCLK calculates USNO Atomic Time (A.1).
  3234.         The difference between A.1 and UTC ranges from 0 to 10 seconds
  3235.         and ASTROCLK assumes a linear rate of change with one second
  3236.         increments added on January 1 or July 1 when appropriate. The
  3237.         offset between TAI and A.1 versus TDT/ET is slightly different:
  3238.         32.184 seconds versus 32.15 seconds respectively. Prior to 1958,
  3239.         ASTROCLK does not display an atomic time.
  3240.              Terrestrial Dynamical Time (TDT) and its pre-1984 cousin
  3241.         Ephemeris Time (ET) are calculated for the period 1620 through
  3242.         1989 based upon data published in the Astronomical Almanac.
  3243.         Outside that period a formula by Meeus, adjusted slightly to
  3244.         merge smoothly with the data in the Astronomical Almanac, has
  3245.         been used (see BIBLIOGRAPHY). The Astronomical Almanac advises
  3246.         that for most purposes ET and TDT may be considered a continuous
  3247.         time standard. ASTROCLK uses the appropriate designation, ET or
  3248.         TDT, depending upon the current date but otherwise makes no
  3249.         distinction between them. Terrestrial Barycentric Time (TBT) is
  3250.         never more than 1.7 milliseconds different from TDT and is not
  3251.         shown; for most calculations the two may be considered the same.
  3252.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 59
  3253.  
  3254.  
  3255.              ASTROCLK's calculation of Greenwich Mean Sidereal Time
  3256.         (GMST) has been compared with the published Astronomical Almanac
  3257.         data for the year 1988 and agrees to the full precision shown,
  3258.         0.0001 seconds. However, Greenwich Apparent Sidereal Time (GAST)
  3259.         involves many more calculations and the accuracy falls off to
  3260.         approximately 0.01 seconds.
  3261.  
  3262.         Precision Time Display #2:
  3263.         --------------------------
  3264.  
  3265.            PST Local Standard Time:        16:00:00.0000
  3266.                Local Mean Solar Time:      15:57:43.9999
  3267.                Local App. Solar Time:      16:14:08.2747
  3268.           LMST Local Mean Sidereal Time:   18:55:29.7029
  3269.           LAST Local App. Sidereal Time:   18:55:29.9617
  3270.  
  3271.                Equation of Time:          + 0:16:24.2747
  3272.                Delta T  (TDT/ET-UT):        0:00:56.4244
  3273.                Delta AT (TAI-UT):           0:00:24.0000
  3274.  
  3275.              For locations within the United States as well as for other
  3276.         areas falling in the same time zones, the abbreviation PST will
  3277.         be replaced by the abbreviation appropriate for the local time
  3278.         zone. In addition, the middle letter will change (S or D)
  3279.         depending upon whether Standard or Daylight time is in effect, as
  3280.         determined by the setting of the Daylight Flag. For other time
  3281.         zones, the abbreviation PST will be replaced by LST (Local
  3282.         Standard Time) or LDT (Local Daylight Time) according to the
  3283.         setting of the Daylight Flag.
  3284.              The local times shown have essentially the same accuracy as
  3285.         the corresponding Universal or Sidereal times (given upon the
  3286.         assumption that the local coordinates are exact). Thus, Local
  3287.         Standard/Daylight Time may be considered exact (provided the
  3288.         Daylight Flag and Zone Correction have been correctly set), Local
  3289.         Mean Sidereal Time is accurate to the precision shown, and Local
  3290.         Apparent Sidereal Time is accurate to approximately 0.01 seconds.
  3291.         Local Mean Solar Time, calculated using UT and the local
  3292.         longitude, is accurate to approximately the precision shown.
  3293.              The Equation of Time is the difference between the Right
  3294.         Ascension of the apparent Sun and the fictitious mean Sun. In
  3295.         addition to being required for various calculations, it
  3296.         represents the difference between mean solar time (upon which our
  3297.         civil timekeeping is based) and apparent solar time, the time
  3298.         shown by a sundial.
  3299.              Delta T and Delta AT show the calculated or estimated
  3300.         difference between UTC versus TDT/ET and TAI/A.1 respectively.
  3301.         Prior to 1958, Delta AT is not shown. In ancient times, Delta T
  3302.         can reach values greater than 24 hours; in this case, Delta T is
  3303.         shown as days (suffixed by "d") followed by hours as usual. The
  3304.         error in Delta T for ancient times is estimated to be as much as
  3305.         several hours.
  3306.  
  3307.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 60
  3308.  
  3309.  
  3310.         Precision Data Display #1:
  3311.         --------------------------
  3312.  
  3313.                 Mean Obliquity of Ecliptic:   23 26'26.63"   [0.02"]
  3314.                 True Obliquity of Ecliptic:   23 26'35.40"   [0.02"]
  3315.                 Nutation in Longitude:         0 00'04.32"   [0.05"]
  3316.                 Nutation in Obliquity:         0 00'08.76"   [0.05"]
  3317.                 Equation of Equinoxes (secs):  0.263960      [0.005 sec]
  3318.              e  EARTH Eccentricity of Orbit:   0.01671380
  3319.              L' MOON Mean Longitude:         157 55'15.39"
  3320.              M' MOON Mean Anomaly:           168 35'33.91"
  3321.                 MOON Asc Node Longitude:     340 51'23.71"
  3322.              E  Equation of Time (h:m:s):    + 0:16:25.8574
  3323.              T  Jul Cent @ 2000 JAN 1.5 TDT:  -0.111581091
  3324.                          @ 1900 JAN 0.5 ET:    0.888418909
  3325.  
  3326.         NOTES: All items are expressed in degrees or time as appropriate,
  3327.         with the format determined by Function Key F7. In the actual
  3328.         ASTROCLK display, the last parameter is shown with the omega
  3329.         symbol usually associated with that parameter, and all items in
  3330.         degrees include the degree symbol. Because of the differences
  3331.         among printers, those symbols have been omitted in this text.
  3332.  
  3333.              The numbers in the right hand column above are the
  3334.         approximate accuracy of the calculations compared with data
  3335.         published in the Astronomical Almanac. Items with no accuracy
  3336.         data shown have been checked against other sources and appear to
  3337.         be accurate to about 0.001 degrees or 0.1 seconds or better; the
  3338.         MOON paramaters are used in the calculation of the first four
  3339.         items of the precision times and therefore probably have at least
  3340.         comparable accuracy. Function Key F7 may be used to change the
  3341.         format of the displayed data as in other display modes. In the
  3342.         default mode (degrees or hours, minutes, and seconds), data are
  3343.         displayed to a precision of 0.01 seconds of arc or time.
  3344.  
  3345.         Precision Data Display #2:
  3346.         --------------------------
  3347.  
  3348.              Geocentric Data @ Equator & Ecliptic of Date:
  3349.              ---------------------------------------------
  3350.              L  SUN Mean Longitude:          223 27'38.75"
  3351.              0  SUN True Longitude:          221 47'42.02"
  3352.              0a SUN Apparent Longitude:      221 47'27.20"
  3353.              M  SUN Mean Anomaly:            300 42'43.97"
  3354.              v  SUN True Anomaly:            299 02'53.02"
  3355.              R  SUN Radius Vector (AU):        0.99167759
  3356.              C  SUN Equation of Center:       -1 39'50.95"
  3357.              a  SUN Apparent Rt. Ascension:   14:37:24.72
  3358.              d  SUN Apparent Declination:    -15 22'27.89"
  3359.  
  3360.         NOTES: All items are expressed in degrees or time as appropriate,
  3361.         with the format determined by Function Key F7. In the actual
  3362.         ASTROCLK display, Right Ascension and Declination are shown with
  3363.         the alpha and delta symbols usually associated with those
  3364.         parameters, and all items in degrees include the degree symbol.
  3365.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 61
  3366.  
  3367.  
  3368.  
  3369.              This display shows the calculated values for parameters
  3370.         associated with the Sun. CAUTION: Depending upon the source,
  3371.         formulae used to calculate these and other precision data may
  3372.         refer T to 2000 JAN 1.5 TDT, the new standard epoch, OR to 1900
  3373.         JAN 0.5 ET, the prior standard epoch.
  3374.  
  3375.  
  3376.         Precision Data Display #3:
  3377.         --------------------------
  3378.  
  3379.         SUN Geocentric Rectangular Equatorial Coords
  3380.         --------------------------------------------
  3381.  
  3382.         @ Mean Equator & Equinox of Date:
  3383.               X Coordinate:               -0.7393294
  3384.               Y Coordinate:               -0.6063765
  3385.               Z Coordinate:               -0.2629145
  3386.         @ Mean Equator & Equinox of J2000.0:
  3387.               X Coordinate:               -0.7375287
  3388.               Y Coordinate:               -0.6082189
  3389.               Z Coordinate:               -0.2637152
  3390.  
  3391.              The standard equator and equinox shown in the sample is
  3392.         J2000.0, and is always the same as that used for the internal
  3393.         star database. It may be set with Function Key F8 to any desired
  3394.         epoch using a variety of input formats. These coordinates are
  3395.         frequently required for Epoch B1950.0 for use with planetary and
  3396.         other solar system data. NASA also uses B1950.0 for most data.
  3397.  
  3398.         Solar Rise/Set & Twilight:
  3399.         --------------------------
  3400.  
  3401.         SOLAR RISE/SET & TWILIGHT
  3402.  
  3403.                                    Morning   Evening
  3404.                                   ------------------
  3405.         Sunrise/Sunset            06:20:36  19:29:47
  3406.         Civil Twilight:           05:52:48  19:53:41
  3407.         Nautical Twilight:        05:22:07  20:24:29
  3408.         Astronomical Twilight:    04:50:19  20:56:24
  3409.  
  3410.  
  3411.  
  3412.         Calculations for:     Rancho Palos Verdes CA
  3413.                               Friday, 19 APR 1991
  3414.  
  3415.              This display shows the local times of sunrise, sunset, and
  3416.         the three defined twilights, Civil, Nautical, and Astronomical.
  3417.         The calculation method chosen is iterative and may require a
  3418.         considerable amount of time on computers not equipped with a math
  3419.         coprocessor, on the order of 30 seconds or more. However, the
  3420.         calculation is only made once for a particular day and local
  3421.         coordinates, and thereafter the display is essentially immediate.
  3422.         The local times shown reflect the current setting of the DAYLIGHT
  3423.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 62
  3424.  
  3425.  
  3426.         FLAG. As with all of the Precision Data displays, stopping the
  3427.         clocks with Function Key F4 permits the current day to be
  3428.         incremented or decremented by pressing the up or down arrow key
  3429.         respectively. This provides a simple method for displaying the
  3430.         sunrise, sunset and twilight data for the next several days.
  3431.              When a given phenomenon does not occur, such as sunrise and
  3432.         sunset during summer months in near polar regions, the time for
  3433.         that phenomenon will be replaced by "********" and a notation to
  3434.         that effect is added to the display.
  3435.              Calculating the time of sunrise or sunset is a chancy
  3436.         business at best. The Astronomical Almanac (AA) gives all times
  3437.         to the nearest minute on the theory that the actual time can
  3438.         seldom be predicted with greater accuracy given the variability
  3439.         of local conditions and refraction effects. I have chosen to
  3440.         include the seconds primarily as a starting point for my own
  3441.         timing measurements and not because the times are accurate to
  3442.         that precision. ASTROCLK's calculated times are typically the
  3443.         same as, or within one minute of, the times given by AA, the USNO
  3444.         Interactive Computer Ephemeris (ICE), and the USNO Floppy Almanac
  3445.         (FA) for 1991. Note, however, that ICE typically disagrees by one
  3446.         minute from ASTROCLK and FA (which are the same); ICE appears to
  3447.         use Terrestrial Dynamical Time (TDT) for these data and this may
  3448.         account for the one minute difference.
  3449.              The sunrise and sunset times take into account the horizon
  3450.         dip for the elevation at the local coordinates and assume a level
  3451.         and true horizon such as is obtained with a seaward view. Local
  3452.         mountains or other obstructions may significantly affect the
  3453.         observed times. Twilight times are calculated as defined and are
  3454.         not affected by local elevation. The calculated values may be
  3455.         checked against the AA by setting the local coordinates to a
  3456.         longitude of zero degrees, a latitude corresponding to the
  3457.         desired column in Section A of the AA, and setting the elevation
  3458.         to zero. Alternatively, times may be checked against ICE by
  3459.         setting the local elevation to zero using Function Key F6.
  3460.              Unlike sunrise and sunset, the various twilight times are
  3461.         the result of the mathematical definition of those phenomenae and
  3462.         are not subject to the same local variations. Each time is
  3463.         determined by how far the center of the Sun is located below the
  3464.         appropriate horizon: 6, 12, and 18 degrees for Civil, Nautical,
  3465.         and Astronomical twilight respectively.
  3466.              My thanks to Matt Merrill for his efforts in writing and
  3467.         debugging the original QuickBASIC code for these calculations,
  3468.         derived from Bretagnon and Simon, Planetary Tables, which I have
  3469.         adapted for use within ASTROCLK with few changes.
  3470.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 63
  3471.  
  3472.  
  3473.  
  3474.         PLANETARY DATA DISPLAYS
  3475.  
  3476.              By far the most demanding task that ASTROCLK asks of the
  3477.         micro-computer is the calculation of the positions of the
  3478.         planets; it is also one of the more important tasks for the
  3479.         interested star gazer, since the planets are among the more
  3480.         distinctive objects easily seen with the naked eye. Beginning
  3481.         with Version 8846, ASTROCLK calculates the full planetary
  3482.         position at the current time (ecliptic and equinox of date),
  3483.         displays its results using Display Mode 9, and makes those
  3484.         results available to the Tracking Display, Display Mode 0. For a
  3485.         micro-computer without a math coprocessor, the computational
  3486.         delays are very significant; my Zenith Z-183, running at 8 Mhz,
  3487.         requires about four to six seconds per position calculation,
  3488.         depending upon the planet. For a micro-computer equipped with a
  3489.         math coprocessor, the delays are noticeable but my Zenith Z-248
  3490.         IBM AT-compatible gets the job done in less than one second.
  3491.              When the letter "P" is pressed, or the first time Display
  3492.         Mode 9 is requested, ASTROCLK asks you to select a planet or
  3493.         minor planet for display. The major planets are assigned their
  3494.         "standard" numbers corresponding to their position outward from
  3495.         the Sun. Planet #3, the Earth, cannot be selected. A planet may
  3496.         be selected by entering either the planet number or the planet
  3497.         name. Except for Mercury and Mars, the first letter (upper or
  3498.         lower case) of the planet name is sufficient to select the
  3499.         planet; the first two letters are required to distinguish between
  3500.         MErcury and MArs. The letter "H" will select Comet Halley, the
  3501.         letter "X" will select the external Minor Planet Catalog (if
  3502.         present), and the letter "Z" allows manual entry of all orbital
  3503.         parameters. See the section MINOR PLANET SELECTION for additional
  3504.         information on minor planets and orbital parameters. The Planet
  3505.         Selection display reminds the user of the planet's numbers and
  3506.         names:
  3507.  
  3508.         PLANET SELECTION
  3509.         ----------------
  3510.  
  3511.                   Enter PLANET NAME/NUMBER:
  3512.                        1 = Mercury      6 = Saturn
  3513.                        2 = Venus        7 = Uranus
  3514.                        4 = Mars         8 = Neptune
  3515.                        5 = Jupiter      9 = Pluto
  3516.                        H = Comet Halley (internal data)
  3517.                        X = External Minor Planet Catalog
  3518.                        Z = Enter Orbital Parameters
  3519.                   - All orbital elements @ Mean Equinox of Date
  3520.                   - Use UP and DOWN arrows to change PLANET
  3521.                     after making initial selection.
  3522.  
  3523.              Once the initial selection has been made or at any time from
  3524.         another display mode, pressing "P" will allow you to select a
  3525.         planet or minor planet and will automatically select Display Mode
  3526.         9 unless you are in the Tracking Display, Display Mode 0. While
  3527.         displaying planetary data in Display Mode 9, pressing the UP
  3528.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 64
  3529.  
  3530.  
  3531.         arrow will cycle through the planets (but not the minor planets!)
  3532.         moving outward from the Sun and pressing the DOWN arrow will
  3533.         cycle through the planets moving inward toward the Sun.
  3534.              The position of the selected planet is calculated in several
  3535.         stages using the current time. First, current position data for
  3536.         the Sun are calculated (as in the Precision Data Display), then
  3537.         the orbital elements for all planets are determined for the
  3538.         instant of interest. Next, the heliocentric (Sun-centered) and
  3539.         geocentric (Earth-centered) ecliptic coordinates for the
  3540.         requested planet are found and corrected for perturbations of the
  3541.         other planets. Finally, the geocentric ecliptic coordinates are
  3542.         converted to equatorial coordinates, the more familiar Right
  3543.         Ascension and Declination. All data to this point are calculated
  3544.         for the mean equinox of date, which appears as the Julian Epoch
  3545.         at the right side of the window border for Display Mode 9 in the
  3546.         form "[J1988.9]".
  3547.              The internal star database is always referenced to a
  3548.         particular epoch; the current star database epoch is always shown
  3549.         in Display Mode 0. The default star database epoch is J2000.0 and
  3550.         it may be changed using Function Key F8. For consistency,
  3551.         therefore, the planetary equatorial coordinates are also
  3552.         automatically precessed to the current star database epoch and
  3553.         then preset as the current target for use in Display Mode 0, the
  3554.         Tracking Display. Therefore, having determined the current
  3555.         coordinates for the selected planet, the user may change to the
  3556.         Tracking Display and monitor the planet's position in equatorial
  3557.         and horizon (observer) coordinates. Selecting a planet from the
  3558.         Tracking Display directly by pressing "P" bypasses the Planetary
  3559.         Data Display and shows the tracking data immediately.
  3560.              Once a planet has been selected by using "P" or Display Mode
  3561.         9, the data is always available to the Tracking Display UNLESS
  3562.         you select a star or other celestial object for display in the
  3563.         meantime. If you have selected a star for display, you must again
  3564.         select a planet with "P" before its data will be shown in the
  3565.         Tracking Display.
  3566.              Because of the additional computational delays for the
  3567.         "average" micro-computer when processing a planet's equatorial
  3568.         coordinates in the Tracking Display, Display Mode 0, the user may
  3569.         notice a significant "slow down" in the Tracking Display as
  3570.         compared to the performance when a star or other fixed celestial
  3571.         object is being tracked. The additional calculations related to
  3572.         planetary position are only performed when a planet is selected
  3573.         for display.
  3574.              Two display screens are available for the selected planet in
  3575.         Display Mode 9: Planetary Data (default) and Orbital Data.
  3576.         Pressing the PgUp, PgDn, or "9" keys will switch between the two
  3577.         displays. The sample displays shown below were taken for MARS at
  3578.         00:00 UT on 8 November 1988 and ASTROCLK's star epoch was
  3579.         J2000.0. As with other ASTROCLK data, the reader is reminded that
  3580.         the accuracy of the data is not necessarily as good as the
  3581.         precision displayed; this is particularly true of the planetary
  3582.         data, given the complexity of the calculations. See the section
  3583.         PRECISION AND ACCURACY TESTS for additional discussion.
  3584.              Because of the differences among printers, the degree symbol
  3585.         (which appears on the displays) has been deleted from all sample
  3586.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 65
  3587.  
  3588.  
  3589.         displays, and the symbols omega and theta zero have been deleted
  3590.         for the Longitude of the Ascending Node and the Angular Diameter
  3591.         at 1 AU, respectively, in the Orbital Display.
  3592.  
  3593.         MARS Planetary Data                           [J1988.9]
  3594.         -------------------------------------------------------
  3595.  
  3596.              Heliocentric Longitude:          29 59'44.09"
  3597.              Heliocentric Latitude:           -0 37'00.40"
  3598.              Heliocentric Radius (AU):         1.4320914
  3599.              Appar Geocentric Longitude:       0 34'28.42"
  3600.              Appar Geocentric Latitude:       -1 36'23.79"
  3601.              Geocentric Distance (AU):         0.5498746
  3602.              Apparent Right Ascen [J1988.8]:   0:04:41.06
  3603.              Apparent Declination [J1988.8]:  -1 14'36.50"
  3604.              Apparent Right Ascen [J2000.0]:   0:05:15.32
  3605.              Apparent Declination [J2000.0]:  -1 10'53.20"
  3606.              Ang Size (") & Vis'l Mag:     17.02    -1.97
  3607.  
  3608.              The Heliocentric Ecliptic Longitude, Heliocentric Ecliptic
  3609.         Latitude, Heliocentric Radius, and Geocentric Distance are the
  3610.         instantaneous values corrected for perturbations but not for
  3611.         light time; they are therefore the true values for the given
  3612.         instant. The Geocentric Ecliptic Longitude and Geocentric
  3613.         Ecliptic Latitude have been corrected for perturbations, light
  3614.         time, nutation, and aberration and are therefore the apparent
  3615.         values for the given instant.
  3616.              The two sets of equatorial coordinates, apparent right
  3617.         ascension and apparent declination, are calculated for two
  3618.         different epochs. The first set is calculated for the current
  3619.         time and date and is therefore for the Mean Equinox of Date
  3620.         (J1988.9 in the samples, also shown at the upper right of the
  3621.         window border). The values for the second set of equatorial
  3622.         coordinates have been precessed to the current epoch for
  3623.         ASTROCLK's internal star database; the default epoch for the
  3624.         internal star database is J2000.0, as shown in the sample above.
  3625.         Precessing the internal star database using Function Key F8 will
  3626.         change the epoch used for these coordinates. It is this last set
  3627.         of coordinates, referenced to the current star database epoch,
  3628.         which is automatically transferred to Display Mode 0, the
  3629.         Tracking Display, where the same data is displayed, and is
  3630.         converted to horizon coordinates and corrected for refraction.
  3631.         The apparent size in arcseconds and the approximate visual
  3632.         magnitude are shown on the last line of the display.
  3633.              Care must be taken when comparing ASTROCLK's planetary data
  3634.         with other sources to ensure that the data are calculated for the
  3635.         same time, date, and epoch. For example: the Astronomical Almanac
  3636.         and the USNO Floppy Almanac use Terrestrial Dynamical Time (TDT)
  3637.         and provide positions as of the Mean Equinox of Date; Bretagnon
  3638.         and Simon use UT (internally converted to TDT/ET) and calculate
  3639.         positions as of the Mean Equinox of Date but use the Zero Year
  3640.         date numbering system for years "BC"; Sky & Telescope Magazine
  3641.         provides sample planetary data each month which is calculated
  3642.         using Universal Time (0 hours UT) and the Mean Equinox of Date;
  3643.         and, Astronomy Magazine does not specify a time scale or time for
  3644.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 66
  3645.  
  3646.  
  3647.         its monthly planetary calculations but data is marked Epoch
  3648.         J2000.0.
  3649.  
  3650.         MARS Orbital Data                             [J1988.9]
  3651.         -------------------------------------------------------
  3652.  
  3653.              L Mean Longitude:                21 40'41.18"
  3654.              _ Mean Daily Motion in Long:      0 31'26.65"
  3655.              w Longitude of Perihelion:      335 51'13.93"
  3656.              e Eccentricity:                   0.09339464
  3657.              i Inclination:                    1 50'59.08"
  3658.                Longitude of Asc Node:         49 28'17.35"
  3659.              a Semi-Major Axis (AU):           1.52368830
  3660.                Ang Diameter @ 1 AU (arcsecs)   9.36
  3661.                Std Visual Magnitude [V(1.0)]  -1.52
  3662.  
  3663.              The Mean Longitude, Longitude of Perihelion, Eccentricity,
  3664.         Inclination, Longitude of the Ascending Node, and the Semi-Major
  3665.         Axis are the six standard orbital elements used for calculating
  3666.         the instantaneous position of a planet in its orbit about the
  3667.         Sun. [NOTE: Some authors use the Argument of the Perihelion
  3668.         instead of the Longitude of the Perihelion.] The Mean Daily
  3669.         Motion in Longitude is derived from the Mean Longitude as a
  3670.         function of time. The Angular Diameter at 1 AU is the standard
  3671.         angular diameter measured at a distance of 1 Astronomical Unit.
  3672.         Similarly, the Standard Visual Magnitude shown is the standard
  3673.         visual magnitude measured at a distance of 1 Astronomical Unit.
  3674.              The calculation of the positional data for a selected
  3675.         planet requires first that the orbital elements for all planets
  3676.         be calculated. The orbital elements are then used to compute the
  3677.         perturbations affecting the selected planet. Only the orbital
  3678.         elements for the selected planet are shown in the Orbital Data
  3679.         Display and only the last three items in the display are
  3680.         constants. All other data must be re-computed for each instant.
  3681.              After a planet has been selected, switching to the Tracking
  3682.         Display, Display Mode 0, will show the usual tracking data for
  3683.         the selected planet updated once per second or as rapidly as the
  3684.         micro-processor can manage (degree symbol deleted):
  3685.  
  3686.         P4   MARS (Automatic)
  3687.         ---------------------
  3688.  
  3689.              EQUATORIAL COORDINATES [J2000.0]:
  3690.                RIGHT ASCENSION (hours):         0:05:15.32
  3691.                DECLINATION (degrees):          -1 10'53.20"
  3692.                HOUR ANGLE (hours):             19:10:42.68
  3693.              APPARENT COORDINATES [J1988.8]:
  3694.                RIGHT ASCENSION (hours):         0:04:41.06
  3695.                DECLINATION (degrees):          -1 14'36.52"
  3696.                HOUR ANGLE (hours):             19:11:16.94
  3697.              OBSERVER HORIZON COORDINATES:
  3698.                ALTITUDE [Hc] (degrees):        14 01'20.61"
  3699.                AZIMUTH  [Zn] (degrees):       101 10'41.66"
  3700.                Apparent ALTITUDE (degrees):    14 04'59.95"
  3701.              [Charts SA=17 U=I/II-215]       [VMag = -1.97]
  3702.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 67
  3703.  
  3704.  
  3705.  
  3706.  
  3707.         MINOR PLANET SELECTION
  3708.  
  3709.              The current complete Minor Planet Catalog as of this
  3710.         writing, ELEM1989.001 for March 15, 1989 compiled by E. G. Bowell
  3711.         of the Lowell Observatory, lists 3,774 minor planets and their
  3712.         various orbital parameters. This is far too much data for direct
  3713.         inclusion in ASTROCLK; in conventional ASCII format, the full
  3714.         Minor Planet Catalog requires over 380K bytes of disk storage. In
  3715.         addition, reading the ASCII data and converting the parameters to
  3716.         the internal numerical formats required by ASTROCLK requires
  3717.         extra computational time. I have therefore designed a compressed
  3718.         Minor Planet Catalog format for use with ASTROCLK; the
  3719.         compression to ASTROCLK's MPC format, along with data examination
  3720.         and recreation of the original ASCII format, if desired, is
  3721.         performed by program MPCAT. The resulting MPC format file,
  3722.         ELEM891.MPC, requires approximately 241K bytes for the full
  3723.         catalog, still quite a bit if you don't happen to be interested
  3724.         in minor planets. Therefore, an abbreviated version of the full
  3725.         catalog, ASTROCLK.MPC, containing the first 250 minor planets is
  3726.         included with the standard distribution of ASTROCLK and only
  3727.         requires approximately 64K bytes. The full MPC catalog is
  3728.         available from my bulletin board system. (See A BRIEF EDITORIAL
  3729.         for further information.)
  3730.              Unlike the major planets, no "general theory" exists for the
  3731.         complex motion of the many minor planets; these smaller bodies
  3732.         are not only subject to the influence of the major planets but
  3733.         interact with each other -- and there are thousands of them in
  3734.         the so-called "asteroid belt". There are therefore no handy time-
  3735.         dependent equations which will yield orbital and position
  3736.         information over long time spans. Instead, so-called "osculating
  3737.         elements", accurate for a specific date (the "epoch" of the data)
  3738.         and referred to a specific ecliptic and equinox (the "standard
  3739.         describe the orbit of each minor planet. Most minor planet data
  3740.         is referenced to the standard epoch of B1950.0, although some
  3741.         publications including the Astronomical Almanac now use J2000.0.
  3742.              When processing minor planet data, ASTROCLK first reduces
  3743.         the raw osculating elements as read from the Minor Planet Catalog
  3744.         in use to the equinox of date (based upon the current epoch set
  3745.         in ASTROCLK for the internal star database), then performs all of
  3746.         the various orbit and position calculations as of the ecliptic
  3747.         and equinox of date. The data is then processed in the same
  3748.         manner as for the major planets, taking into account light time
  3749.         and yielding the apparent position for the equinox of date. The
  3750.         data are also precessed to the current standard epoch, but
  3751.         readers are cautioned that these data are also the APPARENT
  3752.         position rather than the ASTROMETRIC position. In particular, the
  3753.         Astronomical Almanac data for selected minor planets (Section G)
  3754.         are astrometric as of Epoch J2000.0 and will therefore not agree
  3755.         precisely with those generated by ASTROCLK.
  3756.              As the date of interest moves further from the catalog date,
  3757.         the position calculations become progressively less accurate.
  3758.         When possible, use a minor planet catalog which is valid for a
  3759.         date near (within several months, for example) the date of
  3760.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 68
  3761.  
  3762.  
  3763.         interest. ASTROCLK displays the osculation date for the external
  3764.         catalog in the form DD-MM-YYYY, but no check is made for
  3765.         excessive time spans. See also the section PRECISION AND ACCURACY
  3766.         TESTS for further discussion.
  3767.              Before attempting to use the Minor Planet Catalog, use
  3768.         Function Key ALT-F10 to verify that the path and file name for
  3769.         the catalog are set correctly. Particularly if you are upgrading
  3770.         from a previous version of ASTROCLK, the file name and path will
  3771.         probably be incorrect. As with the major planets, selection of a
  3772.         minor planet begins by pressing the letter "P" for Planet
  3773.         Selection, then press "X" to select the Minor Planet Catalog.
  3774.         Information about the catalog is then displayed and the minor
  3775.         planet number is requested:
  3776.  
  3777.                   MINOR PLANET SELECTION
  3778.  
  3779.                   Minor Planet SOURCE file:   ELEM1989.001
  3780.                     [SOURCE: E G BOWELL, LOWELL OBSERVATORY]
  3781.                   Minor Planet CATALOG file:  ASTROCLK.MPC
  3782.                   Minor Planet Data Date:     15-03-1989
  3783.                   Minor Planet Ecliptic Date: B1950.0
  3784.                   First Minor Planet:         1
  3785.                   Last Minor Planet:          250
  3786.                   Total Minor Planets:        250
  3787.  
  3788.                   Enter Minor Planet NUMBER:
  3789.                   [Press RETURN to enter NAME]
  3790.  
  3791.         Enter the desired minor planet number, followed by RETURN, or
  3792.         press RETURN alone and receive the prompt to enter the minor
  3793.         planet name:
  3794.  
  3795.                   Enter Minor Planet NAME:
  3796.                   [Press RETURN to cancel]
  3797.  
  3798.         Enter the desired minor planet name, followed by RETURN, or press
  3799.         RETURN again to cancel the name request and return to the main
  3800.         Minor Planet Selection menu. When entering a minor planet name,
  3801.         upper or lower case may be used and only sufficient letters are
  3802.         required to unambiguously identify the desired minor planet. For
  3803.         example, to search for VICTORIA you might enter simply "VIC" or
  3804.         "vic". ASTROCLK will search the catalog for any minor planets
  3805.         whose name begins with the letters VIC.
  3806.              When possible, use the minor planet NUMBER rather than the
  3807.         minor planet NAME. ASTROCLK can retrieve the data directly when
  3808.         the number is given, but must search through the entire file
  3809.         looking for a match to the name. Depending upon the type and
  3810.         speed of your disk system, the time difference can be very
  3811.         considerable!
  3812.              Once ASTROCLK has located the requested minor planet or one
  3813.         which matches the requested name, the data for that minor planet
  3814.         is displayed:
  3815.  
  3816.                   Minor Planet 12:             VICTORIA
  3817.                      Ecliptic Epoch:           B1950.0
  3818.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 69
  3819.  
  3820.  
  3821.                      Orbital Elements Date:    15-03-1989
  3822.                   M  Mean Anomaly:             334.29342
  3823.                   w  Argument of Perihelion:    68.76240
  3824.                      Long of Ascending Node:   235.12759
  3825.                   i  Inclination:                8.37950
  3826.                   e  Eccentricity:               0.21976110
  3827.                   a  Semi-Major Axis:            2.33431886 AU
  3828.                   B  Std Blue Magnitude @ 1AU:   7.23
  3829.  
  3830.         If a minor planet number was requested, the following prompt will
  3831.         also appear:
  3832.  
  3833.                   Press RETURN to ACCEPT, SPACE to cancel:
  3834.  
  3835.         As indicated, press RETURN to accept the minor planet or press
  3836.         SPACE to return to the main Minor Planet Selection menu. If a
  3837.         minor planet name was requested, the following prompt will appear
  3838.         instead:
  3839.  
  3840.                   Press RETURN to ACCEPT, SPACE to continue:
  3841.  
  3842.         If this is the desired minor planet, press RETURN to accept it.
  3843.         If you wish ASTROCLK to search further for another match to the
  3844.         requested name, press SPACE. The process will continue until a
  3845.         minor planet is accepted or until the end of the catalog has been
  3846.         reached.
  3847.              Once accepted, the minor planet data is treated in almost
  3848.         the same manner as that for a major planet. The positional data
  3849.         will be automatically displayed, unless Display Mode 0 was
  3850.         selected (degree symbol omitted):
  3851.  
  3852.                   VICTORIA Positional Data            [J1989.1]
  3853.                     [Osculating elements as of 1989 MAR 15]
  3854.                   Heliocentric Longitude:         252 37'40.34"
  3855.                   Heliocentric Latitude:            2 32'11.13"
  3856.                   Heliocentric Radius (AU):         1.9520963
  3857.                   Appar Geocentric Longitude:     275 40'38.95"
  3858.                   Appar Geocentric Latitude:        2 02'35.38"
  3859.                   Geocentric Distance (AU):         2.4224614
  3860.                   Apparent Right Ascen [J1989.1]:  18:24:21.39
  3861.                   Apparent Declination [J1989.1]: -21 16'48.43"
  3862.                   Apparent Right Ascen [J2000.0]:  18:25:00.46
  3863.                   Apparent Declination [J2000.0]: -21 16'25.01"
  3864.                   Blue Photographic Magnitude [B]: 10.65
  3865.  
  3866.         Pressing "9" will display the orbital data. (NOTE: The pi and
  3867.         omega symbols associated with Longitude of the Perihelion and
  3868.         Longitude of the Ascending Node, as well as the degree symbol,
  3869.         have been omitted from this text but appear on the display.)
  3870.  
  3871.                   VICTORIA Orbital Data               [J1989.1]
  3872.                     [Osculating elements as of 1989 MAR 15]
  3873.                   M Mean Anomaly:                 326 33'52.52"
  3874.                   L Mean Longitude:               271 00'02.48"
  3875.                   n Mean Daily Motion in Long:      0 16'34.86"
  3876.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 70
  3877.  
  3878.  
  3879.                     Longitude of Perihelion:      304 26'09.94"
  3880.                   w Argument of Perihelion:        68 43'54.29"
  3881.                   e Eccentricity:                   0.21976110
  3882.                   i Inclination:                    8 22'37.22"
  3883.                     Longitude of Ascending Node:  235 42'15.65"
  3884.                   a Semi-Major Axis (AU):           2.33431886
  3885.                   q Perihelion Distance (AU):       1.82132638
  3886.                   T Perihelion Date:        1985 NOV 21.338043
  3887.                                                   [B =  7.23]
  3888.  
  3889.         Pressing "0" will select the Tracking Display, as usual, and the
  3890.         data for the minor planet will have been automatically
  3891.         transferred as with the major planets. The tracking data display
  3892.         corresponding to the minor planet VICTORIA indicates the usual
  3893.         data with the prefix "MP #nn", where "nn" is the Minor Planet
  3894.         Number as read from the Minor Planet Catalog. A parenthetical
  3895.         reminder that the data originated with the Minor Planet Catalog
  3896.         is included. The following sample illustrates the data presented:
  3897.  
  3898.                   MP #12 - VICTORIA (MP Catalog)
  3899.  
  3900.                   EQUATORIAL COORDINATES [J2000.0]:
  3901.                     RIGHT ASCENSION (hours):        18:25:00.46
  3902.                     DECLINATION (degrees):         -21 16'24.98"
  3903.                     HOUR ANGLE (hours):              7:55:04.82
  3904.                   APPARENT COORDINATES [J1989.1]:
  3905.                     RIGHT ASCENSION (hours):        18:24:21.39
  3906.                     DECLINATION (degrees):         -21 16'48.43"
  3907.                     HOUR ANGLE (hours):              7:55:43.90
  3908.                   OBSERVER HORIZON COORDINATES:
  3909.                     ALTITUDE [Hc] (degrees):       -35 21'31.90"
  3910.                     AZIMUTH  [Zn] (degrees):       269 30'45.70"
  3911.                     Apparent ALTITUDE (degrees):   -35 21'31.90"
  3912.                   [Charts SA=22 U=II-339]         [BMag = 10.65]
  3913.  
  3914.  
  3915.         Entering Orbital Parameters
  3916.  
  3917.              You may also enter the orbital parameters for an orbiting
  3918.         body directly. The orbital parameters are the same as those used
  3919.         for the minor planets. In this case, use the "Z" selection on the
  3920.         planet selection menu. The following data are required:
  3921.  
  3922.                      Object Name
  3923.                      Ecliptic Epoch
  3924.                      Elements Date (D,M,Y)
  3925.                   M  Mean Anomaly
  3926.                   w  Argument of Perihelion
  3927.                      Long of Ascending Node
  3928.                   i  Inclination
  3929.                   e  Eccentricity
  3930.                   a  Semi-Major Axis
  3931.                   B  Std Blue Mag @ 1AU
  3932.  
  3933.              In order to determine an elliptical orbit, six orbital
  3934.    ASTROCLK Astronomical Clock and Celestial Tracking Program        Page 71
  3935.  
  3936.  
  3937.         parameters are required, often referred to as "osculating
  3938.         elements". To these are added the ecliptic date of the data (to
  3939.         determine the coordinate system used) and the date of the
  3940.         parameters. Since this function is patterned after the minor
  3941.         planet function, the standard blue photographic magnitude
  3942.         measured at one Astronomical Unit is also requested.
  3943.              Each item shown in the list above will be requested in turn.
  3944.         The Object Name may be entered in upper or lower case letters but
  3945.         will be converted to all upper case letters by ASTROCLK. For most
  3946.         minor planets and similar bodies, the Ecliptic Epoch is B1950;
  3947.         enter the epoch as either Besselian or Julian, designated by the
  3948.         letter prefix "B" or "J" (upper or lower case) respectively,
  3949.         followed by the full epoch year and optional decimal fraction
  3950.         (e.g. B1950.0). The Elements Date is the date for which the
  3951.         orbital parameters are accurate; enter as day-month-year or by
  3952.         any of the other date formats used with Function Key F3;
  3953.         regardless of the input format used (calendar date, julian date,
  3954.         epoch, etc.), ASTROCLK will convert the information to standard
  3955.         calendar date. The position of an orbiting body may generally be
  3956.         calculated for dates within a few months of the date of the
  3957.         orbital parameters and still retain reasonable accuracy.
  3958.              Once all of the orbital parameters and other data have been
  3959.         entered, they will be displayed again, as interpreted by
  3960.         ASTROCLK, along with the following message:
  3961.  
  3962.                   Press RETURN to ACCEPT, SPACE to cancel:
  3963.  
  3964.         If the data are correct, press RETURN; if not, press the SPACE
  3965.         BAR and the data will be discarded. Operation from this point is
  3966.         identical with normal minor planet selection above.
  3967.  
  3968.