home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 019.lha / RSLClock.doc < prev    next >
Text File  |  1986-11-10  |  11KB  |  187 lines

  1.     RSLClock is a superficially simple little utility that "runs" 
  2. unobtrusively at the end of the screen title bar.  The "close" gadget 
  3. and "window to front/back" gadgets are there, but they are hidden from view! 
  4. There it sits, indicating both the currently free memory, the time, and once 
  5. a minute, the date. It also "pops up" to the front of the Workbench screen, 
  6. once every minute. If you would like military time you can run the program 
  7. with "Run RSLClock long" it will then read out 12 hour time in AM/PM type 
  8. (hours & minutes), otherwise the default setting is Hours:minutes in 12 hour 
  9. style.
  10.      SYNTAX:
  11.         LONG (this will toggle military 24 hour time with HH:MM:SS style)        
  12.         BACK (this will create a "backdrop" black screen that can be toggled
  13.                 in/out by using left-Amiga N/M keys or by double clicking
  14.                 the menu button when the window is activated - use it
  15.                 to hide the current screen)
  16.         NOPOPUP (this disables the feature to "pop" the clock window to front of
  17.                 workbench screen at the beginning of every minute)
  18.         SPLITUP (this will split up the memory display into free chip and
  19.                 fast memory, separately)     
  20.         COLOR [B],[D] (this sets the colors of the window pen - first number
  21.                 can be 0-3, and background pen - second number can be 0-3.
  22.                 Any other numbers will give you the default colors)
  23.         POSITION [X],[Y] (this sets the left top edge of the window if the
  24.                 given width allows it, should you be utilizing WB 1.2 in
  25.                 400 line Workbench mode use an asterisk * and a space before
  26.                 the position commands in order for the program to recognize more
  27.                 than 200 lines per screen) 
  28.         TINY (this shrinks the display window to its minimum dimensions)
  29.         HIGHLIGHT [D] (this enables highlighting of the "Time:" type labels
  30.                 in the display window, by using 'I' instead of a number the
  31.                 labels will be made invisible)
  32.         [disk drive] (i.e. DF1: this will indicate the number of free Kbytes
  33.                 on indicated disk drive, re-evaluated once every minute!)
  34.         [# Kbytes before emergency shutdown] (i.e. 25 this will shut down
  35.                 this utility and reclaim the memory if your system's free
  36.                 memory falls below this point, default is 10 Kbytes!)
  37.         "[command line]" (this will automatically run a program when the
  38.                 copyright notice submenu is selected (the notice that says:
  39.                 ***RSLClockPlus by Roy S. Laufer, ***) i.e. "RUN STARTERM"
  40.                 will startup Starterm if it is available!  Caution: this
  41.                 default setting MUST be the last arguments, and MUST be
  42.                 enclosed in quotations!)
  43.          FULLWIDTH (this will enable a window the full width of the screen)
  44.          ? (this will display syntax)
  45.  
  46.         Note single letters are the same as typing the entire command!  
  47.         As an example RUN RSLClock b s DF1: p 120,45  will run the program
  48. with a backdrop screen, split memory into it's chip and fast components,
  49. display info on DF1: and displace the window to the given coordinates!
  50. *****************************************************************************
  51. New In Version 1.1:
  52.      This new update includes a menu which allows you to change all of the
  53. available options of RSLClockPlus, after it is running.  An additional
  54. feature available via the Menu is the ability to summon an emergency CLI
  55. which runs completely independent of all other tasks.  Since RSLClockPlus
  56. always pops up in front of all other Workbench windows, this may be helpful
  57. when there isn't any other way to get into a CLI.  I found PopCLI redundant
  58. with this feature available, but be cautious since this feature, like
  59. EXECUTE, takes 40 odd bytes from your memory and won't give it back without
  60. a warmboot!  A very small price to pay!.  Also, if the backdrop screen is
  61. enabled and the RSLClockPlus window is activated, simply double clicking the
  62. right menu button twice will toggle you in and out of the backdrop screen!
  63.       In addition to the new features, the older features have been
  64. "polished" up a bit!  Although the program is a bit larger than 1.0, I think
  65. that it is worth it.  To the best of my knowledge it runs on both 1.1 and
  66. 1.2 (beta 4).  Please tell me if there are any problems running it under any
  67. of the available versions of KS!
  68. *****************************************************************************
  69.      
  70. *****************************************************************************
  71. New in Version 1.11:
  72.      There is an unfortunate flaw in the ctime() function which came with
  73. my Aztec compiler, which I had to build a "fix" for.  Now the date will
  74. not be displayed as "Nov 0" when in fact it is "Oct 31"!
  75.      Another problem fixed in Ver 1.11 is due to the fact that the device
  76. driver for the floppy drives think that there are only 488 bytes per block,
  77. instead of 512, which is the way that INFO calculates it!  Since everyone
  78. believes INFO, I have adjusted this "anomaly" so that the free bytes of the
  79. disk drive will be the same as displayed using the INFO command!
  80. ****************************************************************************
  81.  
  82. ****************************************************************************
  83. New in Version 1.2:
  84.      I have found out that there in fact is ONLY 448 bytes per block on the
  85. disk drive!  the remaining 24 bytes are used by AmigaDOS as its overhead.
  86. I have decided that in a rebellious mood I will display what space is really
  87. available to you, the user instead of the "Public Relations" space available
  88. indicated via the INFO command.  Truth is more important than having my program
  89. agree with INFO's inaccurate value!  So back to a 5% discrepancy with INFO's
  90. value!
  91.      COLOR, and POSITION commands have been included in this version.  I happen
  92. to prefer the default values (of course I do, I wrote them into it as defaults),
  93. but if you people want to customize it you own liking, GO AHEAD! Of course,
  94. the menu allows you to change colors "on the run".
  95.      In previous versions only 3 significant digits were displayed for 
  96. Kbytes free on peripheral storage devices.  This is fine for floppies, but
  97. not for hard disks.  In this version hard disks will be displayed with 5
  98. significant numbers (if you have MORE than 99999K Bytes free, you shouldn't
  99. be caring about your available free memory)!
  100.       Another small feature added in this version update, is that once the
  101. backdrop is enabled and brought to the front by double clicking the right
  102. menu mouse button, simply hitting any key on the keyboard will bring back
  103. the previously active screen and activate the last window used!
  104. ****************************************************************************
  105.  
  106. ****************************************************************************
  107. New in Version 1.3:
  108.      The "PopUp" feature has been modified - it has an added "Hyper"
  109. feature.  Use it with caution - it is able to PopUp onto any medium 
  110. and high resolution screen that is currently in front, but don't close
  111. screens while RSLClock is on that screen, otherwise your Amiga may or
  112. may not go BYE-BYE!  I tried to have it popup on lo-res, but the menus 
  113. get all screwed up.
  114.      An additional device has been added to the menu choice.  It is called
  115. VD0: for virtual device.  This is the device used in ASDG's recoverable
  116. RamDisk device (no, I don't own one yet, but I can hope, can't I?).  If
  117. you wish to, you may do an "assign VD0: ..." to poll any other device that
  118. you wish.
  119.      The window can now be shrunk to a smaller size if needed, either by
  120. using the TINY command on startup or by selecting this feature on the
  121. menu.
  122.      A new highlight feature has been added to give a two tone option on the
  123. display.  You can even choose to have the "Time:" labels invisible!
  124.      The window color selection sub-menu has been made more "aesthetically
  125. pleasing".
  126.      An automatic command line execute function has been added.  If typed
  127. at the end of the command which runs RSLClock (and enclosed in quotations),
  128. by selecting the Copyright notice submenu you can summon any program into
  129. being! For example, my startup sequence is Run RSLClock "Run WTP" - this way
  130. I can run WTP (a PD terminal program) without dealing with my CLI!
  131. ****************************************************************************
  132.  
  133. ****************************************************************************
  134. New in Version 1.31:
  135.      The only new feature in this revision is an option to enable a full
  136. width window to minimize the screen splitting during scrolling, at the
  137. cost of hiding more of the window behind RSLClock's window.
  138. ****************************************************************************
  139.  
  140. ***************************************************************************
  141. New in Version 1.32:
  142.       Unfortunately some new features added to 1.3X have slowed down the
  143. overall performance of the CPU.  As a temporary fix, pending either
  144. optimization of the given features or elimination of them, I have lowered the
  145. task priority of RSLClock from its previous one of 20 to -1.  Other than 
  146. some sluggishness in the seconds count during intensive CPU usage there
  147. *shouldn't* be any problems.
  148.        I have acted on another suggestion of moving the Time: title inorder
  149. to improve the readability of the display.
  150. ****************************************************************************
  151.  
  152. ****************************************************************************
  153. Version "S":
  154.      Some people really seem to like to see the seconds ticking by, so I have
  155. made a very slightly modified version, noted with a "S" at the end of the
  156. version which has this feature on both 24 military and 12 hour standard
  157. styles.
  158. ****************************************************************************
  159.        
  160.      I know that there already is an abundance of "clock" programs, but this 
  161. is optimized for my own needs.  I hope that others find it useful!
  162.      I would like to thank Addison-Wesley, without whose ROM Kernal books,
  163. I would still be using my C compiler to compile "Hello there!" type programs.  
  164.      Please feel free to use this utility and distribute it freely.
  165.      Given all the suggestions for additional features, I hope that this 
  166. program hasn't grown TOO BIG for a utility.  I am presently considering adding
  167. an additional BACKSCRATCH option, using the chinese backscratch feature that
  168. was never a well documented feature in the Amiga A1000 hardware specs, it will
  169. scratch the user's back at a pre-selected interval!
  170.      Feel free to comment, suggest, compliment, and disparage, as you wish!
  171.      Happy Hacking!
  172.                                                    -RSL-
  173. AMuse BBS (212)269-4879: Roy S. Laufer
  174. CIS:  72435,1025
  175. Delpi: RSLaufer
  176.  
  177.  
  178. P.S. STILL LEFT TO BE DONE:
  179.      I would like to TOTALLY blank the screen, i.e disable the video DMA, but
  180. have yet to discover a "safe" way to do it!
  181.      I would also like to incorporate a timer for automatic "black-out" of
  182. the screen (ala PopCLI), but I will have to wait for an update of Aztec
  183. so that I can use an assembler to do it right.  I've tried the 'C' source by
  184. Perry K. in his "ScreenSaver", but find its accuracy erratic (to be kind)!
  185.      If anyone has any suggestions, or 'C' source fragments feel free to
  186. send them via any of the above BBS's! 
  187.