home *** CD-ROM | disk | FTP | other *** search
/ Sound Sensations! / sound_sensations.iso / miscprog / alarm410 / alarm.doc < prev    next >
Encoding:
Text File  |  1988-02-15  |  21.3 KB  |  460 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                    ALARM : Alarm Clock Program and Utilities
  7.                            Version 4.10, 15-Feb-1988
  8.                                   SMG Software
  9.  
  10.                            (C) Copyright 1986-1988 by
  11.                                Steven Georgiades
  12.                               All Rights Reserved
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                Table of Contents
  25.                                _________________
  26.  
  27.  
  28.                  I. Overview  ...........................  Page 2
  29.  
  30.                 II. Program Installation and Usage  .....  Page 3
  31.  
  32.                III. The ALARM Configuration File  .......  Page 5
  33.  
  34.                 IV. Revision History  ...................  Page 6
  35.  
  36.                  V. Additional Utilities  ...............  Page 7
  37.  
  38.                 VI. Program Restrictions  ...............  Page 7
  39.  
  40.                VII. Program License  ....................  Page 8
  41.  
  42.               VIII. Program Registration  ...............  Page 8
  43.  
  44.                 IX. Disclaimer  .........................  Page 9
  45.  
  46.                  X. Reporting Problems  .................  Page 9
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                       1                                       
  61.     ALARM, Version 4.10                                              Page 2   
  62.  
  63.  
  64.  
  65.     I. OVERVIEW
  66.  
  67.          The  ALARM  program  provides a memory resident alarm  clock  with
  68.     eight  different  alarms,   each  of which can be set to go  off  at  a
  69.     different  time  of  day.   This is useful to signal the user  about  a
  70.     meeting,   a   lunch date,  or an appointment.   ALARM  also  has  four
  71.     reminders,   which  can be set to go off at different  time  intervals.
  72.     These are useful for reminding the user to perform periodic tasks, such
  73.     as doing saves while editing,  or taking medication.  Each of the eight
  74.     alarms  and four reminders may have a user-defined  message  associated
  75.     with it, up to 32 characters in length.  When the alarm time is reached
  76.     (or  when  the reminder interval has expired),  the computer's  current
  77.     activity  will be suspended,  and a window will appear in the middle of
  78.     the  screen indicating the alarm or reminder number,  the current time,
  79.     and  the corresponding message.   In addition,  a  musical tune will be
  80.     played,   as  specified in the alarm configuration  file.    Using  the
  81.     supplied tune-files and configuration file (ALARM.CFG),  these tunes
  82.     will be as follows:
  83.  
  84.  
  85.                     Alarm #1 : Funeral March of the Marionettes
  86.                     Alarm #2 : Carnival
  87.                     Alarm #3 : Holiday Road
  88.                     Alarm #4 : When The Saints Go Marching In
  89.                     Alarm #5 : Fur Elise
  90.                     Alarm #6 : O' Solo Mio
  91.                     Alarm #7 : Turkey in the Straw
  92.                     Alarm #8 : Aura Lee
  93.                  Reminder #1 : Oh! Susanna
  94.                  Reminder #2 : London Bridge
  95.                  Reminder #3 : Mary had a Little Lamb
  96.                  Reminder #4 : Yankee Doodle
  97.  
  98.  
  99.     Note that upon installation,  the message associated with each alarm or
  100.     reminder is set to the title of the corresponding tune.   In all cases,
  101.     a  tune can be terminated before completion by pressing the Escape key.
  102.     Once  an  alarm  or reminder has sounded,  the  window  will  disappear
  103.     immediately, unless it was set to persist. In this case the window will
  104.     remain  on the screen (persist)  until the ESC key is pressed.    If  a
  105.     second alarm time should be reached before the ESC key is pressed, that
  106.     alarm will supersede the first, and the first one will be aborted.
  107.          In  addition to alarms and reminders,  the ALARM program also  has
  108.     Westminster chimes which can be enabled to sound on the hour, half-hour
  109.     or quarter-hour.  The chimes can also be disabled.
  110.          A   facility  is  also  included  to  disable  the  ALARM  program
  111.     completely.    This  is  useful when executing programs  which  may  be
  112.     adversely  affected  by  a  pop-up window,   such  as  FORMAT  or  disk
  113.     optimizing software.
  114.     ALARM, Version 4.10                                              Page 3   
  115.  
  116.  
  117.  
  118.     II. PROGRAM INSTALLATION AND USAGE
  119.  
  120.          In order for the ALARM program to work, it must first be installed
  121.     as  resident in memory.   This is accomplished by one of the  following
  122.     commands:
  123.  
  124.          ALARM I             or             ALARM Ifilename.ext
  125.  
  126.     The first form will look for the default configuration file, ALARM.CFG,
  127.     in  the  current  directory.    If  not  found,   ALARM  will  use   no
  128.     configuration  data  and will install a very simple (and  very  boring)
  129.     form of the program,  with "beeps"  instead of tunes.   The second form
  130.     will look for the specified configuration file.  If not found, an error
  131.     will be flagged.  Note that the filename may optionally include a drive
  132.     letter and/or a path specification.   For more information on the ALARM
  133.     configuration file, see section III, below.
  134.  
  135.          Once installed in memory, three sub-systems are available: Alarms,
  136.     Reminders, and Chimes.  The Alarms Sub-System consists of eight alarms,
  137.     which may be set by issuing one of the following commands:
  138.  
  139.          ALARM An=hh:mm          or           ALARM An=hh:mm/"msg"
  140.  
  141.          ALARM An=*hh:mm         or           ALARM An=*hh:mm/"msg"
  142.  
  143.     where "n"  is the alarm number (1 to 8), "hh:mm" is the alarm time,  in
  144.     24-hour  format (5:00 pm  is 17:00),  and "msg"  is an  optional  alarm
  145.     message  which  may be up to 32  characters in length.   If  "msg"   is
  146.     omitted,  as in the left column above,  then the alarm message  remains
  147.     unchanged.   If an asterisk ("*") is specified with the alarm time,  as
  148.     in the bottom row above, then that alarm is set to persist.  Individual
  149.     alarms may be enabled, disabled, queried, and tested, respectively,  by
  150.     entering the following commands:
  151.  
  152.          ALARM An+      ALARM An-      ALARM An?      ALARM AnT
  153.  
  154.     Disabling an alarm will not change it's setting.  When it is once again
  155.     enabled,   it  will  still  be set to the same time as  before  it  was
  156.     disabled.  Note that the act of setting an alarm enables it.  The query
  157.     option  will  list the alarm number,  the current setting  (or  OFF  if
  158.     disabled), and the current message associated with that alarm.  Testing
  159.     an  alarm  will  cause an alarm window to pop up and  the  tune  to  be
  160.     played,   just as if the alarm time had been reached.   This will  work
  161.     regardless of whether the specified alarm is enabled.
  162.          In addition to this,  the entire Alarms Sub-System may be enabled,
  163.     disabled, or queried, as follows:
  164.  
  165.          ALARM A+               ALARM A-               ALARM A?
  166.  
  167.     Disabling the Alarms Sub-System will disable all eight alarms.  This is
  168.     different from disabling all eight alarms individually, since disabling
  169.     and re-enabling the Alarms Sub-System will preserve the  enable/disable
  170.     status of each alarm.   Querying the Alarms Sub-System is equivalent to
  171.     querying each of the eight alarms individually.
  172.     ALARM, Version 4.10                                              Page 4   
  173.  
  174.  
  175.  
  176.     II. PROGRAM INSTALLATION AND USAGE (Continued)
  177.  
  178.          The  Reminders Sub-System behaves virtually the same as the Alarms
  179.     Sub-System,   the only major difference being that a Reminder  Interval
  180.     ("mm")   must be specified,  instead of an Alarm Time ("hh:mm").    The
  181.     reminder interval may be from 1 to 255  minutes.   Note that there  are
  182.     only  4  reminders,  so "n"  must be in the range 1 to 4.    To  set  a
  183.     reminder, use the following commands:
  184.  
  185.          ALARM Rn=mm             or           ALARM Rn=mm/"msg"
  186.  
  187.          ALARM Rn=*mm            or           ALARM Rn=*mm/"msg"
  188.  
  189.     To  enable,   disable,  query or test individual  reminders,   use  the
  190.     following commands:
  191.  
  192.          ALARM Rn+      ALARM Rn-      ALARM Rn?      ALARM RnT
  193.  
  194.     To enable,  disable or query the entire Reminders Sub-System,  use  the
  195.     following commands:
  196.  
  197.          ALARM R+               ALARM R-               ALARM R?
  198.  
  199.          The  Chimes  Sub-System  enables the user  to  select  Westminster
  200.     Chimes to sound on the quarter hour,  the half hour, or on the hour, as
  201.     follows:
  202.  
  203.          ALARM C15              ALARM C30              ALARM C60
  204.  
  205.     Note  that  only these three values are permitted for chime  intervals.
  206.     All  other  values will cause an error.   The Chimes Sub-System may  be
  207.     enabled, disabled, or queried by the following commands:
  208.  
  209.          ALARM C+               ALARM C-               ALARM C?
  210.  
  211.          In  addition to all of the above,  there are Global ALARM  Program
  212.     functions,   which enable you to completely disable the ALARM  program,
  213.     re-enable ALARM, and query all ALARM parameters, as follows:
  214.  
  215.          ALARM -                ALARM +                ALARM ?
  216.  
  217.     The  global disable will cease all ALARM functions until alarm  is  re-
  218.     enabled.    The global query will respond with the status of the  ALARM
  219.     program, as well as the complete status of all Sub-Systems.
  220.     ALARM, Version 4.10                                              Page 5   
  221.  
  222.  
  223.  
  224.     III. THE ALARM CONFIGURATION FILE
  225.  
  226.          The  ALARM program allows the user to customize the alarm tunes to
  227.     his   or  her  liking  through  use  of  a  configuration  file.    The
  228.     configuration  file is a simple ASCII file which may be  created  using
  229.     any standard text editor,  or word processor with an ASCII save option.
  230.     This file must contain at least twelve lines,  the first eight of which
  231.     must contain the eight alarm tune entries,  and the remainder of  which
  232.     must  contain  the four reminder tune entries.   Any  additional  lines
  233.     found  in the configuration file beyond these 12  are read in by  ALARM
  234.     and  interpreted  exactly as if they were found on the command line  of
  235.     the ALARM program.
  236.          Each tune  entry may be a file specification (with  optional drive
  237.     and/or  path,  i.e.  [d:][path/]filename.ext),  or one of a few special
  238.     codes,  explained below.  If a file specification is given,  ALARM will
  239.     look for that file, and if not found, will flag an error.  Note that if
  240.     no drive is specified, the current default drive is assumed,  and if no
  241.     path is specified, the current default directory is used.
  242.          The  special codes that are permitted in a tune entry are a  blank
  243.     line (CR only,  no spaces or tabs), a double quote character ("),  or a
  244.     pound  sign (#)  followed by a single digit,  1  to 9.   A  blank  line
  245.     indicates  to  ALARM  that  you wish for that tune to  be  set  to  the
  246.     program's default tune, a simple series of tones.   The quote character
  247.     indicates  that  you  wish for that tune entry to be identical  to  the
  248.     preceding tune entry.   Finally,  the "#"  character indicates that the
  249.     current  tune  entry  should  be  made  identical  to  the  tune  entry
  250.     corresponding  to the following digit,  i.e. "#2" in the 6th line would
  251.     indicate that the tune for alarm #6 should be identical to the tune for
  252.     alarm  #2.    Note that this form MUST point to a preceding  tune:   it
  253.     cannot point forward, or an error will be flagged.  Also note that only
  254.     the  first nine tunes can be repeated using this method,  since only  a
  255.     single digit is recognized.  Using the quote or "#" options will reduce
  256.     the amount of memory that the ALARM program occupies,  since a repeated
  257.     tune will only appear once in memory.
  258.  
  259.          Twelve  standard  tune files are supplied with the ALARM  program,
  260.     and   19   additional  tunes  are  available  in  the  optional   file,
  261.     ALMTUNES.ARC.   In addition,  the user may create his own custom tunes,
  262.     using the ATC utility, discussed in section VI,  below, and in ATC.DOC.
  263.     Additional optional tune sets may be released from time to time.
  264.     ALARM, Version 4.10                                              Page 6   
  265.  
  266.  
  267.  
  268.     IV. REVISION HISTORY
  269.  
  270.          The development of the ALARM program has been evolutionary (though
  271.     not necessarily REVolutionary).   Since the first release, I  have been
  272.     getting a great deal of feedback from users,  which has helped ALARM to
  273.     become what it is today.
  274.  
  275.  
  276.          Version 3.10        Initial Release.
  277.  
  278.          Version 3.11        The program was modified to permit poly-phonic
  279.                              music (chords).
  280.  
  281.          Version 3.12        The program was modified to allow for more
  282.                              accurate timekeeping, and the quarter-hour
  283.                              chimes were changed to hourly.
  284.  
  285.          Version 3.13        The program was modified to add the persist
  286.                              option, and to permit the user to interrupt an
  287.                              alarm tune in progress.  (Thanks to Robert
  288.                              Warren of El Paso for these suggestions)
  289.  
  290.          Version 3.14        The program was modified to fix bugs in the
  291.                              persist option, and improve it's usefulness.
  292.                              The hourly chimes were also modified to
  293.                              disappear upon completion.
  294.  
  295.          Version 3.15        The program was modified to fix a bug that
  296.                              would cause the program to re-install if run
  297.                              above the 512K boundary.
  298.  
  299.          Version 3.20        The program was modified to allow alarm
  300.                              overlaps.
  301.  
  302.          Version 4.00        MAJOR REVISION.  This new version increases
  303.                              the number of alarms from 5 to 8, enhances the
  304.                              chimes to allow for a user-specified chime
  305.                              interval of 15, 30 or 60 minutes, adds four
  306.                              reminders (NEW), adds the ability to disable
  307.                              the ALARM program completely, allows the user
  308.                              to create his own customized alarm tunes, adds
  309.                              configuration file support, and numerous other
  310.                              minor changes and improvements.  Users of
  311.                              older versions should read the documentation
  312.                              thoroughly.
  313.  
  314.          Version 4.10        Improves the sound of tunes on AT's and
  315.                              machines with faster clock speeds.
  316.  
  317.     ALARM, Version 4.10                                              Page 7   
  318.  
  319.  
  320.  
  321.     V. ADDITIONAL UTILITIES
  322.  
  323.          Included with the ALARM program are three special utilities  which
  324.     make it a much more powerful program.  Each of these utilities has it's
  325.     own documentation file, but a brief description is given here.
  326.  
  327.          The first utility is DTCHK, the Date and Time Check Utility.  This
  328.     program allows you to test the current date,  time,  and/or day-of-week
  329.     from  within a batch file,  and conditionally execute code.    This  is
  330.     useful for setting alarms based on the date.  For example,  if you want
  331.     to be reminded to attend a 10:00 status meeting every friday, but don't
  332.     wish to have an alarm go  off  EVERY  day at 10:00,  you can  use DTCHK
  333.     within  your  AUTOEXEC.BAT  to set that alarm ONLY  on  fridays.    See
  334.     DTCHK.DOC for more information.
  335.  
  336.          Another  utility  is ATC,  the Alarm Tune Compiler.   This is  the
  337.     program which allows you to create your own customized tunes.  A  music
  338.     "source"   file is created using a text editor or word processor,   and
  339.     this  file is compiled by ATC into a tune file,  suitable for use  with
  340.     ALARM.  Tunes created with ATC may also be played using ATP.
  341.  
  342.          ATP  is the Alarm Tune Play Utility.   This is used to play  tunes
  343.     compiled with ATC,  or the tunes supplied with the ALARM program.  This
  344.     program  is  supplied  to allow the user to hear what tunes sound  like
  345.     without  having  to install  them into ALARM (or just to play tunes for
  346.     fun).  See ATC.DOC for more information on both ATC and ATP.
  347.  
  348.  
  349.  
  350.  
  351.     VI. PROGRAM RESTRICTIONS
  352.  
  353.          The  ALARM  program  should work on any IBM PC,  XT,  AT  or  true
  354.     compatible, running DOS Version 2.0 or later.  In order for the program
  355.     to run,  there must be at least 20K bytes of free memory in the system.
  356.     When  installed,   the resident portion will occupy between 4K and  10K
  357.     bytes, depending upon the configuration.  The sum of the lengths of all
  358.     installed tunes files must not exceed 7503 bytes.
  359.     ALARM, Version 4.10                                              Page 8   
  360.  
  361.  
  362.  
  363.     VII. PROGRAM LICENSE
  364.  
  365.          The ALARM program is copyrighted material,  but is distributed  as
  366.     ShareWare.  "ShareWare" means that you are granted free license to use,
  367.     copy and distribute this software, within the following restrictions:
  368.  
  369.          1).  It must be distributed in its original,  unmodified  form,
  370.               including program, documentation and all associated files.
  371.  
  372.          2).  No  fee may be charged for use,  copying  or  distribution
  373.               (With the exception of nominal "per disk" copying charges,
  374.               not to exceed $6.00 per disk).
  375.  
  376.          3).  The  program  may  not  be included with  other  goods  or
  377.               services supplied for a fee,  unless written permission to
  378.               do so is obtained in advance from the author.
  379.  
  380.  
  381.     VIII. PROGRAM REGISTRATION
  382.  
  383.          Since  ALARM  is  ShareWare,   you have  no  legal  obligation  to
  384.     register.   But if you are using the program, and find it helpful,  you
  385.     are expected to register.  Registration fees are as follows:
  386.  
  387.               Full Registration (w/full support) ........ $35.00
  388.               Basic Registration (w/basic support) ...... $20.00
  389.  
  390.     Please make checks payable to Steven M.  Georgiades.  Note that you are
  391.     not  LEGALLY  obligated  to  register,  but if  you  use  the  software
  392.     regularly,  you are MORALLY obligated to do so.  Aside from easing your
  393.     conscience,  basic registration will also get you a diskette containing
  394.     the  latest  version  of the software (unless you  currently  have  the
  395.     latest version, in which case I will send you the next major revision),
  396.     and  basic  user  support,  which means that I will work  with  you  to
  397.     resolve problems,  and will do minor customization.   Full registration
  398.     will  get you everything that basic registration does,  plus full  user
  399.     support,   which includes telephone support and all major revisions  of
  400.     the  software  for  a  period  of two  (2)   years  from  the  date  of
  401.     registration.    When  you register,  please specify the  name  of  the
  402.     program,  and the version number.   Fully registered users will also be
  403.     eligible  to receive custom tune creation,  by sending me a copy of the
  404.     sheet music.  If you do not have the sheet music, send me the title and
  405.     composer, or any other information you have to identify the tune, and I
  406.     will do my best.
  407.          Source code for ALARM and it's subsidiary programs is available to
  408.     all  registered users for a fee of $75.00.   The source code for  ALARM
  409.     and  ATP  is Microsoft Macro Assembler,  Version 5.0,  and for ATC  and
  410.     DTCHK,  is Microsoft  C,   Version 4.0.  All source code is COPYRIGHTED
  411.     material  and  is NOT shareware,  and therefore may NOT  be  copied  or
  412.     distributed.
  413.          Note that no support will be given to unregistered users EXCEPT in
  414.     the  case of MAJOR bugs which prevent the user from using the  program.
  415.     I  will then do my best to resolve these problems so that the user  may
  416.     evaluate the software fully.
  417.     ALARM, Version 4.10                                              Page 9   
  418.  
  419.  
  420.  
  421.     IX. DISCLAIMER
  422.  
  423.          This program is provided AS IS without any warranty,  expressed or
  424.     implied,  including but  not limited to fitfulness for a particular use
  425.     or  purpose.   Neither the author nor SMG Software assume liability for
  426.     any damages incurred through the use of the program.
  427.          The ALARM, DTCHK, ATC and ATP programs are:
  428.  
  429.                       (C) Copyright 1988 Steven Georgiades
  430.  
  431.  
  432.  
  433.  
  434.     X. REPORTING PROBLEMS
  435.  
  436.          If you have any problem,  or feel you have found a bug in these or
  437.     any other SMG programs, please let me know.  I also welcome any and all
  438.     questions   and  comments.    Address  all  correspondence   (including
  439.     registrations) to the following address:
  440.  
  441.                 Steven Georgiades
  442.                 SMG Software
  443.                 701-H South Hayward Street
  444.                 Anaheim, CA  92804
  445.  
  446.     Or leave a message for me on the Circuit Board:
  447.  
  448.                 The Circuit Board RBBS
  449.                 SysOp: Dave Kleinschmidt
  450.                 (714) 778-0948
  451.                 1200/2400 Baud, No Fee
  452.  
  453.     All  SMG  Software  is  initially released to the  public  through  the
  454.     Circuit  Board.   The latest version of any SMG Software can always  be
  455.     found there.
  456.  
  457.     A diskette containing all of the latest SMG Software can be obtained by
  458.     sending a check or money order for $6.00  to the above address.    Make
  459.     all checks payable to Steven M. Georgiades.  Thank you.
  460.