home *** CD-ROM | disk | FTP | other *** search
/ Audio 4.94 - Over 11,000 Files / audio-11000.iso / msdos / sndbords / proaudio / mvdoc / pcmfun.doc < prev    next >
Text File  |  1993-03-09  |  3KB  |  112 lines

  1. PCMFUN - Fun Package with PCM.COM - Version 3.7
  2.  
  3.  
  4. Use pcmfun.com as a TSR to provide background sounds, on demand, from
  5. batch files, randomly, intercept CTRL-G, when no activity...
  6.  
  7. Requires "himem.sys", and probably a 80386.
  8.  
  9. What you will find in this package is this:
  10.  
  11.     pcmfun.com     and a bunch of other .coms 
  12.     pcm.doc        documents pcmfun.com  
  13.  
  14.     loadpcm.exe    load .wav files into extended memory via himem.sys
  15.     loadpcm.doc    documents loadpcm.doc
  16.  
  17.     setdma.exe    stick a memory-control-block 16K from the top
  18.     freedma.exe    free up the MCB from setdma
  19.     sfdma.doc    documents setdma.exe and freedma.exe
  20.  
  21.         WARNING --- setdma.exe and freedma.exe use 
  22.         UNDOCUMENTED DOS to gain access to the 
  23.         Memory Arena and then modify it, and to 
  24.         locate and update the Master Environment 
  25.         (it sticks in "DMABUF=XXXX 1024" for use 
  26.         by other programs), and are thus NOT GUARANTEED 
  27.         to work on all systems. 
  28.  
  29.             
  30.  
  31. Also, these .com files required pcmfun.com to be loaded:
  32.  
  33.     sskey.com    control double-shift key detect
  34.     rndsnd.com    control random sounds
  35.     noact.com    control no-activity sounds
  36.     ctrlg.com    control control-g intercept
  37.     tmr.com        control 1 of 64 timers
  38.  
  39.  
  40. Syntax:
  41.  
  42.     sskey off    sskey on        
  43.  
  44.         Turns off and on Left-Shift-Right-Shift-Key detect
  45.  
  46.         The double-shift-key control sequence allows you
  47.         to play sounds from the keyboard AT ANY TIME!
  48.  
  49.         the "1" key plays sound 1, "2" sound 2, and so on
  50.         according to the "scancode" of the keys pressed
  51.  
  52.  
  53.     rndsnd off    rndsnd on min# max#    
  54.  
  55.         Turns off and on "Random Sounds", where:
  56.  
  57.             min#    - minimum timer-ticks of delay
  58.             max#    - maximum timer-ticks of delay
  59.  
  60.  
  61.     noact off    noact on ####        
  62.  
  63.         Turns off and on "No Activity Sounds", where:
  64.  
  65.             ####    - delay in timer-ticks for detection
  66.  
  67.  
  68.     ctrlg off    ctrlg on
  69.  
  70.         Turns off and on "Control-G Intercept"
  71.  
  72.         Plays Sounds 129-256 when activated and CTRL-G detected
  73.  
  74.  
  75.     tmr # off    tmr # on    tmr # set #### [oneshot]
  76.  
  77.         Turns off, on or sets "Timers", where:
  78.  
  79.             #     - timer number (1 to 64)
  80.             ####    - timer ticks before sound activated
  81.             oneshot    - optional, default is to reload timer
  82.                 on countdown, this causes no-reload
  83.  
  84.  
  85. ========================================================================
  86.  
  87. NOTE: There are two programs, pcmfun.com and pcmmin.com, that share
  88.     the same code.  Occasionally, one or the other is distributed
  89.     as "pcm.com".
  90.  
  91.     The intention is to maintain both "serious" and "fun"
  92.     sides to this set of routines, but leaving you the user
  93.     the option of deciding whether or not you want, or can,
  94.     use the "fun" stuff.
  95.  
  96.     If you prefer to not use the fun stuff, and thus not
  97.     allocate the memory, but you do like the programs that
  98.     depend on the int 94h services, then rename "pcmmin.com"
  99.     to "pcm.com", and leave it in the same directory as the
  100.     other programs (tpcm.exe, srs.exe).  These programs will
  101.     load "pcm.com" if it is not already installed. 
  102.  
  103.     If you do want the fun stuff loaded, rename "pcmfun.com"
  104.     to "pcm.com", and leave it in the same directory as above.
  105.  
  106.     Of course, I would prefer if the TSR were to dynamically
  107.     install those functions desired by the user via a command-
  108.     line option, but, alas, there has been too little time!
  109.     Know, though, that I know that this is a worthy goal.
  110.  
  111.     I apologize in advance for any confusion that may arise.
  112.