home *** CD-ROM | disk | FTP | other *** search
/ World of Ham Radio 1997 / WOHR97_AmSoft_(1997-02-01).iso / misc / sb_sstv / amsoft.iii next >
Text File  |  1997-02-01  |  15KB  |  377 lines

  1.  
  2.  
  3.  
  4.  
  5.                SLOW SCAN TV
  6.  
  7.                  using the
  8.  
  9.                SOUND BLASTER
  10.  
  11.  
  12. Required equipment:
  13.  
  14. IBM (or compatible) computer, the faster, the better!
  15.  
  16. Math co-processor not necessary, but also is nice, as the pictures
  17. display faster.
  18.  
  19. VGA display, capable of 640 x 480 - 256 colors. This requires a VGA
  20. card with at least 512K memory.
  21.  
  22. Sound Blaster (or compatible) sound card. The program has been
  23. tested with the Sound Blaster V1.5, V2.0, and Pro, as well as Media
  24. Visions Pro Audio Spectrum 16 and Fusion 16 (let me know of others
  25. as you try them!).
  26.  
  27.  
  28. This program is designed to display 8 second BLACK & WHITE slow
  29. scan pictures that you can copy off the ham radio bands. The
  30. frequencies that you will normally find slow scan are:
  31.  
  32. 3.845  MHZ
  33. 7.171  MHZ
  34. 14.230 MHZ
  35. 21.340 MHZ
  36. 28.680 MHZ
  37.  
  38. The most popular frequency is on 20 meters at 14.230 MHZ, with
  39. 14.233 MHZ being used on weekends when there are too many on
  40. 14.230.
  41.  
  42. The following diagrams might help with the electrical hookup. For
  43. receive, the audio from your receiver needs to be connected to the
  44. microphone input on the Sound Blaster. The audio from your receiver
  45. may come from the speaker output. In my case, I used an audio
  46. output from the back of the radio (Icom 730) that is to be used for
  47. RTTY, Slow Scan, packet, etc. The audio out of the back does not
  48. vary with the volume control, so I can keep the audio at a
  49. reasonable level and still copy pictures.
  50.  
  51. For transmit, take the audio out (one channel, left or right) to
  52. the microphone on your transmitter. Again, I went into the back of
  53. my radio. With the IC730, you have to use an amplified microphone.
  54. Mine just happens to have a level control under the base so the
  55. level into the microphone can be adjusted down to keep the room
  56. noise from interfering with the picture. Use your microphone button
  57. to key up the transmitter.
  58.  
  59. Sound Blaster Board V1.5 and V2.0
  60. ________________
  61.                 |
  62.                 |<---- Sound in from receiver
  63.                 |
  64.       Volume -->|
  65.       Control   |
  66.                 |----> Sound out to your microphone input
  67.                 |
  68.                 |
  69.                 |<---> Midi input/output (not used for this
  70.                 |      project)
  71. ________________|
  72.  
  73.  
  74. Sound Blaster Pro
  75. ________________
  76.                 |
  77.                 |<---- Line in (not used for this project)
  78.                 |<---- Microphone in - Sound in from receiver
  79.       Volume -->| 
  80.       Control   |
  81.                 |----> Sound out to your microphone input
  82.                 |      for transmitting Slow Scan
  83.                 |
  84.                 |<---> Midi input/output (not used for this
  85.                 |      project)
  86. ________________|
  87.  
  88.  
  89. I did the development on the Sound Blaster Pro, but I kept the
  90. sample rate at 12 KHZ (the top speed for the Sound Blaster V1.5 and
  91. V2.0) so all Sound Blasters could be used. It seems to give
  92. acceptable results at this speed, however, a faster sample rate
  93. would give even better pictures. In a future version, if there is
  94. interest, I may make a version with extra options just for the Pro
  95. version.
  96.  
  97. Now that the program has been out for a short while, I've received
  98. feedback from others who inform me that it also works on the PAS16
  99. (Pro Audio Vision from Media Vision) and the Fusion 16 (also from
  100. Media Vision). In this version I am packing the drivers, as some of
  101. the cards, including the V1.5 and V2.0 from Creative Labs, do not
  102. come with the ones needed. Make sure to read about the drivers as
  103. they have to be set up just right to make the thing work.
  104.  
  105. Copy the program to your hard disk (preferably make a separate
  106. subdirectory called SS). You need all the BGI files for the program
  107. to run. Your computer should have several meg of free space as the
  108. .VOC files will take up about 100k for every 8 seconds of
  109. recording. Also you will want to save some of your favorite
  110. pictures in .PCX files so you can recall them later. The reason I
  111. chose the .PCX format is that it generally a lot less space than
  112. .VOC files. The display on your computer needs to be a VGA display
  113. that will work in 640 x 480 - 256 color mode. Some VGA cards do not
  114. have enough memory to do this. If it doesn't work on your system,
  115. I need to know so I can make the necessary changes. When reporting
  116. problems, please make sure to include as much information about
  117. your computer system as possible (autoexec.bat, config.sys, path,
  118. etc), so I can be of help.
  119.  
  120.  
  121. Make sure that in your autoexec.bat that you have the following:
  122.  
  123.      SET SOUND=C:\SBPRO
  124.      SET BLASTER=A220 I7 D1 T2
  125.  
  126. The first line above is telling the computer where your Sound
  127. Blaster programs are located. If your directory name is different
  128. that "SBPRO" then you need to insert the correct directory name
  129. (and throughout the next few paragraphs).
  130.  
  131. In a subdirectory under "SBPRO" should be a directory called "DRV".
  132.  
  133. C:\SBPRO\DRV
  134.  
  135. You MUST have a driver called "CTVDSK.DRV" located in this DRV
  136. subdirectory.
  137.  
  138. C:\SBPRO\DRV\CTVDSK.DRV
  139.  
  140. If you do not have this driver, I have included it for to copying
  141. into the DRV subdirectory. However, you must copy the right one for
  142. your card. There are three drivers included:
  143.  
  144.      ctvdsk.v15      for the Sound Blaster version 1.5 & SBMCV
  145.      ctvdsk.v20      for the Sound Blaster version 2.0
  146.      ctvdsk.pro      for the Sound Blaster Pro
  147.  
  148. If you do not have a file named CTVDSK.DRV in you DRV directory,
  149. you must rename the proper one above  to "CTVDSK.DRV" and copy it
  150. to your DRV directory.
  151.  
  152. The following is an example of how to copy and rename the file in
  153. one step:
  154.  
  155. COPY ctvdsk.v15 C:\SBPRO\DRV\ctvdsk.drv <enter>
  156.  
  157. The second line above sets the BLASTER environment which is read by
  158. the program.
  159.  
  160. The A220 should be the address that you have set your Sound Blaster
  161. at. Other choices could be A210, A230, A240, A250, and A260. The
  162. Pro only has two choices, A220 and A240.
  163. The I7 is the interrupt of the card. Other choices could be I2, I3,
  164. I5, or I10. I would guess that if you already have the card up and
  165. running with other applications, you only need to find out what
  166. you are using.
  167.  
  168. D1 is the DMA channel used. I believe that in the Sound Blaster
  169. V1.5 and V2.0, you can only use DMA1. However, on the PRO you can
  170. use DMA 0, 1, or 3. DMA 1 is the default.
  171.  
  172. T2 is the parameter that informs the program which Sound card is
  173. installed.
  174. The choices are:
  175.      1 is for SB V1.5 or SBMCV
  176.      2 is for SB PRO
  177.      3 is for SB V2.0
  178.  
  179. All of the above are jumpers that you put in place on your Sound
  180. Blaster at the time you installed it in you computer. If you have
  181. questions about what yours is set at, Creative Labs provided a
  182. program called "TEST-SBC.EXE" that gives you the information you
  183. need ("TEST-SBP.EXE" for the PRO). Your Sound Blaster manual will
  184. give you further details.
  185.  
  186. To start the program after it is loaded type "SS8".
  187.  
  188. Once you have the audio connected, and a station ready to transmit,
  189. pressing F2 will start the receiving process. The sound is stored
  190. in a disk file named "TEMP.VOC". This file is overwritten every
  191. time you press F2. You will not see anything happen until you press
  192. ESC which should be pressed as soon as the audio for the picture
  193. stops. The "TEMP.VOC" file will be a minimum of 100k in size for
  194. one 8 second period, so you will need to make sure that you have at
  195. least 500k free on your hard disk where ss.exe is loaded (several
  196. megabytes would be even better). You will learn after using the
  197. program that it takes a little bit before it starts recording, so
  198. you need to anticipate the start of the picture just a little.
  199.  
  200. If you anticipate too much, you can do a couple of different
  201. things:
  202.  
  203. 1. Press ESC will stop the recording & start to display whatever
  204. there was to that point 
  205.      - Pressing ESC again will stop the display 
  206.      - Pressing F2 will restart the recording.
  207.  
  208. 2. If, after you are displaying the picture, you see that the top
  209. of the picture is part way down on the screen,,pressing the space
  210. bar will make the rest of the picture restart from the top so you
  211. will see a complete frame.
  212.  
  213. Note: I know that it is pretty slow by not copying the picture to
  214. the screen as it is coming in, but that may be changed in a future
  215. version.
  216.  
  217. Once you have a picture on the screen, if you Press F2 again you
  218. will loose the one you have. Menu item F7 allows you to save the
  219. picture as a .PCX file, or you can rename the "TEMP.VOC" file to
  220. another name so when you press F2 again, you do not loose the
  221. picture. I have, just for the fun of it, looked at the .VOC file
  222. and edited them in VEDIT which comes with the Sound Blaster.
  223.  
  224. Even though I wrote the program code for 8 second Black & White, I
  225. have been able to receive 36 second, 72 second, & SCOTTY 1 in Black
  226. & White. A portion of the picture gets thrown away (you only see
  227. the left hand upper corner) but, I was quite surprised when I saw
  228. how well it did.
  229.  
  230. Transmit has been added with two options.
  231.      
  232.      1. Pressing F4 will transmit "TEMP.VOC", the last picture
  233.      received.
  234.      
  235.      2. Pressing F5 will give you a menu of ".VOC" files that
  236.      you have saved. By saving the "TEMP.VOC" file to other
  237.      names, you can later re-transmit the pictures you have
  238.      received. It's just like a tape recorder!
  239.  
  240. Help is built into the program and accessed by pressing F1. This
  241. will give you a second menu of help items. Just press the F key
  242. that will give you the information that you want.
  243.  
  244. Test images are built in, but, other than nice to look at, are of
  245. little use until there is a send program (one that reads the
  246. screen) written.
  247.  
  248. The CONTRAST, SYNC, and BLACK can be adjusted if desired. This is
  249. left over from my development stages & was left in. It may give you
  250. more insight into how a Slow Scan picture works by playing with
  251. these. Once you have recorded and have a "TEMP.VOC" file, you can
  252. use this file under the F7 option to re-display as many times as
  253. you like using the SYNC, CONTRAST, and BLACK. For those not
  254. familiar with Slow Scan, there are many different modes. An
  255. excellent discussion is in the January 1993 issue of QST.
  256.  
  257. Updates from V1.0 to V1.1
  258.  
  259. Fixed 'divide by zero' when no audio was coming in during receive.
  260.  
  261. Incorporated *.CHR files in .EXE program.
  262.  
  263. Added transmit capability by re-transmitting .VOC files.
  264.  
  265. Included drivers for Sound Blaster in .ZIP package.
  266.  
  267. I hope this program will give you some enjoyment. If it does, I
  268. would also hope that you will register the program for $20.00. I
  269. have spent over 2 years writing this (not every day mind you) and
  270. it was an exercise for me in learning to program in "C". Well, I
  271. guess something must have worked! Anyway, if I get enough response,
  272. I will get to work and enhance the program with the other modes.
  273. Also, I am interested in any ideas you may have to improve the
  274. program or ideas for other programs for the Sound Blaster. I bought
  275. their development kit, and might as well put it to work. So please
  276. send your $20.00 and ideas for enhancement and other programs you
  277. would like to see (how about copying RTTY or PACKET RADIO with the
  278. Sound Blaster ???). Also, anyone sending in the registration with
  279. $20.00 will receive credit towards any major upgrade to the next
  280. higher level.
  281.  
  282. Speaking of UPGRADES!!!
  283.  
  284. SLOW SCAN II for the Sound Blaster is now available! This program
  285. will copy more modes than the original version. It will copy ROBOT
  286. 8, 12, 24, 36 second Black and White, and ROBOT 36 and 72 second
  287. COLOR (in Black and White), and Scotty 1 and Scotty 2 (in Black and
  288. White). And, like SLOW SCAN 8 second version, you can transmit the
  289. .VOC files to send pictures as well! The price of SLOW SCAN II is
  290. only $40.00. If you are a registered user, the $20.00 that you have
  291. already paid will be credited, so it will only cost you $20.00
  292. additional.
  293.  
  294. SLOW SCAN COLOR will be worked on, with a release date expected
  295. towards the end of 1993. Depends on how busy I am at my "real" job!
  296. I will also be working on copying REAL TIME. No promises yet,
  297. though I should be able to do that.
  298.  
  299. Comments or questions can be left for me on Compuserve. Make sure
  300. that you address to Gene Harlan  76645,2455.
  301.  
  302. Questions can be answered evenings at (815) 398-2683. I'm usually
  303. home by 6:00 pm (CST) unless I have meetings, etc. I have enjoyed
  304. helping those that have called to date. All the comments and
  305. compliments were appreciated!!! Compuserve is probably easier and
  306. I try to check it once a day when I'm in town.
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325. Please send the following registration form to:
  326.  
  327.                Gene Harlan - WB9MMM
  328.                5931 Alma Dr.
  329.                Rockford, Illinois 61108
  330.  
  331.  
  332. Registration Information
  333. _________________________________________________________________
  334.  
  335.  
  336. ______ I have enclosed $20.00 and would like to register the Slow 
  337.        Scan program.
  338. ______ I am a registered user and would like to upgrade to Slow   
  339.        Scan II for $20.00, which copies 8, 12, 24, 36 second Black 
  340.        and White and 36 and 72 second color (in Black and White)  
  341.        and Scotty 1 and Scotty 2 (in Black and White). Please     
  342.        include $5.00 shipping (Illinois residents include $1.25   
  343.        tax. 
  344. ______ I am not a registered user yet and would like to get the   
  345.        Slow Scan II program. I am enclosing $40.00 plus $5.00     
  346.        shipping (Illinois residents include $2.50 tax).
  347. ______ I am not a registered user, and cannot afford it at this   
  348.        time. However, I like the shareware version and would like 
  349.        to be on your mailing list. If I use the program, as soon as
  350.  
  351.        I can afford to send money, I will. In the mean time, I'll 
  352.        get on the air and tell everyone how great it is!
  353. ______ I just won't buy it until you include COLOR. Please let me 
  354.        know when COLOR SLOW SCAN TV for the Sound Blaster is      
  355.        available.
  356.  
  357.  
  358. Name_________________________________________
  359. Call Sign______________________
  360. Street_________________________________
  361. City___________________________________ State __________
  362. Zip__________
  363. Type/speed of computer __________________________________
  364. Size of hard drive ______________________________________
  365. Type of display card ____________________________________
  366. Ram - how much do you have ______________________________
  367. Sound Blaster _____ Sound Blaster Pro _____ SB20 _____
  368. PRO AUDIO SPECTRUM 16_____ FUSION 16 _____ OTHER __________________
  369. 3 1/2 disk _____  5 1/4 disk _____
  370. Other information - ideas - suggestions
  371. _________________________________________________________________
  372. _________________________________________________________________
  373. _________________________________________________________________
  374. _________________________________________________________________
  375. _________________________________________________________________
  376. _________________________________________________________________
  377.