home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / wrpradio.zip / WRPRADIO.HLP (.txt) < prev   
OS/2 Help File  |  1997-08-08  |  13KB  |  284 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Description ΓòÉΓòÉΓòÉ
  3.  
  4. WarpRadio ver. 1.0 - Freeware. This program is an OS/2 (Warp 3.0 and later) PM 
  5. application that controls the RadioActive FM Radio card which was sold through 
  6. various mail order companies in 1994 by Novex Industries. 
  7.  
  8. As far as I know, RadioActive is not sold anymore. It came with DOS and Windows 
  9. software which work under OS/2 DOS and Win-OS2 sessions. Since I prefer running 
  10. native OS/2 programs, I decided, as an exercise, to write my own program for 
  11. this card and publish it for free (donations gladly accepted). There is 
  12. probably nobody in this world that would pay for the time I spent on this 
  13. project anyway! I purchased this card in 1994, so it took me three years to 
  14. finish this project. Obviously, I did not work on it continuously for that 
  15. long. If you own this card and run OS/2, I would like to know what you think of 
  16. it. This program has been tested out by me and found to work properly. Some 
  17. station table edit functions need to be added and if there are enough users, I 
  18. will add them in. So send me e-mail if you use this program. 
  19.  
  20. The features of WarpRadio are: 
  21.  
  22.       Set volume (off, low, medium and high) for speakers attached to the 
  23.       RadioActive card. If you have the radio card connected to the Line-In of 
  24.       a SoundBlaster 16 card, then you can control the volume (32 levels) 
  25.       directly without having to use a mixer program. 
  26.  
  27.       Software scanning for stations. 30 stations can be saved to a table and 
  28.       10 stations can be programmed to buttons. 
  29.  
  30.       Fine tuning of stations, to a certain degree. 
  31.  
  32.       All settings are saved and preserved for the next time you use WarpRadio. 
  33.  
  34.       WarpRadio only uses a DLL file and installation does not require a reboot 
  35.       of your system. 
  36.  
  37.  Select INDEX to see more help. 
  38.  
  39.  
  40. ΓòÉΓòÉΓòÉ 2. How to use WarpRadio ΓòÉΓòÉΓòÉ
  41.  
  42. Background 
  43.  
  44. The RadioActive card I/O memory is located from 316 to 31Fhex (or 336 to 
  45. 33Fhex) and also uses an interrupt for scanning of stations. The RadioActive 
  46. card can be operated without this interrupt. I do not have the interrupt 
  47. enabled on my card because I do not have one available on my computer. 
  48. WarpRadio therefore does not use an interrupt. Also, the I/O is only written 
  49. to, no I/O read takes place for status feedback. As a matter of fact, the I/O 
  50. read connection to the card is not connected at all. Scanning for stations is 
  51. simulated with software. I have not taken the time to find out how the FM 
  52. frequency (88.0MHz to 108.0Mhz) is set on this card, however, I know the 
  53. registers it accesses to change stations. WarpRadio will simply scan through 
  54. all the possible combinations and if a station is detected, you simply stop the 
  55. scanning and record the data. There are three registers with possible values 
  56. ranging from 0 to 255. WarpRadio simply cycles through all the combinations at 
  57. a rate of one every half second. At that rate, it would take 97 days to go 
  58. through all combinations! WarpRadio allows you to preset these three registers 
  59. so you can find stations a little faster. Once you have found stations, you can 
  60. save the data and preset the memory button for station selection. If you figure 
  61. out the frequency versus register contents, let me know and I will change 
  62. WarpRadio so scanning can take place by frequency value rather than random 
  63. order. I have so far identified three stations: 90.1MHz is 0 0 255, 97.9MHz is 
  64. 1 2 228 and 104.3MHz is 0 1 246. They are listed in the initial station table 
  65. so you can use this data to start finding other stations. See the section on 
  66. Installation about the format for the station table. 
  67.  
  68. Using WarpRadio 
  69.  
  70. Note:  When first run, WarpRadio will not write to any I/O memory location. 
  71. This allows for configuration of the radio card. If you reconfigure the 
  72. hardware (or want to see how WarpRadio looks like), delete the WRPRADIO.CFG 
  73. file before you run WarpRadio. WarpRadio obviously does write to I/O when the 
  74. volume gets changed, any of the 10 channels are left-clicked on or when START 
  75. is pressed in the scan window. 
  76.  
  77. Run the program and select Settings - Configuration to select the I/O memory 
  78. location. Then you can check the volume. If you have the speakers connected to 
  79. the radio card, you have four possible volume settings, off, low, medium and 
  80. high (this is all the RadioActive card supports). Set it to low. If you have 
  81. the radio card connected to the line-in of a SoundBlaster 16 card, then you 
  82. will have 32 volume levels. Set it to a level such that you can hear the radio 
  83. background noise. Now select SCAN and press START. The program will start 
  84. writing data to the radio card at a rate of approximately half a second. If you 
  85. hear a station get clearer, then press STOP. Enter the name and frequency in 
  86. the fields and press SAVE. You must have at least the name field filled-in for 
  87. SAVE to be enabled. You can edit the stations with the proper name and 
  88. frequency at a later time. The three data fields can also be direct edited to 
  89. start scanning at a certain value, or use RECALL to select an existing station 
  90. and start scanning from there. Scanning can be started and stopped anytime. 
  91.  
  92. Once you have a station programmed, go to the main window and right-click on 
  93. one of the memory channel buttons. This will bring up the station table and you 
  94. can click on SELECT to preset the station to the memory button. The station 
  95. name will appear on the memory button. Left-clicking on the memory button will 
  96. select the preset station. 
  97.  
  98. Fine tunning of stations can be achieved to a certain degree with the + and - 
  99. buttons to the right of the station display. If you end up adjusting a certain 
  100. station all the time, then reprogram it using SCAN. 
  101.  
  102. Once WarpRadio has been configured, it will retain the last settings used and 
  103. if you run WarpRadio again, all settings are restored. This means the station 
  104. and volume are set to whatever they were when WarpRadio was last closed. 
  105.  
  106. If you change the RadioActive card jumpers or are unsure about I/O memory 
  107. selection, then delete the WRPRADIO.CFG file before you run WarpRadio. This 
  108. will prevent he program from writing to the wrong I/O memory. A new 
  109. WRPRADIO.CFG file will be created as you select the proper I/O memory settings. 
  110.  
  111. The Station Table DELETE has not been enabled. Use a text editor to make 
  112. changes to station names and frequencies. See the section on Installation for 
  113. file formats. If there is enough users out there and interest exists, then I 
  114. will further enhance this program, so let me know! 
  115.  
  116. The volume setting is only changed when the slider is let go. The spin-tracking 
  117. event has not been programmed. 
  118.  
  119. As a last note: WarpRadio does not have to be running continuously once you 
  120. have a station selected. You can exit the program, however, if you want to 
  121. change the volume or station, then you need WarpRadio to do it. When WarpRadio 
  122. is idle or minimized, no I/O is accessed. 
  123.  
  124.  
  125. ΓòÉΓòÉΓòÉ 3. Menu Description ΓòÉΓòÉΓòÉ
  126.  
  127. Describes all menu items available for this program. 
  128.  
  129.  
  130. ΓòÉΓòÉΓòÉ 3.1. Settings - Configuration ΓòÉΓòÉΓòÉ
  131.  
  132. Configure the I/O memory address (316h default, or 336h) of the RadioActive 
  133. card. 
  134.  
  135. If your radio card is connected to the Line-In connector of a SoundBlaster 16 
  136. card (220h default, 240h, 260h, or 280h), then you can set WarpRadio to control 
  137. the volume through the SB16 Line-In volume directly. Click on the check box and 
  138. select the base SB16 address. 
  139.  
  140.  
  141. ΓòÉΓòÉΓòÉ 3.2. Settings - Scan ΓòÉΓòÉΓòÉ
  142.  
  143. Opens the scanning window to start the scanning operation. This window can also 
  144. be accessed through the SCAN button on the radio window. 
  145.  
  146.  
  147. ΓòÉΓòÉΓòÉ 3.3. Settings - Exit ΓòÉΓòÉΓòÉ
  148.  
  149. Exit WarpRadio. All settings and stations will be saved. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 3.4. HELP - General Help ΓòÉΓòÉΓòÉ
  153.  
  154. Displays this help file (WRPRADIO.HLP). 
  155.  
  156.  
  157. ΓòÉΓòÉΓòÉ 3.5. HELP - About ΓòÉΓòÉΓòÉ
  158.  
  159. Product information. 
  160.  
  161.  
  162. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  163.  
  164. Note:  REXX must be installed on your system for this program to work. Also 
  165. TESTCFG.SYS must be called out in the CONFIG.SYS file. TESTCFG.SYS is part of 
  166. Warp 3.0 and later and you should check your CONFIG.SYS for a line like: 
  167. DEVICE=D:\OS2\BOOT\TESTCFG.SYS where D is your bootable OS/2 drive. If this 
  168. driver is not installed you will get the following errors when writing to the 
  169. radio card: 
  170.  
  171. Error =  20 if I/O write (DosDevIOCtl) is unsuccessful. 
  172.  
  173. Error =  21 if DOSOpen was unsuccessful. 
  174.  
  175. The error code rc = will then list the particular error of the faulty 
  176. operation. You can find the listing in the Control Program Guide and Reference 
  177. of VisualAge C++. 
  178.  
  179. Also, CONFIG.SYS must contain the line IOPL=YES for WarpRadio to work. A 
  180. default installation of Warp 3.0 or later will have this set properly. 
  181.  
  182. To install WarpRadio, unzip all files into the same directory. You can create a 
  183. shadow of the WRPRADIO.EXE object in a folder of your choice or the desktop for 
  184. easy access. To start the program, double-click on the WRPRADIO.EXE object. 
  185. Installing this program on your system does not change any of the INI or 
  186. CONFIG.SYS files. 
  187.  
  188. The following files belong to this program and are absolutely necessary to run 
  189. the game: 
  190.  
  191.        WRPRADIO.EXE        The executable main program. 
  192.  
  193.        WRPRADIO.HLP        This help file. 
  194.  
  195.        WRPRADIO.TBL        Station table. This file is a text file and you 
  196.                            could edit it with any text editor. The format for 
  197.                            this file is in this order: station name, frequency, 
  198.                            data 3, data 2, data 1 and channel number. All items 
  199.                            start with a space, including the station name. The 
  200.                            data values must be in the range of 0 to 255. The 
  201.                            channel numbers range from 1 to 10 and associate the 
  202.                            stations to the memory channel buttons. A dash is 
  203.                            used if a station is not assigned to a channel. A 
  204.                            default table with three stations is created the 
  205.                            first time you run WarpRadio. 
  206.  
  207.        WRPRADIO.CFG        Configuration file, containing radio card I/O 
  208.                            address, volume, last station used, SoundBlaster 
  209.                            Base I/O address and SoundBlaster Enable in this 
  210.                            order. This is a text file and can be edited with 
  211.                            any text editor. All I/O addresses are in decimal, 
  212.                            volume may be 0, 1, 2, or 3 for RadioActive volume 
  213.                            levels, or 0 - 248 for SoundBlaster volume (if 
  214.                            SoundBlaster Enable is 1). The last station used is 
  215.                            a channel number 1-10 and the SoundBlaster Enable is 
  216.                            0 for disable, 1 for enable. All items are seperated 
  217.                            by a space with the first item starting with a 
  218.                            leading space. A default configuration file is 
  219.                            created when WarpRadio is first started. Delete this 
  220.                            file if you reconfigured the RadioActive card to 
  221.                            prevent writing to the wrong port address. 
  222.  
  223.        IORXFUNC.DLL        Dynamic Link Library to access radio card. 
  224.  
  225.        VPBevel.DLL         Bevel used for WarpRadio display. This is part of 
  226.                            the VPExtras package. Thanks to Dion Gillard for 
  227.                            creating and releasing these objects for free! 
  228.  
  229.        VPOBJ.DLL           Dynamic Link Library required for VPBevel.DLL 
  230.  
  231.        HISTORY.TXT         History of changes to the program. 
  232.  
  233.        README.1ST          Program description and installation instructions. 
  234.  
  235.  I do recommend that WarpRadio be closed whenever you run an installation 
  236.  program. Some installation programs might use the TESTCFG.SYS driver to sniff 
  237.  out hardware and you could get errors when two programs are trying to access 
  238.  this driver. 
  239.  
  240.  To remove this program from your system, close the program, delete all your 
  241.  WRPRADIO objects or shadows from your desktop or folders and delete all the 
  242.  files listed above. 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 5. The Legal Stuff ΓòÉΓòÉΓòÉ
  246.  
  247. This program is freeware. You may use it for free, however I retain the 
  248. copyright to the code. If you use this program, I would like to know, so send 
  249. me e-mail. 
  250.  
  251. This program accesses I/O memory and should not be run if you don't have the 
  252. RadioActive card. It has been extensively tested and found to work with the 
  253. RadioActive card. However, the author of this program will not be held 
  254. responsible for any damage WarpRadio may cause by proper or improper use. 
  255.  
  256. This program may be distributed electronically as long as all files are kept 
  257. together. 
  258.  
  259.  
  260. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  261.  
  262. Send any comments and suggestions to the following e-mail address: 
  263.  
  264.   ASchw@compuserve.com 
  265.  
  266. or visit my home page, "The Warped Code Cellar" at 
  267.  
  268.   http://ourworld.compuserve.com/homepages/aschw 
  269.  
  270. for other information and applications for OS/2. 
  271.  
  272. This program is also available at the following sites: 
  273.  
  274. Internet: 
  275.  
  276.   http://ourworld.compuserve.com/homepages/aschw 
  277.   http://hobbes.nmsu.edu 
  278.   http://www.os2ss.com 
  279.  
  280. Compuserve: 
  281.  
  282.   GO OS2USER, Library 16, Fun & Games 
  283.   GO OSBVEN, Library 1, OS/2 Shareware 
  284.   GO STARDO, Library 7, OS/2 Misc