home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / assort.zip / SIL21.DOC < prev   
Text File  |  1988-03-16  |  15KB  |  594 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                           Silence
  19.  
  20.                         Version 2.1
  21.                Copyright 1988 by Carl Burtner
  22.  
  23.               This Program Is User Supported.
  24.     Users are encouraged to make as many copies as they
  25.     like and to distribute them to whomever they choose.
  26.  
  27.  
  28.      Under No Circumstances Is This Program To Be Sold.
  29.  
  30.  
  31.    If you have problems, questions, suggestions, or wish
  32.          to contribute to the programs development
  33.                ($10 contribution recommended)
  34.                      please contact me.
  35.  
  36.                         Carl Burtner
  37.                       435 Brandon Road
  38.                   Rochester, N.Y.   14622
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. Silence                                          Version 2.1
  72.  
  73.  
  74. Silence is dedicated to keeping your PC quiet.  Most program
  75. sounds will be eliminated entirely or reduced to a series of
  76. clicks.  Some sound effects which use short duration tones
  77. or turn the PC's interrupts off may not be silenced.
  78.  
  79.  
  80.                        Compatibility
  81.  
  82. Silence should be compatible with most programs and IBM-PC
  83. compatible computers.  Silence 2.1 has some advanced options
  84. which can enhance its ability to silence some previously
  85. unsilencable sounds.  These options may not be compatible
  86. with all programs.  Incompatibility generally makes itself
  87. evident by greatly slowing down the program.  When in doubt,
  88. Silences default settings have never been observed to cause
  89. problems.
  90.  
  91.  
  92.                       Display Adapters
  93.  
  94. To speed things up, Silence 2.1 uses direct writes to the
  95. screen buffer for displaying the function access screen and
  96. the copywrite notice.  To do this, Silence does its best to
  97. determine the type of display adapter installed.  It is
  98. possible that a non-standard adapter could fool Silence into
  99. making a wrong assumption.  If this happens the display will
  100. most likely remain blank.  To force Silence to ignore its
  101. determination and use either the color or mono display
  102. adapter enter the command "Sil21 c" for the color adapter or
  103. "Sil21 m" for the mono adapter.
  104.  
  105.  
  106.                         Installation
  107.  
  108. Silence is a resident program.  Once installed, Silence
  109. remains in the computers memory until it is turned off or
  110. rebooted.  To install Silence just type the name of the
  111. program (Sil21) and hit the return key.  Silence will
  112. initialize and display a function access screen which allows
  113. the setting of several options.  If you don't wish to change
  114. any options either hit the escape key once or hit the return
  115. key several times to tab to the end of the screen.  If you
  116. wish you can install Silence without being presented with
  117. the function access screen.  To do this enter "Sil21 d" (the
  118. d stands for default) without the quotes.
  119.  
  120. Silence's options may be changed at any time either by
  121. entering one of the commands described below or by entering
  122. Sil21 to use the function access screen.  However, because
  123. Silence is a resident program it is possible that another
  124. resident program installed after Silence may make it
  125. impossible to change Silence's settings.  If this should
  126. happen Silence will inform you.  To correct the problem try
  127.  
  128.  
  129.                              -1-
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. Silence                                          Version 2.1
  138.  
  139.  
  140. rebooting and installing Silence after any other resident
  141. program being used.
  142.  
  143.  
  144.                           Commands
  145.  
  146. Silence 2.1 supports the same commands as Silence 1.0.
  147. These are:
  148.  
  149.  
  150. Sil21 on     - Turns Silence on.  Program sounds will no
  151.                longer be heard.  Error messages are returned
  152.                if Silence has not been installed or if
  153.                changing the setting is not possible.
  154.  
  155.  
  156. Sil21 off    - Turns Silence off.  Program sounds will now
  157.                be heard.  Error messages are returned if
  158.                SILENCE has not been installed or if changing
  159.                the setting is not possible.
  160.  
  161. In addition, Silence 2.1 adds the following commands:
  162.  
  163. Sil21 npr   - Installs Silence without displaying the
  164.                function access screen, the copyright
  165.                message, or any error messages.
  166.  
  167. Sil21 d     - Installs Silence without displaying the
  168.                function access screen.
  169.  
  170.  
  171. Sil21 c     - Installs Silence and/or displays the function
  172.                access screen assuming that the color display
  173.                adapter is installed
  174.  
  175.  
  176. Sil21 m     - Installs Silence and/or displays the function
  177.                access screen assuming that the monochrome
  178.                display adapter is installed.
  179.  
  180.  
  181. Only one command may be entered at a time.
  182.  
  183.  
  184.                     Theory of Operation
  185.  
  186. System Clock
  187.  
  188. The IBM PC has a system clock that "ticks" 18.2 times a
  189. second.  Every time the clock ticks an interrupt is
  190. generated.  The interrupt causes the computer to stop
  191. whatever it is doing and execute a short program stored at a
  192. previously defined location in memory.  The normal program
  193.  
  194.  
  195.                              -2-
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. Silence                                          Version 2.1
  204.  
  205.  
  206. called at every clock tick updates the time of day and turns
  207. off disk drive motors that have run too long.  After
  208. completing its task, the interrupt routine returns the
  209. computer to doing exactly what it was doing before the
  210. interrupt.
  211.  
  212. Sound Generation
  213.  
  214. Sound in the IBM PC is generated by a timer.  The timer is
  215. loaded by a program with the desired frequency (pitch) and
  216. begins to run.  The timers output tone goes to a gate
  217. controlled by the computer.  The gate is connected to the
  218. speaker and allows the tone supplied by the timer to be
  219. turned on and off.
  220.  
  221. Silence
  222.  
  223. Silence operates by taking over the interrupt generated by
  224. the system clock.  Every time the clock ticks, Silence is
  225. called instead of the normal time of day routine.  Once
  226. called, Silence turns off the gate to the speaker and sets
  227. up the timer so that it produces a click instead of a tone.
  228. After this, Silence passes control to the normal clock tick
  229. routine so that the time of day and disk drives will operate
  230. normally.  In this way, when a program produces a tone, the
  231. tone will be turned off after 1/18.2 of a second and the
  232. timer will only produce a click.  It is possible for a
  233. program to set the computer to ignore the system clock tick.
  234. When a program does this, Silence is temporarily disabled
  235. and cannot turn off the sound.
  236.  
  237. This has been a short summary of Silence's basic operation.
  238. Silence's advanced options such as Burst Delay and
  239. Acceleration alter certain aspects of the way Silence works
  240. to provide the user with greater silencing power.  These
  241. options are described more fully below.
  242.  
  243.  
  244.                           Options
  245.  
  246. There are several options that may only be changed by using
  247. the function access screen.  To display these options enter
  248. Sil21 (or "Sil21 c" or "Sil21 m" if your adapter is
  249. non-standard).  The function access screen will be displayed
  250. along with the current settings of the options.  To change
  251. the settings use the return key to tab to the desired
  252. option, select a setting from the menu, and hit the return
  253. key.  If you make a mistake, the backspace key can be used
  254. to correct it.  To exit from the function access screen
  255. either hit the return key to tab to the end of the screen or
  256. hit the escape key to exit immediately.  If you select a
  257. setting from the menu and hit the escape key instead of the
  258. return key your selection will be ignored, the function
  259.  
  260.  
  261.                              -3-
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. Silence                                          Version 2.1
  270.  
  271.  
  272. access screen will be exited, and the setting of the option
  273. will not be changed.
  274.  
  275. The available options are as follows:
  276.  
  277. Silence         1. On        2. Off
  278.  
  279. Timer Mode      1. Program Controlled     2. Beep    3. Click
  280.  
  281. Speaker Enable  1. Program Controlled     2. Silence Controlled
  282.  
  283. Burst Delay     1. Off       2. 1  Sec.   3. 2  Sec.
  284.                 4. 5 Sec.    5. 10 Sec.   6. 15 Sec.
  285.  
  286. Acceleration    1. 1X (off)  2. 5X        3. 10X
  287.                 4. 50X       5. 100X      6. 255X
  288.  
  289. Blink           1. On        2. Off
  290.  
  291.  
  292. Silence
  293.  
  294. Silence On and Off perform as described in the command
  295. section.
  296.  
  297. Timer Mode
  298.  
  299. Timer Mode controls the mode Silence uses at every clock
  300. tick to reset the timer that produces the tones.  The
  301. default is to reset the timer to produce clicks.  If you
  302. change the setting to Beeps with the Speaker Enable under
  303. control of Silence, short beeps will be produced instead of
  304. clicks.  If you set the Timer Mode for Program Control,
  305. Silence will not alter the mode of the timer.
  306.  
  307. Speaker Enable
  308.  
  309. Speaker Enable allows the speaker to be under control of
  310. Silence or the users program.  Under Silence's control the
  311. speaker will be turned off at every system clock tick.  If
  312. option 1 is selected Silence will leave the speaker alone.
  313.  
  314. Setting the Timer Mode and Speaker Enable to Program
  315. Controlled with the Burst Delay, Acceleration, and Blink off
  316. is the same as turning Silence Off.
  317.  
  318. Burst Delay
  319.  
  320. Burst Delay is an advanced option that is useful in certain
  321. situations.  Not all programs work normally with the Burst
  322. Delay option activated.  Burst Delay waits the selected
  323. amount of time before passing along any system clock ticks
  324. to other interrupts.  When the Burst Delay period expires
  325.  
  326.  
  327.                              -4-
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. Silence                                          Version 2.1
  336.  
  337.  
  338. the clock ticks which occurred during the delay are passed
  339. along all at once.  If a game program is using the system
  340. clock to generate continuous melodies the Burst Delay option
  341. will cause the program to emit a long pause followed by an
  342. unrecognizably short burst of sound consisting of all the
  343. tones that would normally have occurred during the pause.
  344.  
  345. Acceleration
  346.  
  347. Acceleration controls the speed of the system clock.
  348. Normally, the system clock produces about 18.2 clock ticks
  349. every second.  The Acceleration option allows you to change
  350. the number of clock ticks produced per second from 18.2 to
  351. over 4,000.  Because Silence turns off the speaker at every
  352. clock, there are instances where turning the speaker off up
  353. to 4,000 times a second can be much more effective than
  354. turning it off 18.2 times a second.  Acceleration is not
  355. compatible or effective with all programs.  If a program
  356. takes over the system clock (most do not), the accelerated
  357. clock may cause erratic behavior or lock up.  If a program
  358. turns off the interrupts while producing sound, Acceleration
  359. will have no effect.  It is recommended that Acceleration
  360. only be used when necessary.  Do not routinely set
  361. Acceleration to 255X every time Silence is initialized or
  362. you will not be pleased with the results (sooner or later
  363. you will run an incomatible program and the system will lock
  364. up).  Use Acceleration only with those programs with which
  365. it is effective and compatible.
  366.  
  367. Using Burst Delay and Acceleration
  368.  
  369. The Burst Delay and Acceleration options are not designed to
  370. be used with all programs or at all times.  These options
  371. are provided to give you, the user, more powerful tools for
  372. silencing toublesome programs.  The best course to follow is
  373. to experiment to find the most effective and compatible
  374. settings for each program.  Don't be surprised if some
  375. programs behave erratically or even lock up with some Burst
  376. Delay and Acceleration combinations.  On the other hand,
  377. these options can be great fun (especially with on screen
  378. clocks), so don't be afraid to experiment.  If you have any
  379. questions or serious problems, please contact me.
  380.  
  381. Blink
  382.  
  383. Blink, when activated, puts a small square in the upper left
  384. corner of the screen and turns it on and off once a second.
  385. Blink is a continuous visual reminder of the status of
  386. Silence.  If Silence is turned off, or if a program takes
  387. over Silence's interrupt, the box will no longer blink.  In
  388. graphics modes Blink's box will appear as a short flashing
  389. line.  If you have a color monitor and adapter, Blink causes
  390.  
  391.  
  392.  
  393.                              -5-
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. Silence                                          Version 2.1
  402.  
  403.  
  404. a very small amount of "hash" to appear on the screen.  If
  405. you find this to be extremely offensive, let me know.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.                              -6-
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467. Silence                                          Version 2.1
  468.  
  469.  
  470.                   User Supported Software
  471.  
  472.  
  473. For those who have never been exposed, User Supported
  474. Software is a distribution concept begun by Andrew
  475. Fluegelman with PC-Talk.  It is based on the assumption that
  476. if a user gets a chance to try a program and likes it, he or
  477. she will voluntarily contribute to the support of the
  478. program.  Users are usually encouraged to copy and
  479. distribute User Supported programs freely.
  480.  
  481. Silence is being distributed as User Supported Software.  If
  482. you're using Silence, like it, and you want to contribute to
  483. its further improvement, please send $10.00 to:
  484.  
  485.  
  486.                     Carl Burtner
  487.                     435 Brandon Road
  488.                     Rochester, NY    14622
  489.  
  490.  
  491. Contributors to the program will be informed by mail of the
  492. availability of the next revision.  Your voice makes a
  493. difference!  Major revisions will probably not be undertaken
  494. without positive user response.
  495.  
  496. You are encouraged to make as many copies of Silence as you
  497. like and to distribute unmodified copies of the program and
  498. documentation to whomever you choose.
  499.  
  500. If you have questions, suggestions, or problems with
  501. Silence, please feel free to contact me.
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                              -7-
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533. Silence                                          Version 2.1
  534.  
  535.  
  536.                      In Case Of Trouble
  537.         (a statement of sympathy for the disturbed)
  538.  
  539.  
  540. Silence has been tested for compatibility with as many
  541. different computers and software packages as possible.
  542. However, not every PC-compatible computer could be tested
  543. with every available software package.  Also, no matter how
  544. much testing is done, no program is totally bug free.  You
  545. use this program at your own risk.  If you lose data or blow
  546. your system it's your lose, even if Silence is at fault.  I
  547. assume no responsibility other than the courtesy of a
  548. sympathetic ear.  Silence attempts to outguess the way most
  549. programs generate sounds and gives you some powerful,
  550. perhaps deadly, tools to fight with.  With any resident
  551. program of this type it is impossible to guarantee
  552. compatibility with all other programs.  Silence works with
  553. most programs and is totally incompatible with others.
  554. That's the most you can expect.
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                              -8-
  592.  
  593.  
  594.