home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / BUSI / ABC_121.ZIP / ABC.DOC < prev    next >
Text File  |  1992-04-05  |  11KB  |  254 lines

  1.                   Aladdin Billing Clock 1.21
  2.  
  3.                Copyright 1992 by Randy H. Smith
  4.  
  5.  
  6.      The decision by GEnie management to remove the billing
  7. clock from Aladdin 1.61 has been met with a great deal of
  8. dissatisfaction by the users of the program.  This loader is
  9. an attempt to restore the billing clock to the program, while
  10. adding a few enhancements to the original implementation.
  11.  
  12.      The Aladdin Billing Clock will place the familiar clock
  13. in the upper right hand corner of the screen.  To the left of
  14. the clock is shown the total amount of charges, ESTIMATED for
  15. the current session.  In the upper left corner is an indicator
  16. which lets you know if you are on during prime time, and, if
  17. not, whether you are in a Basic area or are in the middle of an
  18. upload.  To the right of that indicator is one which shows
  19. whether the connect time is surcharged.
  20.  
  21.         The current version of ABC has the following features:
  22.  
  23.            Turns off the billing for uploads and freeflags,
  24.            Matches the color of ABC output to the color of
  25.                 Aladdin's title strip,
  26.            Writes a log to disk, with connect time and amount
  27.                 totals,
  28.            Allows the selection of a 24-hour clock,
  29.            Adjusts for standard Canadian time charges,
  30.            Permits the input of ANY amounts for Prime, Value
  31.                 and Surcharged billing.
  32.  
  33. USAGE:
  34.  
  35.      To use the Aladdin Billing Clock, put ABC.EXE into the
  36. same directory as Aladdin.  The command line switches used
  37. by ABC are:
  38.  
  39.      /?      Displays a list of these switches
  40.  
  41.      /A      Calls ALAD.EXE, instead of ALADDIN.EXE, thus
  42.              avoiding the opening screen.
  43.  
  44.      /C      Adjusts the billing clock to Canadian rate usage.
  45.  
  46.      /D      Runs ABC as a separate program under DESQview.
  47.  
  48.      /H      Prevents prime time charges on weekday holidays.
  49.  
  50.      /M      Changes clock display to 24-hour format.
  51.  
  52.      /S      Adds charges for a surcharged line.
  53.  
  54.      /T      Allows the entry of any amounts for Prime, Value and
  55.                 Surcharge rates
  56.  
  57.      Prime time is computed at $18/hr, and time outside of
  58. basic during non-prime hours at $6/hr.  A surcharged line is
  59. computed at $2/hr.  Corresponding Canadian rates are $25, $8 and
  60. $2, respectively.  Other rates may be entered via the /T parameter.
  61.  
  62.      Unless the /D switch is selected, all other switches are
  63. passed on to Aladdin itself, which the Clock automatically
  64. executes.  Simply run ABC with the appropriate switches, and
  65. everything should work like it always did.
  66.  
  67.      When using the /D switch, no switches are passed on to
  68. Aladdin. Therefore, the parameters to be acted upon by Aladdin
  69. itself should be in the batch file called by DESQview or listed on
  70. the Change a Program screen.  All the other switches listed above
  71. are valid with the this parameter with the exception of the /A
  72. switch.  To skip the opening screen under DV, just enter ALAD.EXE
  73. in the Change A Program screen, instead of ALADDIN.EXE.  When
  74. the /D parameter is present, the last entry on the command
  75. line MUST be the name and path of the .DVP file used to start
  76. Aladdin.  Normally, this will be AL-PIF.DVP, in the main
  77. DESQview sub-directory. The first two letters are those used
  78. to start Aladdin from the DESQview menu.
  79.  
  80. Examples:
  81.  
  82.      ABC /A  will start Aladdin without showing the
  83. opening screen.
  84.  
  85.      ABC /C  will use Canadian rates for the billing total.
  86.  
  87.      ABC /S  will start Aladdin, adding a $2/hr. surcharge
  88. for the entire time of connection.
  89.  
  90.      ABC /H  will suppress the prime time detection for
  91. weekday holidays.
  92.  
  93.      ABC /M  will display time in the 24-hour, military format.
  94.  
  95.      ABC /T=XXXX,YYYY,ZZZZ will override the rates built into ABC
  96. and use XXXX as the prime rate, YYYY as the value rate, and ZZZZ
  97. as the surcharged rate.  These MUST be entered as the smallest
  98. currency type per hour.  For example, the standard U.S rates for
  99. GEnie connection would be entered as /T=1800,600,200. (Without
  100. the period)  It is, of course, not necessary to use this switch
  101. unless your rate is different from the default for the U.S or,
  102. with the /C parameter, Canada.
  103.  
  104.      ABC /A /S /H /C /M /T=2675,856,214 will do all the above.
  105. The order of the switches is not important.  Any other
  106. switches entered on the command line will be passed on to
  107. Aladdin and produce the expected results.  The /T parameter given
  108. above would produce the proper charges for Canadian users wishing
  109. to include the value added tax: $26.75, $8.56, and $2.14.
  110.  
  111.      ABC /D  C:\DV\AL-PIF.DVP will start ABC in one window,
  112. then load Aladdin in another, when running under DESQview.  In
  113. this example the DVP file for Aladdin is found on the C drive
  114. under the DV subdirectory and AL are the two letters used to
  115. start Aladdin from the DV Main Menu.
  116.  
  117.      ABC /D /H /S /M /T=3000,1000,500 D:\APPS\ALADDIN\ALADDIN.DVP
  118. will start ABC under DESQview, then start Aladdin according to
  119. the settings in the AD-PIF.DVP file, with normal prime time
  120. detection disabled, including a surcharge for the connect time,
  121. and displaying the time in military format.  It will also produce
  122. billing for a Prime rate of $30.00, a Value rate of $10.00, and a
  123. surcharged rate of $5.00.  Make sure that the last thing in any
  124. command line containing the /D switch is the DVP path/filename.
  125. In this example, the DVP file is not in the DV subdirectory at
  126. all, but is on the D drive under the APPS/ALADDIN/ subdirectory,
  127. under the name ALADDIN.DVP.
  128.  
  129.      If you are running Aladdin from a batch file, and don't want
  130. a separate window under DESQview, just replace the Aladdin call
  131. with one for ABC, keeping all the command line switches intact.
  132. The /CLOCK switch can be dropped, however, since ABC will take
  133. over that function.  For example, if your current batch file is:
  134.  
  135.         @echo off
  136.         cd \aladdin
  137.         aladdin /noems /clock /1 /mr
  138.  
  139.      Then change it to read:
  140.  
  141.         @echo off
  142.         cd \aladdin
  143.         abc /noems /1 /mr.
  144.  
  145.      You need the switches that are specifically for ABC only if
  146. you are logging on during a GEnie holiday, calling on a surcharged
  147. line, wish to skip the opening screen, want to cause ABC to
  148. load itself in a separate DV window, are charged at Canadian
  149. rates, want to see 24-hour time, or have a need for an unusual
  150. rating structure.
  151.  
  152.         ABC will automatically create, then write to, ABC.LOG.
  153. This file is written ONLY when you bring Aladdin down at the end
  154. of a session.  It is NOT updated everytime you log off.  ABC
  155. accumulates the charges, and records them after Aladdin leaves
  156. memory.  It includes the date and time Aladdin started, the time
  157. Aladdin shut down, the total connect time logged during the
  158. session and the charges accumulated during that period.  It also
  159. records the total connect time and charges for the file.  It
  160. might be a good idea if this file is renamed at the end of each
  161. month, allowing ABC to create a new, empty file.  This allows
  162. for easy tracking of each month's usage and charges.
  163.  
  164.         Please remember that these number are only estimates.
  165. The connect time is the total duration between ABC seeing the
  166. CONNECT string upon your connection with your local node and the
  167. OFF AT string when that connection is broken.  The billing clock
  168. is also dependent upon the strings that appear on the screen, and
  169. will probably not agree with your official billing charges kept
  170. by GEnie.
  171.  
  172. DETAILS:
  173.  
  174.      This program is compiled under Turbo Pascal, but the
  175. majority of the code, including the whole of the interrupt
  176. routine, is in assembler.  ABC uses less than 13K of memory.
  177.  
  178.      Prime time is determined by the clock on your computer.
  179. It does not depend upon characters sent by GEnie.  On the other
  180. hand, all other states of ABC are determined by the characters
  181. apperaring on the Aladdin screen, so line noise can cause a
  182. problem with these functions.
  183.  
  184.      The Aladdin Billing Clock is DESQview-aware, even without
  185. the /D parameter, and, unlike the clock built into Aladdin,
  186. doesn't bleed into other windows. The program assumes you are
  187. running Aladdin with the /dv switch, so that Aladdin writes to
  188. the screen through the alternate video area.  ABC asks DESQview
  189. where this area is, and reads from and writes to it directly.
  190. This coding will cause a problem if Aladdin is running under
  191. DESQview, but is being allowed to write directly to the real
  192. video buffer.  If you are allowing Aladdin to do this, ABC
  193. will not be able to find your screen and will not function.
  194.  
  195.         Running with the /D switch, the process is identical, but
  196. ABC is running in its own 13K DV window, instead of as an
  197. interrupt-driven loader.  This allows for much smoother operation,
  198. at least on my '286.  Using the .DVP file provided will allow the
  199. program to start up in the background.
  200.  
  201.         The program also automatically detects a monochrome
  202. system, a screen length of more than 25 rows, and the colors
  203. necessary to match the top strip of the screen.
  204.  
  205.         If you download to a floppy disk, you will probably see
  206. the clock become erratic.  This is caused by the floppy hoging
  207. DOS while writing, since ABC checks DOS to see if the coast is
  208. clear before calling the time-of-day interrupt.  If DOS is
  209. busy more than eighteen times in a row, you might even see
  210. the clock miss a whole second.  Downloading to the hard disk
  211. doesn't seem to cause the same problem, since the writing is
  212. handled more efficiently.
  213.  
  214.  
  215. LEGALESE:
  216.  
  217.      I am not responsible for any damages resulting from the
  218. use of the Aladdin Billing Clock.  Use this program at your
  219. own risk.  If it turns your hard drive into mush, don't blame
  220. me!
  221.  
  222.      The amounts calculated by this program are ESTIMATES,
  223. and are sanctioned by neither the management nor staff of
  224. GEnie.  It is not completely accurate. The amount is only a
  225. guideline.
  226.  
  227.      This program is free to anyone who wishes to use it, but
  228. is NOT public domain.  I retain all rights to the code and do
  229. not wish anyone to distribute it for any consideration other
  230. than the normal download fees charged by GEnie.  You are welcome,
  231. even encouraged, to pass this program on to anyone with a use for
  232. it, or to post it to a BBS.  Just don't sell it.
  233.  
  234.      I will not turn down a gift of time, but neither do I
  235. expect it.  I just hope this program will fill the void left
  236. by the removal of the billing clock from the Aladdin program.
  237.  
  238.      I may be reached by E-mail at R.SMITH228, and have started
  239. a topic on the Aladdin RoundTable in Catagory 12, Topic 12.
  240. Please let me hear from you if you use the program and have
  241. constructive suggestions.
  242.  
  243.         Thanks to all the Aladdin users who gave me so much
  244. positive feedback and so many good suggestions after I uploaded
  245. ABC 1.0 and 1.1.  I said last week that I would not upload a new
  246. ABC every week, and here I am doing just that.  But I think that
  247. I've now added all the bells and whistles needed, since ABC is
  248. getting entirely too large for a good TSR. <G>  I plan to just
  249. swat bugs from now on.  Unless someone comes up with another idea
  250. that I just can't resist adding to the code.
  251.  
  252.         Now we can all just sit back and wait for Juan to finish
  253. PC Aladdin 2.0 and make ABC obsolete. <G>
  254.