home *** CD-ROM | disk | FTP | other *** search
/ Die Multimedia Power-CD / MULTIMEDIA.bin / modplay / mplay219 / modplay.cfg < prev    next >
Text File  |  1992-03-11  |  7KB  |  197 lines

  1. #########################              Config file parsing routine written by
  2. #- Modplay Config file -#              Paul Sutton (P.C.Sutton@bradford.ac.uk)
  3. #########################
  4.  
  5. # The Modplay config file must be called      Modplay.cfg
  6. # If no file matching modplay.cfg is found in the current directory when
  7. # you run MP then modplay will look at the directory in which the copy of
  8. # mp.com being run is in (So if you put mp.com in c:\bin put modplay.cfg
  9. # in there as well). 
  10. #
  11. # All commands must be in lower case (that includes hex digits like 0ff2)
  12. # Where a number is required the default is decimal unless preceeded by a $
  13.  
  14. # Lines preceeded by '#' are comments.  Remove the # from a command to
  15. # make it active
  16.  
  17. # Colours may be
  18. # Black Blue Green Cyan Red Magenta Yellow Gray
  19. # Any of the colours can be preceeded by  light  or  flashing
  20. # i.e.     flashing red on blue, green,  black on yellow, 
  21. #    flashing light red on blue  etc.
  22.  
  23. ##############################################################################
  24. #
  25. #    Mixing Speed - 6000 (6kHz) to 30000 (30kHz)
  26. #    16kHz is normal for a 286 12Mhz + and not much is to be gained
  27. #    by going higher
  28. #
  29. #    8Mhz     - use 6000 for a mixing speed and it will just work!
  30. #   10Mhz     - try around 10000
  31. #   12Mhz     - try around 15000
  32. #   Better    - 15909 is Ok, or 22000 for bit better quality
  33.  
  34. mixing-speed     15909    # 15909 normal mixing speed
  35.  
  36. ##############################################################################
  37. #
  38. #    Mixing Speed - 6000 (6kHz) to 30000 (30kHz)
  39. #    When running a shell to DOS.  If commented out then Modplay
  40. #    just does 6kHz less than the mixing_speed above.  Lower this if Modplay
  41. #    struggles when you shell to DOS
  42. #
  43.  
  44. shell-mixing-speed 10000    # 10000 normal
  45.  
  46. ##############################################################################
  47. #
  48. #   Default Output Device - the one Modplay starts up with.  If you select
  49. #   a device that isn't available then Modplay will choose the next avaiable
  50. #   one.   Output devices are from the list:
  51. #
  52. #   speaker                        PC Internal Speaker
  53. #   lpt1     lpt2      lpt3              D/A on parallel ports
  54. #   disney1  disney2   disney3                  Disney sound source on LPT
  55. #   lpts                         Stereo on 1&2
  56. #   lptm                         Mono on 1&2
  57. #   asm                        Assembler routine (see below)
  58. #   blaster                    Sound Blaster
  59. #   ston1                    Stereo-on-1 board
  60. #   user-mono                    User defined mono
  61. #   user-stereo                    User defined stereo
  62. #   user-quad                    User defined quadrophonic
  63.  
  64. output-device       speaker
  65.  
  66. ##############################################################################
  67. #
  68. #   Protracker mode - If set to on then old mods (like Run The Gauntlet) will
  69. #   sound better, but the protracker mods will then sound wrong. 
  70. #
  71.  
  72. protracker    off
  73.  
  74. ##############################################################################
  75. #
  76. #     Default .GIF filename for background screen
  77. #     (otherwise assumes .\MODPLAY.GIF)
  78. #
  79.  
  80. #gif-filename    c:\gif\mwc\kelly.gif
  81.  
  82. ##############################################################################
  83. #
  84. #    Spectrum Analyser Colour
  85. #
  86.  
  87. #spectrum-colour         blue on black       # flashing light green on blue
  88.  
  89. ##############################################################################
  90. #
  91. #    Specturm Analyser Character
  92. #
  93.  
  94. #spectrum-bar-char       ▄    
  95.  
  96. ##############################################################################
  97. #
  98. #    Spectrum Analyser - Colour of end of bar
  99. #
  100.  
  101. #spectrum-end-colour     red on black           # flashing red on black
  102.  
  103. ##############################################################################
  104. #
  105. #   Bar LED colour
  106. #
  107.  
  108. #bar-colour              black on blue
  109.  
  110. ##############################################################################
  111. #
  112. #   Bar LED character
  113. #
  114.  
  115. #bar-character           =
  116.  
  117. ##############################################################################
  118. #
  119. #   Ignore Archives - If yes then don't look for MOD files in ZOO ZIP etc.
  120. #
  121.  
  122. ignore-archives         no
  123.  
  124. ##############################################################################
  125. #
  126. #   User Defined D/A mono port.  Use instead of -xm
  127. #
  128.  
  129. #defined-mono            $022f
  130.  
  131. ##############################################################################
  132. #
  133. #   User Defined D/A stereo port.  Use instead of -xs
  134. #
  135.  
  136. #defined-stereo-l    $0300
  137. #defined-stereo-r    $0301
  138.  
  139. ##############################################################################
  140. #
  141. #   User Defined D/A quadrophonic port.  Use instead of -xq
  142. #
  143.  
  144. #defined-quad-1        $030c
  145. #defined-quad-2        $030d
  146. #defined-quad-3        $030e
  147. #defined-quad-4        $030f
  148.  
  149. ##############################################################################
  150. #
  151. #   Playback display - the default display when playing a MOD
  152. #   Can be one of:  blobs   spectrum   scroll  vga-scope  none
  153. #
  154.  
  155. playback-display        vga-scope
  156.  
  157. ##############################################################################
  158. #
  159. # What order should Modplay present the directories and mods?  For each
  160. # type of file give a priority.  Default is
  161. # 1 0 3 1 1 1 1 1 1 1 2 meaning that 
  162. # directories first
  163. # then (mod/lha/arj/zoo) sorted by filename
  164. # then GIF
  165. # then drives.
  166. # 0 0 0 0 0 0 0 0 0 0 0 would give equal priority to all (try it!)
  167. # (?) not used.
  168. #                 MOD DIRs DRIVE ZIP LHA ARJ ZOO (?) (?) (?) GIF
  169.  
  170. #  sort-priority    1   0    3     1   1   1   1    1   1   1  2
  171.  
  172. ##############################################################################
  173. #
  174. #    Make your own assembler code for driving your own hardware
  175. #
  176. #    A name for the defined output device - maximum 21 characters - no spaces
  177. #    allowed :-(  [defining a name here enables the asm code given later]
  178. #
  179.  
  180. #asm-name Pro-Gold-Whatsit+
  181.  
  182. #
  183. #    Actual machine code for stereo playback to the output device.   Samples
  184. #    are given in signed format in AL (left) and AH (right).  First convert
  185. #    to unsigned format before outputing (something like  SUB AL,80, SUB AH,80)
  186. #    You can use registers  AX  DX  BX  only and any relative jumps you
  187. #    might need.  All numbers must be in hexidecimal and you have a maximum
  188. #    of forty bytes. (Dont forget to remove the #'s!)
  189.  
  190. #asm ba 01 03         # mov dx,0300
  191. #asm 2c 80            # sub al,080 - convert to signed
  192. #asm ee               # out dx,al
  193. #asm ba 2f 02         # mov dx,022f
  194. #asm 88 e0            # mov al,ah
  195. #asm 2c 80            # sub al,080 - convert to signed
  196. #asm ee               # out dx,al
  197.