home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 080.lha / RSLClock.doc < prev    next >
Text File  |  1986-11-20  |  11KB  |  174 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.         BLACKDROP (this will darken the topmost screen to black without using
  13.                 extra memory inorder to create a  new "backdrop" black
  14.                 screen. It can be toggled in/out by double clicking
  15.                 the menu button when the window is activated - use it
  16.                 to hide the current screen)
  17.         DIMMER (this will create a "dimmed" screen instead of a completely black
  18.                 screen - it works the same as the BLACK command)
  19.         NOPOPUP (this disables the feature to "pop" the clock window to front of
  20.                 workbench screen at the beginning of every minute. "HyperPopUp"
  21.                 must be manually enabled!)
  22.         SPLITUP (this will split up the memory display into free chip and
  23.                 fast memory, separately)     
  24.         FULLWIDTH (this will enlarge RSLClock's window to full width of the
  25.                 screen - this is to prevent "screen tearing" during text scrolls)
  26.         COLOR [B],[D] (this sets the colors of the window pen - first number
  27.                 can be 0-3, and background pen - second number can be 0-3.
  28.                 Any other numbers will give you the default colors)
  29.         POSITION [X],[Y] (this sets the left top edge of the window if the
  30.                 given width allows it, should you be utilizing WB 1.2 in
  31.                 400 line Workbench mode use an asterisk * and a space before
  32.                 the position commands in order for the program to recognize more
  33.                 than 200 lines per screen) 
  34.         HI_PRIORITY (this will boost RSLClock's priority from a default of 0 to
  35.                 it's old priority of 20 (the one I always use without problems)
  36.         MOUSEOFF (a nice feature that will make the pointer disappear if not used
  37.                 for approximately 10-15 seconds)
  38.         TINY (this shrinks the display window to its minimum dimensions)
  39.  
  40.         [disk drive] (i.e. DF1: this will indicate the number of free Kbytes
  41.                 on indicated disk drive, re-evaluated once every minute!)
  42.         [# Kbytes before emergency shutdown] (i.e. 25 this will shut down
  43.                 this utility and reclaim the memory if your system's free
  44.                 memory falls below this point, default is 10 Kbytes!)
  45.         "{[command line]}" (this will automatically run a program when the
  46.                 command is highlighted using the "Automatic Run Command"
  47.                 menu is selected i.e. {RUN STARTERM} will startup Starterm
  48.                 if it is available!  Caution: this default setting MUST be
  49.                 the last arguments, and MUST be enclosed in "curly brackets"!)
  50.          ? (this will display syntax)
  51.  
  52.         Note single letters are the same as typing the entire command!  
  53.         As an example RUN RSLClock b s DF1: p 120,45  will run the program
  54. with a blackdrop screen, split memory into it's chip and fast components,
  55. display info on DF1: and displace the window to the given coordinates!
  56. *****************************************************************************
  57. New In Version 1.1:
  58.      This new update includes a menu which allows you to change all of the
  59. available options of RSLClockPlus, after it is running.  An additional
  60. feature available via the Menu is the ability to summon an emergency CLI
  61. which runs completely independent of all other tasks.  Since RSLClockPlus
  62. always pops up in front of all other Workbench windows, this may be helpful
  63. when there isn't any other way to get into a CLI.  I found PopCLI redundant
  64. with this feature available, but be cautious since this feature, like
  65. EXECUTE, takes 40 odd bytes from your memory and won't give it back without
  66. a warmboot!  A very small price to pay!.  Also, if the backdrop screen is
  67. enabled and the RSLClockPlus window is activated, simply double clicking the
  68. right menu button twice will toggle you in and out of the backdrop screen!
  69.  
  70. *****************************************************************************
  71.  
  72. *****************************************************************************
  73. New in Version 1.2:
  74.      I have found out that there in fact is ONLY 448 bytes per block on the
  75. disk drive!  the remaining 24 bytes are used by AmigaDOS as its overhead.
  76. I have decided that in a rebellious mood I will display what space is really
  77. available to you, the user instead of the "Public Relations" space available
  78. indicated via the INFO command.  Truth is more important than having my program
  79. agree with INFO's inaccurate value!  So back to a 5% discrepancy with INFO's
  80. value!
  81.      COLOR, and POSITION commands have been included in this version.  I happen
  82. to prefer the default values (of course I do, I wrote them into it as defaults),
  83. but if you people want to customize it you own liking, GO AHEAD! Of course,
  84. the menu allows you to change colors "on the run".
  85.      In previous versions only 3 significant digits were displayed for 
  86. Kbytes free on peripheral storage devices.  This is fine for floppies, but
  87. not for hard disks.  In this version hard disks will be displayed with 5
  88. significant numbers (if you have MORE than 99999K Bytes free, you shouldn't
  89. be caring about your available free memory)!
  90.       Another small feature added in this version update, is that once the
  91. backdrop is enabled and brought to the front by double clicking the right
  92. menu mouse button, simply hitting any key on the keyboard will bring back
  93. the previously active screen and activate the last window used!
  94. ****************************************************************************
  95.  
  96. ****************************************************************************
  97. New in Version 1.3:
  98.      The "PopUp" feature has been modified - it has an added "Hyper"
  99. feature.  Use it with caution - it is able to PopUp onto any medium 
  100. and high resolution screen that is currently in front, but don't close
  101. screens while RSLClock is on that screen, otherwise your Amiga may or
  102. may not go BYE-BYE!  I tried to have it popup on lo-res, but the menus 
  103. get all screwed up.
  104.      An additional device has been added to the menu choice.  It is called
  105. VD0: for virtual device.  This is the device used in ASDG's recoverable
  106. RamDisk device (no, I don't own one yet, but I can hope, can't I?).  If
  107. you wish to, you may do an "assign VD0: ..." to poll any other device that
  108. you wish.
  109.      The window can now be shrunk to a smaller size if needed, either by
  110. using the TINY command on startup or by selecting this feature on the
  111. menu.
  112.      The window color selection sub-menu has been made more "aesthetically
  113. pleasing".
  114.      An automatic command line execute function has been added.  If typed
  115. at the end of the command which runs RSLClock (and enclosed in quotations),
  116. by selecting the Copyright notice submenu you can summon any program into
  117. being! For example, my startup sequence is Run RSLClock "Run WTP" - this way
  118. I can run WTP (a PD terminal program) without dealing with my CLI!
  119. ****************************************************************************
  120.  
  121. ****************************************************************************
  122. New In Version 1.4:
  123.      Version 1.3 utilized linked IntuiTexts inorder to get the highlighted
  124. effect.  At a priority of 20 it took up too much CPU time and slowed down
  125. too many simultaneous tasks.  This lead to a "hacked" version of RSLClock
  126. with a lower priority.  In ver. 1.4 the default priority is 0 with the option
  127. to bring it up at its previous priority of 20.  Since the highlight feature
  128. has been removed the whole program runs fast enough to be used at the high
  129. priority without any noticeable CPU slow down.
  130.      The backdrop screen now no longer creates a new screen, at the price of
  131. more memory.  It just blacks out the top most screen.  Also an option exists
  132. to simply dim the screen without totally blacking it out.
  133.      A full length feature was added for those people that were disturbed by
  134. the tearing effect when a screen's text scrolled while another window existed,
  135. and was visible.  This feature will cause RSLClock's window to be the total
  136. length of the screen and will not cause this visual effect.
  137.      Mouseoff is a nice feature that I saw as a separate PD program, and thought
  138. about how easy it would be to incorporate that feature in RSLClock.  In a sentence,
  139. it will make your mouse pointer disappear if you don't use it for 10 to 15
  140. seconds, and makes it visible the second that you start to use your mouse!
  141. I use it all the time (but then, I don't use WorkBench)!
  142.      The Automatic Run Command was given its own visible submenu and is generated
  143. using curly brackets "{}" as delimiters, instead of quotation marks.
  144. ********************************************************************************
  145.   
  146.        
  147.      I know that there already is an abundance of "clock" programs, but this 
  148. is optimized for my own needs.  I hope that others find it useful!
  149.      I would like to thank Addison-Wesley, without whose ROM Kernal books,
  150. I would still be using my C compiler to compile "Hello there!" type programs.  
  151.      Please feel free to use this utility and distribute it freely.
  152.      Given all the suggestions for additional features, I hope that this 
  153. program hasn't grown TOO BIG for a utility.  I am presently considering adding
  154. an additional BACKSCRATCH option, using the chinese backscratch feature that
  155. was never a well documented feature in the Amiga A1000 hardware specs, it will
  156. scratch the user's back at a pre-selected interval!
  157.      Feel free to comment, suggest, compliment, and disparage, as you wish!
  158.      Happy Hacking!
  159.                                                    -RSL-
  160. AMuse BBS (212)269-4879: Roy S. Laufer
  161. CIS:  72435,1025
  162. Delpi: RSLaufer
  163.  
  164.  
  165. P.S. STILL LEFT TO BE DONE:
  166.      I would like to TOTALLY blank the screen, i.e disable the video DMA, but
  167. have yet to discover a "safe" way to do it!
  168.      I would also like to incorporate a timer for automatic "black-out" of
  169. the screen (ala PopCLI), but I will have to wait for an update of Aztec
  170. so that I can use assembler to do it right.  I've tried the 'C' source by
  171. Perry K. in his "ScreenSaver", but find its accuracy erratic (to be kind)!
  172.      If anyone has any suggestions, or 'C' source fragments feel free to 
  173. send them to me!
  174.