home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / HAM / VESTER_A.ZIP / TVINFO.TXT < prev    next >
Text File  |  1994-01-30  |  74KB  |  2,252 lines

  1.  
  2.  
  3.  
  4.  
  5.           Please stop right now and make a backup copy of these programs 
  6.  
  7.      on a floppy disk. And activate the Write Protection on that disk !!
  8.  
  9.  
  10.  
  11.                 SSTV/FAX480/WEFAX SYSTEM for IBM and CLONES
  12.  
  13.                        Copyright 1993 Ben Vester   
  14.  
  15.  
  16.  
  17.           This system includes a receiving and transmitting program  for 
  18.  
  19.      Amateur  Radio  Color Slow-Scan TV and FAX480 and  a  receive  only 
  20.  
  21.      program for high resolution weatherfax. The so-called SSTV as being 
  22.  
  23.      used  today is really nothing more than color facsimile, so all  of 
  24.  
  25.      these systems are alike in that only one image is transmitted at  a 
  26.  
  27.      time and they all use 1500 hz to 2300 hz as limits for the  modula-
  28.  
  29.      tion  audio. The system is basically software-based, with the  only 
  30.  
  31.      hardware  required  being  a very simple  audio  clipper  interface 
  32.  
  33.      between  the receiver and the computer's serial COM port. The  com-
  34.  
  35.      puter  facsimile  input and output to the  amateur  transceiver  is 
  36.  
  37.      transformer isolated to avoid grounding and noise problems. Details 
  38.  
  39.      of the interface are contained in Sept. 1991 "QST" and in Jan. 1994 
  40.  
  41.      "QST".  There was an error in the schematic in the Jan. 1994  arti-
  42.  
  43.      cle, however. The Transmit audio comes out of the Serial  interface 
  44.  
  45.      on  the  RTS pin, NOT the CTS pin. That is, the  Transmit  coupling 
  46.  
  47.      capacitor  connects to pin 7 on a 9-pin connector, NOT pin  8.  RTS 
  48.  
  49.      comes  out  on pin 4 on a 25-pin connector. An early draft  of  the 
  50.  
  51.      1994 article is contained on this disk under filename,  ARTICLE.TXT 
  52.  
  53.      and should be read for other needed information.
  54.  
  55.  
  56.  
  57.           Doing  all of the fax demodulation in the computer requires  a 
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.      80286 or higher class of computer with higher clock speeds  helping 
  66.  
  67.      the  quality of the images being transmitted and received.  All  of 
  68.  
  69.      the  programs  except  the Wefax program could be  handled  in  the 
  70.  
  71.      minimal  640 Kb. of RAM but to get any reasonable speed in  manipu-
  72.  
  73.      lating the images after reception a minimum of 1 megabyte of RAM is 
  74.  
  75.      needed.  For  copying Wefax, 4 Mb. is needed for easy  copying  and 
  76.  
  77.      manipulation. 2 Mb. is  almost enough to copy a full pix. A RAMDISK 
  78.  
  79.      should  be created on your computer before trying to run  the  pro-
  80.  
  81.      grams. Just add a line to your CONFIG.SYS file as follows:
  82.  
  83.      
  84.  
  85.      For 1 Mb. system:    device=c:\dos\ramdrive.sys 368 512 64 /e
  86.  
  87.  
  88.  
  89.      For 4 Mb. system:    device=c:\dos\ramdrive.sys 3072 512 64/e
  90.  
  91.           If  you must coexist with Windows (uses 2 mb.) 3072  is  2048. 
  92.  
  93.      With  less  memory, you can use batch files  (described  below)  to 
  94.  
  95.      remove Windows from CONFIG.SYS and AUTOEXEC.BAT when you are  using 
  96.  
  97.      SSTV.
  98.  
  99.  
  100.  
  101.      When you reboot the system take note of what letter designation the 
  102.  
  103.      computer  assigns to the RAMDISK as you will need to tell  the  fax 
  104.  
  105.      program  what that is. Now if you only have 640 Kb of RAM  you  can 
  106.  
  107.      use  the hard disk "c" as the designated drive but it will be  very 
  108.  
  109.      slow  in  manipulating  the color images and won't work at  all  on 
  110.  
  111.      Wefax. Even a floppy drive can be designated but it will be ridicu-
  112.  
  113.      lously  slow.  High resolution color pix's with 3 bytes  per  pixel  
  114.  
  115.      require  a lot of memory, so the old PC's with minimal memory  just 
  116.  
  117.      won't hack it.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.           Timing  is extremely critical in decoding the fax  modulation. 
  128.  
  129.      We use the computer's TIME clock and since it is needed   full-time 
  130.  
  131.      during  the actual copying, you may have to sacrifice  other  time-
  132.  
  133.      related  functions while using  the programs.  Also, since we  need 
  134.  
  135.      both  the TIME clock and most of the memory for our  copying  task, 
  136.  
  137.      the program may not work properly if your system is loaded up  with 
  138.  
  139.      TSR resident programs, particularly ones that use the TIME timer or 
  140.  
  141.      occupy  any  appreciable  memory . This is a  common  problem  with 
  142.  
  143.      programs using SVGA graphics and I notice that my 8 year old grand-
  144.  
  145.      son  has already learned how to unload the resident  programs  from 
  146.  
  147.      his  computer in order to get his favorite game programs  to  play. 
  148.  
  149.      Some  resident programs may look like small memory users  but  they 
  150.  
  151.      often  use the TIME clock continuosly, so they may  interfere  with 
  152.  
  153.      the  timing functions in the program. This depends on how fast  the 
  154.  
  155.      computer  is. If it's very fast, it may accommodate both  functions 
  156.  
  157.      without interference. For example, with my 33 mhz 80386 computer, I 
  158.  
  159.      can  accommodate  the excellent screen saver,  "BLANK-IT",  without 
  160.  
  161.      interference.  With a slower computer, that might not be  possible. 
  162.  
  163.      When I use my Computer Eyes/RT frame-grabber, however, I even  have 
  164.  
  165.      to remove the screen saver. These resident programs can be  located 
  166.  
  167.      in  your  AUTOEXEC.BAT file for your perusal. The  easiest  way  to 
  168.  
  169.      remove them and add them back is with two batch files,  STARTTV.BAT 
  170.  
  171.      and  STOPTV.BAT.  First, you copy the present AUTOEXEC.BAT  into  a 
  172.  
  173.      AUTOEXEC.REG file. That is:
  174.  
  175.                          c:>copy autoexec.bat autoexec.reg
  176.  
  177.  
  178.  
  179.      Then you create an AUTOEXEC.TV file that only contains the absolute 
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.      minimum (ie, NO resident programs). The STARTTV.BAT will consist of 
  188.  
  189.      one line:              copy c:\autoexec.tv c:\autoexec.bat
  190.  
  191.      After  you  run  STARTTV.BAT, you reboot and are ready  to  go.  To 
  192.  
  193.      restore  the  computer to normal, use STOPTV.BAT with  this  single 
  194.  
  195.      line:           copy  c:\ autoexec.reg c:\autoexec.bat
  196.  
  197.      You,  of  course, could just type the single line  each  time,  but 
  198.  
  199.      using the batch file minimizes your chances of losing your  present 
  200.  
  201.      AUTOEXEC.BAT  file information. If you  have Windows installed  and 
  202.  
  203.      are working with limited RAM, you can add the CONFIG.SYS changes to 
  204.  
  205.      eliminate Windows temporarily to these same START/STOP batch files. 
  206.  
  207.      Once  you  have the system working, you might want to  add  back  a 
  208.  
  209.      screen  saver for use with TV and see if it messes up your  system. 
  210.  
  211.      Another  DOS resident program that is extremely useful to  speed-up 
  212.  
  213.      the  continuous file manipulations in this program is SMARTDRV,  so 
  214.  
  215.      try to squeeze it in.
  216.  
  217.           The  programs  were developed for use  by  the  experimentally 
  218.  
  219.      inclined radio amateur. It uses GWBASIC to interface with the user, 
  220.  
  221.      so you will need a copy of GWBASIC.EXE (note:some have tried  using 
  222.  
  223.      GWBASIC  that was used on Tandy machines and it did not work.  I've 
  224.  
  225.      used  versions 3.22 and  3.23, both created for true IBM  clones.). 
  226.  
  227.      The guts of the program are contained in machine language  programs 
  228.  
  229.      which are called up by the BASIC program as needed. To  accommodate 
  230.  
  231.      the  wide  variety of modes, the system parameters are  changed  by 
  232.  
  233.      inserting  POKE's in the BASIC program, a different set  of  POKE's 
  234.  
  235.      being  used  for each mode. This allows experimenters with  only  a 
  236.  
  237.      modest  amount of skill in BASIC to create new modes, or  adapt  to 
  238.  
  239.      additional  modes  that others have created. Even if  you  have  no 
  240.  
  241.      previous  experience with BASIC, I recommend you LIST out the  pro-
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.      grams  and  study them to find how easy it is to make mods.  I  have 
  250.  
  251.      even included some motivations--like getting your own call sign  on 
  252.  
  253.      the pix you transmit, instead of my call sign--to encourage you  to 
  254.  
  255.      learn  a  little  about hexidecimal numbers, about  2  color  image 
  256.  
  257.      formation, and about changing the program.
  258.  
  259.           To call up the frequently used programs directly from the  DOS 
  260.  
  261.      line you can use simple batch files. For example, to LOAD in GWBAS-
  262.  
  263.      IC, then LOAD in VU.BAS, and then RUN the program, you can create a 
  264.  
  265.      batch file, VU.BAT, with a single line:
  266.  
  267.                          gwbasic.exe vu.bas
  268.  
  269.      Now  you  just  type VU on the DOS line to access  the  program.  A 
  270.  
  271.      number of these batch programs are included on this disk.  
  272.  
  273.           Each  of  the programs has a fairly good description  of  it's 
  274.  
  275.      operation on the opening screen, so you should read both that  data 
  276.  
  277.      and the data below to fill out your understanding. Also each  BASIC 
  278.  
  279.      program is supported by one or several machine language files.  You 
  280.  
  281.      can identify these by looking through the BASIC listing to find the 
  282.  
  283.      BLOAD  command   followed by the name of the .ASM file.  These  ASM 
  284.  
  285.      files must be in the same directory as the BASIC program so it  can 
  286.  
  287.      find them. I recommend you make a separate directory (ie; c:>MD  TV 
  288.  
  289.      and then c:>CD\TV) and copy all the files into that directory.
  290.  
  291.           In the different programs described below, you are often asked 
  292.  
  293.      to  hit certain keys. The program assumes you are keying the  lower 
  294.  
  295.      case  letter,  so make sure that you don't have the CAPS  LOCK  on! 
  296.  
  297.      They are capitalized in the writeup strictly for  emphasis.
  298.  
  299.  
  300.  
  301.      VU.BAS                
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.           You need to find out how to see pictures on the screen  before    
  310.  
  311.      you can do anything, so we'll start with the viewing program. First 
  312.  
  313.      activate  BASIC;  ie, c:\tv>gwbasic.exe  and then  when  the  BASIC 
  314.  
  315.      screen  comes  up  LOAD"VU.  You actually  hit  F3  and  then  type 
  316.  
  317.      VU---right here is where you can go astray and why you need  backup 
  318.  
  319.      copies.  If  you  inadvertently  hit F4  instead  of  F3  you  will 
  320.  
  321.      SAVE"VU---which  means you will save a blank sheet under the  title 
  322.  
  323.      VU.BAS, writing right over the real VU.BAS program---another reason 
  324.  
  325.      it  helps to use batch programs for normal use. Now hit F2  to  RUN 
  326.  
  327.      the  program.  Read the first screen and then select the  mode  and 
  328.  
  329.      give the file name of the sample picture. Note that the mode suffix 
  330.  
  331.      to  the  filename is added by the program. If you add it  too,  the 
  332.  
  333.      computer  won't be able to find a file with a double suffix, so  it 
  334.  
  335.      will just return you to BASIC (you'll get Ok on the screen when you 
  336.  
  337.      return to BASIC) when you answer all the questions. The program  is 
  338.  
  339.      still  loaded, so you only need to hit F2 again and try  to  follow 
  340.  
  341.      the instructions this time.
  342.  
  343.           The Video Card is the next selection to be made. If your  card 
  344.  
  345.      doesn't  appear in the first 6 choices, then you'll make  choice  7 
  346.  
  347.      and go find yourself a VESA driver for your card. If it's a  recent 
  348.  
  349.      card  it  may  even meet the VESA standard without  a  driver.  The 
  350.  
  351.      drivers are a product of the board manufacturer and you may already 
  352.  
  353.      have  it  on a Utility disk that came with the card.  I  understand 
  354.  
  355.      that  BBS: (416)729-4609 has a collection of drivers if  you  can't 
  356.  
  357.      get  one from the manufacturer. The driver gets loaded  before  the 
  358.  
  359.      program, so you can add it as a first line in the VU.BAT or  RT.BAT 
  360.  
  361.      or AUTOEXEC.TV batch file for convenient operation. Be sure to  try 
  362.  
  363.      all  7 choices before looking for a driver since card  names  don't 
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.      always  reflect  the name of the SVGA microchip used in  it.  Also, 
  372.  
  373.      there are different microchips in the same name boards, so  there's 
  374.  
  375.      no  guarantee  the  most common one I used for  this  program  will 
  376.  
  377.      necessarily  have  the  same software commands.  Some  recent  SVGA 
  378.  
  379.      programs  even include a collection of drivers to select from.  The 
  380.  
  381.      card type is often shown in the first message when you boot up  the 
  382.  
  383.      computer or you can go to the DOS directory and type: 
  384.  
  385.                        C:\DOS>debug                  then type in a dump
  386.  
  387.                        -dC000:0000
  388.  
  389.      You may need to hit d again to dump the whole message on the right, 
  390.  
  391.      but  this  will often tell you the origin of the  video  card.  Try 
  392.  
  393.      dumping at D000:0000 and E000:0000 if C000:0000 doesn't work.
  394.  
  395.           A  more direct way to find out the card parameters is to  call 
  396.  
  397.      the  computer  manufacturer's software assist line. The  card  must 
  398.  
  399.      support  640x480 with 256 colors (requires 512K video  memory)  al-
  400.  
  401.      though  a  limited  capability is possible  with  640x400x256  (see 
  402.  
  403.      Experimenter's   Info below). Pix SAMPLE.M1 exercises  the  640x480 
  404.  
  405.      capability while SAMPLE2.94 only needs 640x400 so you can use these 
  406.  
  407.      to  explore  your card's parameters. Trident cards with  1  Mb.  of 
  408.  
  409.      video memory are available mail-order for less than $50 so you  can 
  410.  
  411.      easily upgrade.
  412.  
  413.           When you select the wrong video card, the program will  faith-
  414.  
  415.      fully  load the picture into the video buffer but no  picture  will 
  416.  
  417.      result.  After  a short wait for the picture loading,  hit  Q  (for 
  418.  
  419.      Quit) and  you should get the BASIC Ok  displayed. Hit F2 to re-RUN 
  420.  
  421.      the program and try the next video card selection. While the  video 
  422.  
  423.      cards  in my two computers are well behaved and don't hang  up  the 
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.      computer  when sent the wrong choice, this may not be true for  all 
  432.  
  433.      cards.
  434.  
  435.           Once  you get a picture, play with the scroll commands to  see 
  436.  
  437.      what  happens. Moving up and/or left initially will move  the  file 
  438.  
  439.      pointer outside the file and give peculiar results, so move down or 
  440.  
  441.      right  first.  The  arrows work for slow scroll and R  and  L  give 
  442.  
  443.      larger scroll increments (in the special case of the Robot 36 mode, 
  444.  
  445.      the  R stands for Reverse and will reverse the blue and red  colors 
  446.  
  447.      if  you happen to start copying on the wrong line--it  actually  is 
  448.  
  449.      scrolling  but  the  scroll increment is chosen to  be  one  line). 
  450.  
  451.      Scroll through the color frames with R and see what  an out-of-sync 
  452.  
  453.      picture will look like. You can scroll it right back in  sync.  Now 
  454.  
  455.      try the color registration keys, C and X. to see what they do. When 
  456.  
  457.      you  finish, go on to the next program, or maybe at this point  you 
  458.  
  459.      want  to  change the Default choice for the video card to  be  your 
  460.  
  461.      card.  LOAD the program and LIST 2000-3000  to see the SYSTEM  CON-
  462.  
  463.      FIGURATION  list.  The  first item sets the video  card  choice  to 
  464.  
  465.      either be automatically set to whatever you choose in the next line 
  466.  
  467.      (2030)  or  you can leave it in manual so you answer  the  question 
  468.  
  469.      about  the  card every time you view a picture. The  BR  brightness 
  470.  
  471.      parameter  is like the Color level control on a TV, and it and  the 
  472.  
  473.      TU tuning parameter are only applicable to the Robot modes. Setting 
  474.  
  475.      TU to 1 will give you retune capability in 10 cps increments  which 
  476.  
  477.      allows best resolution in setting the color balance (or hue)  using 
  478.  
  479.      the  F and G keys (note that the F stands for Frequency tuning  and 
  480.  
  481.      the  G stands for Greener). The next  item is the picture  trimming 
  482.  
  483.      parameter,  PT, which you may want to change occasionally.  If  you 
  484.  
  485.      have  a  pix with trash still showing on the right  edge,  you  can 
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.      raise  PT to trim more off the edge. You can change  the  parameter 
  494.  
  495.      and  RUN the program without SAVEing it or you can make the  change 
  496.  
  497.      permanent by SAVEing it. The final item, EX,  allows you to  expand 
  498.  
  499.      the  pictures that have less bytes per line, such as Martin  2  and 
  500.  
  501.      Scottie  2, to fill the screen. This aggravates any copying  anoma-
  502.  
  503.      lies but gives the more correct perspective for these modes.  Since 
  504.  
  505.      these  modes send only about 1/2 the bytes and use 1/2 the time  of 
  506.  
  507.      Scottie 1 and Martin 1, their fidelity is inherently worse, partic-
  508.  
  509.      ularly in less than optimum conditions.
  510.  
  511.  
  512.  
  513.      RT.BAS
  514.  
  515.           This  will be  the most used program, since you will  spend  a 
  516.  
  517.      lot   more  time receiving than anything else. To view  the  SYSTEM 
  518.  
  519.      CONFIGURATION for the program activate BASIC as described above and 
  520.  
  521.      LOAD"RT.  Now LIST (hit F1) 3000-6000. Move the cursor up  to  line 
  522.  
  523.      3030  where  the video card selection is made and type  in  the  VC 
  524.  
  525.      selection  you found worked in VU.BAS. Hit ENTER and then move  the 
  526.  
  527.      cursor back to the bottom of the screen.       
  528.  
  529.           The RAMDISK designation that is stated on the screen when  you 
  530.  
  531.      boot the system will be inserted in line 3050. Most likely it  will 
  532.  
  533.      be "D", unless you have extra disk drives. The COM port you  select 
  534.  
  535.      will  be noted in line 3170. After making the selections, move  the 
  536.  
  537.      cursor into the clear and LIST 3000-6000 to make sure you got  what 
  538.  
  539.      you  wanted.  Note that when you change anything in a line  on  the 
  540.  
  541.      screen,  you must hit ENTER to actually change it in  the  program. 
  542.  
  543.      Also be sure to move the cursor in the clear before hitting any  of 
  544.  
  545.      the  Function  keys. Now SAVE the program as RT.BAS.  Some  of  the 
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.      other CONFIGURATION items may need to be changed later.
  554.  
  555.           You  are  now ready to check out the interface box  with   the 
  556.  
  557.      program.  Plug in the interface to the selected COM port  and  feed 
  558.  
  559.      audio  from the receiver into it--noise will be OK. Hit F2  to  run 
  560.  
  561.      the program and select mode 6 and ENTER. Normally the program  will 
  562.  
  563.      wait  until it receives a header before it begins to copy.  But  if 
  564.  
  565.      you miss the header, you can bypass that step by hitting  SPACEBAR. 
  566.  
  567.      In this case, with noise or voice audio, you'll need to bypass  the 
  568.  
  569.      header start, so hit SPACEBAR. If you get a tone with a tick super-
  570.  
  571.      imposed  on  top  of it, you know that the system  is  copying  the 
  572.  
  573.      incoming signal. If nothing happens or you get a steady tone  with-
  574.  
  575.      out any tick, the fax audio isn't getting into the serial port. You 
  576.  
  577.      could have plugged into  the wrong COM port (surprizing how confus-
  578.  
  579.      ing COM port numbering is!) or the audio  may not be getting to the 
  580.  
  581.      interface.  You'll  have to reboot the computer if  you  can't  get 
  582.  
  583.      audio  in to start the copying.  (A few people have gotten to  this 
  584.  
  585.      point and got a single interrupted tone and the computer hangs  up. 
  586.  
  587.      This  occurs  when  you try to use a Tandy GWBASIC.)  The  tick  is 
  588.  
  589.      fairly  brisk,   about 2 per second. If it is very slow,  you  have 
  590.  
  591.      some  resident program interfering or you may be trying to run  the 
  592.  
  593.      program  from Windows. Windows slows processing  down  drastically,  
  594.  
  595.      so  the timing-critical   transmit and receive programs  cannot  be 
  596.  
  597.      run  from Windows.  The most common problem with the  interface  is 
  598.  
  599.      wiring  errors. The pin numbers on the opamp seem to get  mixed  up 
  600.  
  601.      with the pin numbers on the COM port plug.
  602.  
  603.           Once you get the machine ticking, let it run for 30 seconds or 
  604.  
  605.      so  and  then hit H (for Halt) to stop the copying.  The  tone-tick 
  606.  
  607.      should stop and after a brief delay, you should get an image on the 
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.      screen---in this case it will be multi-colored noise. After looking 
  616.  
  617.      at  the image, you hit Q  (for Quit) to exit the image. You can now 
  618.  
  619.      choose  to SAVE the image, retransmit  the image, transmit  another 
  620.  
  621.      file,  or  return to BASIC where you can hit F2 to  setup  to  copy 
  622.  
  623.      another  picture.  The major keys to remember  are  SPACEBAR  which 
  624.  
  625.      bypasses the frame sync and starts the ticking, then H which  halts 
  626.  
  627.      the  ticking and advances you to a picture, and then Q which  exits 
  628.  
  629.      the picture. You should now be ready to copy real pictures. 
  630.  
  631.           Tune to 14230, the most used SSTV frequency and carefully tune 
  632.  
  633.      in the voice of a transmitting SSTV station to make it sound  natu-
  634.  
  635.      ral. If you have pass band tuning or other methods for shifting the 
  636.  
  637.      received  passband,  move the passband to attenuate the  lows.  The 
  638.  
  639.      lowest  frequency  used is 1100 hz. When the station  announces  it 
  640.  
  641.      will  send  a  certain mode, select that mode  quickly  and  ENTER. 
  642.  
  643.      Different  modes  have different  header lengths---AVT  and  FAX480 
  644.  
  645.      headers  are quite long before they start the picture. The  picture 
  646.  
  647.      copying  should start properly synchronized. On everthing but  AVT, 
  648.  
  649.      this   should be almost immediately after the fax audio begins.  If 
  650.  
  651.      no  ticking starts (give it enough time for the long header on  AVT 
  652.  
  653.      pictures), you missed the header so hit SPACEBAR to bypass. Let the 
  654.  
  655.      copying run until the machine turns itself off (or if you tuned  in 
  656.  
  657.      late  you  may need to Halt when the picture ends).  It  then  will 
  658.  
  659.      display what it copied. The pictures are intentionally offset  just 
  660.  
  661.      a  little to facilitate easy scrolling to position the pix  exactly 
  662.  
  663.      if  you choose to SAVE it or retransmit it. Use the right arrow  to 
  664.  
  665.      drop  the trash off the left edge of the picture and then  use  the 
  666.  
  667.      fine step left arrow to just bring the trash back to the left  edge 
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.      (look  at the right edge to see what you are doing). The  trash  on 
  676.  
  677.      the right will be trimmed off by the VUing program. If it is a  256 
  678.  
  679.      line  picture  (Scottie, Martin, etc.), it will have  16  lines  of 
  680.  
  681.      shades  of gray display so you'll want to scroll down  to see  what 
  682.  
  683.      fell off the bottom of the screen (there are only  240 lines avail-
  684.  
  685.      able  on the screen). The transmit program adds the 16 line  shades 
  686.  
  687.      of  "gray" display to whatever file it is asked to send, so if  you 
  688.  
  689.      don't  scroll down before saving or retransmitting you'll  transmit 
  690.  
  691.      two  such displays and less picture. (Actually, we use a shades  of 
  692.  
  693.      red  and shades of green display since the gray  looks  incongruous  
  694.  
  695.      with  all the other pretty colors. This was promptly reported as  a 
  696.  
  697.      "fault" by some folks. C'est la vie !). To facilitate scrolling the 
  698.  
  699.      shades of gray out of the picture, the key D (for Down) will scroll 
  700.  
  701.      you down at 8 lines per hit.  
  702.  
  703.           If  the  picture mode was a Robot mode the  three  frames  are 
  704.  
  705.      different  widths  (the  chroma frames are 1/2 the  B/W  frame)  so 
  706.  
  707.      scrolling  affects  the color registration--you scroll to  get  the 
  708.  
  709.      proper color registration. Then you use keys F and G to retune  the 
  710.  
  711.      signal in 10 hz increments to optimise the color balance. The Robot 
  712.  
  713.      modes  are  critical to tuning and deteriorate more  rapidly  under 
  714.  
  715.      poor  conditions so on average don't expect to see  equivalence  to 
  716.  
  717.      Scottie modes. 
  718.  
  719.           When  you SAVE a pix or retransmit it, DO carefully scroll  it 
  720.  
  721.      so the trash on the left edge of the picture is JUST BARELY off the 
  722.  
  723.      left  edge  of  the screen. The transmit program is  based  on  you 
  724.  
  725.      having done that.
  726.  
  727.           Occasionally,  some  one will send a pix in a  mode  different 
  728.  
  729.      from  what  was announced. Let it go ahead and copy  and  after  it 
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.      shuts  off you can go to BASIC, LOAD VU.BAS and click  through  the 
  738.  
  739.      mode  choices using the d:a.p default file name to find  the  right 
  740.  
  741.      mode.  The picture probably will be skewed slightly, but you  don't 
  742.  
  743.      lose the whole thing.
  744.  
  745.           Make  a  practice  of listening to the fax  signals  and  soon 
  746.  
  747.      you'll be able to tell what mode it is with the tick rate being the 
  748.  
  749.      most  recognizable  feature.  The AVT's  have  a  very  distinctive 
  750.  
  751.      "triple  chirp" beginning (VIS code repeated 3 times)  with a  pro-
  752.  
  753.      longed  count down to start and finally the pix starts with a  more 
  754.  
  755.      irregular  sound.  It doesn't appear justified to me  for  the  AVT 
  756.  
  757.      modes to spend so much time on the header. As the number of  people 
  758.  
  759.      using  color fax grows, you can expect some attrition of modes  that 
  760.  
  761.      do not use on-the-air time efficiently. The AVT's don't waste  time 
  762.  
  763.      on line sync's but then they blow it on the header.
  764.  
  765.           This program was in the development cycle when WB8DQT came out 
  766.  
  767.      with his FAX480. It was easy to add this mode to the software, so I 
  768.  
  769.      did.  He only had 16 shades of gray--my 64 shades processing  gives 
  770.  
  771.      truly  photographic  quality to this mode. Unfortunately,  he  suc-
  772.  
  773.      cumbed  to the "header syndrome" and loaded up what is a  very  good 
  774.  
  775.      mode with another excessive header (based on unattended  commercial 
  776.  
  777.      fax  machines). I rebelled at this and decided not to make  another 
  778.  
  779.      header  decoder but to just wait until most  of the 20 empty  lines 
  780.  
  781.      in the header were finished to hit SPACEBAR to start it manually  ; 
  782.  
  783.      so that's how you have to manually acquire the FAX480 pictures. The 
  784.  
  785.      empty  lines are readily recognizable by ear. If he had just put  a 
  786.  
  787.      VIS  header  like Scottie on the front end, and  called it  a  high 
  788.  
  789.      resolution B/W SSTV mode, it would have worked great and would have 
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.      been  more welcome on 14230. The obsession with starting "in  sync" 
  798.  
  799.      every  time comes from paper type fax systems. With a  CRT  system,  
  800.  
  801.      the occasional out of sync condition just requires a little scroll-
  802.  
  803.      ing. Perhaps the next revision will include header recognition  for 
  804.  
  805.      this mode.
  806.  
  807.           As  I  sit here writing this, it occurs to me that  we  should 
  808.  
  809.      create  another fax standard. We'll use the full screen instead  of            
  810.  
  811.      wasting  room for a few easily remembered key commands, so it  will 
  812.  
  813.      have  640x480 pixels with 64 gray shades per pixel. That will  just 
  814.  
  815.      fit  within the 640 kb. limit in RAM. The header will be  identical 
  816.  
  817.      to the Scottie 1 except the VIS code will be different. Let's  call 
  818.  
  819.      it  FAX640 and we'll assign mode number 96 to it. For the VIS  code 
  820.  
  821.      we'll  also  use 96 (hexidecimal  &H60). The line sync   and  pixel 
  822.  
  823.      rate  will be identical to the FAX480. Since the system pixel  rate 
  824.  
  825.      gives  1024 pixels in 0.5 seconds to match the weather  fax  stand-
  826.  
  827.      ards,  our  line  timing for 640 pixels will be  0.3125  +  0.00512 
  828.  
  829.      seconds  per  line (data + line sync). It should only  take  a  few 
  830.  
  831.      hours  to add mode  96 to this program and all the supporting  pro-
  832.  
  833.      grams. Since most pictures from frame grabbers or other sources are 
  834.  
  835.      in  640x480 format, picture reformatting will be simplified.  Maybe 
  836.  
  837.      I'll add the FAX640 mode to the next revision of the software.
  838.  
  839.           When  you're finished with the picture, hit Q to go back to  a 
  840.  
  841.      selection screen. You can retransmit the picture directly from  the 
  842.  
  843.      d:a.p file where it is stored. Or you can SAVE it.
  844.  
  845.           You'll be very happy about now if your computer is at least as 
  846.  
  847.      fast as mine, and it's TIME clock loses exactly as many seconds per 
  848.  
  849.      day as mine does. If that is not the case, you will have seen  some 
  850.  
  851.      slant to the sides of  the picture and maybe even some  break-locks 
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.      on  the sync (looks like someone cut the photo and slid the  bottom 
  860.  
  861.      half to the left). The parameters which affect these things are  on 
  862.  
  863.      the SYSTEM CONFIGURATION list (LIST 3000-6000). If you have a  slow 
  864.  
  865.      computer  it may have bad breakup---if that is the case,  start  by 
  866.  
  867.      doubling  the  sync  window (SW). If there  aren't  too  many  sync 
  868.  
  869.      breaks,  ignore them for now and concentrate on adjusting the  line 
  870.  
  871.      timing, LT, first. Since the Navy Wefax is on the air all the  time 
  872.  
  873.      (on  USB on frequencies 3354.9, 8077.9, 10862.9 and 16407.9  Khz.), 
  874.  
  875.      that might be a good choice to set first. Choose mode 99 and answer 
  876.  
  877.      the questions  or accept the default choices. This is the only mode 
  878.  
  879.      that  offers a choice of manual start. If you choose  AUTO-SYNC  in 
  880.  
  881.      this mode as in all other modes you can bypass it by hitting SPACE-
  882.  
  883.      BAR  if  the SYNC doesn't  show---which happens more often  in  the 
  884.  
  885.      Wefax transmissions. Scroll the image to put some vertical line  in 
  886.  
  887.      the picture against the edge of the screen. If the top leans right, 
  888.  
  889.      lower LT99 and vice versa. You can converge on the right value more 
  890.  
  891.      quickly  if you use a ruler to measure and record  the  out-of-true 
  892.  
  893.      across  the top of the screen for each value of LT you try. If your 
  894.  
  895.      screen  aspect is the same as mine, the formula for the  correction 
  896.  
  897.      is  1125 TAN X, where X is the angle off vertical. Or if you  count 
  898.  
  899.      the pixels you are off by at  the bottom of the screen, the correc-
  900.  
  901.      tion is about 1125/240 times the pixel offset. That is, measure the 
  902.  
  903.      pixel offset and multiply it by 4.7.
  904.  
  905.           The  most common mode being used on 14230 seems to be  Scottie 
  906.  
  907.      1,  so that will be a good SSTV mode to align first.  PLEASE  DON'T  
  908.  
  909.      ask  people to just transmit for your alignment use. Take  whatever 
  910.  
  911.      gets  sent. Once you determine what the exact correction  for   one 
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.      mode  is you can calculate the correction for all the other  modes. 
  920.  
  921.      The  corrections  will  tend to scale with line  lengths  (ie,  the 
  922.  
  923.      bytes/line) so you can get very close by taking the correction  for 
  924.  
  925.      one mode and adjusting it for other modes. For example, the Scottie 
  926.  
  927.      1  mode has 878 bytes/line. If we found that it's line timer,  LT3, 
  928.  
  929.      had  to  be  increased  by  25  counts,  then  the  Martin  1  (915 
  930.  
  931.      bytes/line) timer, LT7, would be increased by 915/878 times 25 = 26 
  932.  
  933.      counts.  For  reference  the bytes/line for each  mode  is:  (1)306 
  934.  
  935.      (2)614  (3)878  (4)568 (5)768 (6)960 (7)915 (77)465  (8)745  (9)546 
  936.  
  937.      (99)1024. You may need to do a little more trimming on these calcu-
  938.  
  939.      lated values for LT. Reports from other users indicates the  calcu-
  940.  
  941.      lated  corrections are usually right on target, however.  PLEASE  DO 
  942.  
  943.      take the trouble to make the pictures exactly square on receive  as 
  944.  
  945.      any  skew you leave in will be transmitted to the world every  time 
  946.  
  947.      you send a picture. Fortunately, the exact same timing numbers  are 
  948.  
  949.      used  for  transmit, so you can get your  transmit  alignment  done 
  950.  
  951.      without  even  transmitting. Believe me, the people on  14230  will 
  952.  
  953.      appreciate that courtesy.
  954.  
  955.           I have read a suggestion on one of the BBS that you use a tape 
  956.  
  957.      recorder to copy a picture off the air and then play that back  for 
  958.  
  959.      alignment.  This  will  be a futile exercise unless   you  have  an 
  960.  
  961.      extremely  precise professional recorder (the line SYNC  window  in 
  962.  
  963.      this system is only a few microseconds !). While most people  oper-
  964.  
  965.      ating on the non-Robot modes have pretty accurate line timing,  the 
  966.  
  967.      Robot systems vary all over depending on how many updates a partic-
  968.  
  969.      ular  station has. You can use the non-synchronous modes, (11)  for 
  970.  
  971.      Robot 36 and (22) for Robot 72, on receive to avoid having to align 
  972.  
  973.      the Robot LT's but eventually you'll want to retransmit a Robot pix 
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.      and  it  would  be desirable to  have  determined  the  synchronous 
  982.  
  983.      (ie,crystal-locked) alignment---on modes (1) and (2)---with an  up-
  984.  
  985.      to-date Robot equipped station like W5ZR or N4OBQ. Note that LT1 is 
  986.  
  987.      exactly  1/2 of LT2 so you only need to experimentally  align  one. 
  988.  
  989.      The  calculated  value  for this correction on Robot  will  be  far 
  990.  
  991.      better  than you'll get by trying to align to just any station  you 
  992.  
  993.      happen to hear. I heard a lengthy exercise on 14230 recently  which 
  994.  
  995.      illustrated  how NOT to do this. A station with this  system  asked 
  996.  
  997.      W7--- to send him a Robot picture so he  could align his  LT (which 
  998.  
  999.      is  a no-no). The W7 was using a Pasokon which has  different  line 
  1000.  
  1001.      timing  from the Robot systems (on the Robot modes and  the  Wraase 
  1002.  
  1003.      96),  so the frequency was tied up for an extended period  of  time 
  1004.  
  1005.      aligning  to the wrong standard. Remember the SSTV frequencies  are 
  1006.  
  1007.      like giant party-line phones with many people listening and waiting 
  1008.  
  1009.      to  send  or copy pictures. Move your extended chit-chat  to  other 
  1010.  
  1011.      frequencies.  Since  almost  everyone has  resigned  themselves  to 
  1012.  
  1013.      copying  Robot  modes using Line-Sync due to the  wide  variety  of  
  1014.  
  1015.      timings,  the  benefits of crystal locked  reception of  the  Robot 
  1016.  
  1017.      will  only be available to those who bother to set their timing  to 
  1018.  
  1019.      the  Robot  standard, and is communicating with a station  who  has 
  1020.  
  1021.      done the same thing. When making these LT adjustments, note that if 
  1022.  
  1023.      you  pick anything but the BASIC choice when you exit the  picture, 
  1024.  
  1025.      you will lose any temporary changes you have made to the CONFIGURA-
  1026.  
  1027.      TION list. When you get perfectly square pictures, SAVE the program 
  1028.  
  1029.      with  the latest LT value. The program will only accept values  for 
  1030.  
  1031.      LT  up to 65,535. You start over with 0  if you need  greater  num-
  1032.  
  1033.      bers.
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.           After aligning LT, if you still have any sync breaks, you will 
  1042.  
  1043.      need  to  lower the Gross Timer. The process here is  identical  to 
  1044.  
  1045.      trying to fit tiles into a fixed size room. We've squared the  room 
  1046.  
  1047.      with  LT. We have a few hundred tiles  (pixels) to squeeze  into  a 
  1048.  
  1049.      room  which has a fixed size (LT) and if the tiles are  too   wide,  
  1050.  
  1051.      the  last tile will  run into the wall  and break sync. The  number 
  1052.  
  1053.      for GT represents the width of each tile  (pixel). Decreasing it by 
  1054.  
  1055.      1  will slice one microinch (microsecond) off of every   tile.  You 
  1056.  
  1057.      can slice several microinches off each tile  (maybe decrease GT  by 
  1058.  
  1059.      5)  so you're sure it  will fit but that may leave an ugly  gap  at 
  1060.  
  1061.      the  edge  of the floor. You can cover that over with trim  at  the 
  1062.  
  1063.      edge  of  the floor, but if you copy the picture  out-of-sync  that 
  1064.  
  1065.      ugly gap moves into the middle of the floor (picture). So you  want 
  1066.  
  1067.      to  make GT low enough to eliminate any occasional break  locks  but 
  1068.  
  1069.      not so low as to leave an ugly gap which will show up when you miss 
  1070.  
  1071.      sync  on a picture. If your computer is very fast, the  measurement 
  1072.  
  1073.      accuracy  for  each pixel (tile) will be more precise, so  you  can 
  1074.  
  1075.      stack the pixels with less gap at the edge without having the  risk 
  1076.  
  1077.      of  running into the "wall" set by LT. If you have sync  breaklocks 
  1078.  
  1079.      that  seem  independent  of the GT value, you need  a  larger  Sync 
  1080.  
  1081.      Window  (SW). The SW represents the amount of time in  microseconds 
  1082.  
  1083.      it takes the computer to decide if  it's at the LT "wall". Obvious-
  1084.  
  1085.      ly, a slower computer needs more time.
  1086.  
  1087.           You  may ask why we chose to use only one pixel  (tile)  size, 
  1088.  
  1089.      GT,  to fit all these different modes (rooms) with  different  line 
  1090.  
  1091.      timing  (widths).  It  was just a matter of  convenience.  You  can 
  1092.  
  1093.      further  optimise  the  system by using a  different  GT  for  each 
  1094.  
  1095.      mode---in fact, with the deterioration you might get from a  slower 
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.      computer, this could be quite worthwhile. You will note that we  did 
  1104.  
  1105.      use a different GT (GT99) in the Wefax mode.  Remember, the way  to 
  1106.  
  1107.      see this effect is to copy a picture out-of-sync and look carefully 
  1108.  
  1109.      at the results at the parting line and on either side of that  line 
  1110.  
  1111.      look  at the color registration. Since the AVT modes have  no  line 
  1112.  
  1113.      sync period in which to hide this "gap", the effect is more notice-
  1114.  
  1115.      able there.
  1116.  
  1117.           People  who have not seen SSTV pictures are usually struck  by 
  1118.  
  1119.      the  fact that many of them are noisy--in fact, anything  you  hear 
  1120.  
  1121.      (noise,  splatter, QRM, etc.)will be painted into the  picture.  So 
  1122.  
  1123.      high S/N ratios are needed for flawless pictures. Narrowing the  BW 
  1124.  
  1125.      will  help  some, but at some point will smear the  picture  bytes. 
  1126.  
  1127.      Another  source  of noise was found by KY1S in a  serial  interface 
  1128.  
  1129.      board  (made by Data Technology Corporation) which he  changed  out 
  1130.  
  1131.      for  another board he had which was clean. I have heard of  several 
  1132.  
  1133.      other  cases  since then which were solved the same  way.  Opinions 
  1134.  
  1135.      have  been heard that this is more common on the newer boards.  The 
  1136.  
  1137.      effect  varies from a few flecks in the pix to very noisy pix  even 
  1138.  
  1139.      with  very strong signals. These I/O boards are very cheap ($10  to 
  1140.  
  1141.      $15) but finding which ones work may take a little research on  the 
  1142.  
  1143.      air.
  1144.  
  1145.           Signal modulation can also come from your receiver. My  TS930S 
  1146.  
  1147.      is  completely clean while an old ICOM-720 which I use on the  boat 
  1148.  
  1149.      gives  noticeable hum bars in the pictures even though there is  no 
  1150.  
  1151.      detectable  hum in the audio. Clearly, the 120 cycle  is  frequency 
  1152.  
  1153.      modulating  the high frequency phase-lock loop in the IC720 but  it 
  1154.  
  1155.      was undetectable until I copied SSTV. With such a sensitive way  of 
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.      seeing  it,  I  intend to fix it; and I won't be  surprised  if  it 
  1164.  
  1165.      improves  my  SSB voice signal. Both of these cases may be  due  to 
  1166.  
  1167.      design  faults or just to the particular piece of  hardware.  Point 
  1168.  
  1169.      is, SSTV shows up shortfalls in hardware very clearly!
  1170.  
  1171.           You need at least 512 kb. of memory on the video board to copy 
  1172.  
  1173.      the SSTV modes. The Wefax copying optimally will need 1 mb. But the 
  1174.  
  1175.      provisions  are  made  in the VUing program to look  at  Wefax  pix 
  1176.  
  1177.      through  a  640x480  window. The program  provides  1024x768  Wefax 
  1178.  
  1179.      viewing  on video card choices Trident, Tseng, and VESA  only.  The 
  1180.  
  1181.      normal Wefax image has 1024 pixels per line and 1536 lines, so  you 
  1182.  
  1183.      only  see a portion of the total image at a time. The keys  S  (for 
  1184.  
  1185.      Shrink)  and X (for eXpand) can be used to see more or less on  the 
  1186.  
  1187.      screen. Also, if you are using the 1024x768 screen, you can get  an 
  1188.  
  1189.      expanded view of a portion of the pix by switching to 640x480.  Try 
  1190.  
  1191.      copying  maps in the Wefax mode. You'll be able to read the  really 
  1192.  
  1193.      small print ! If you want to print a copy of the map, position  the 
  1194.  
  1195.      place on the map where you'd like the printer to begin to the upper 
  1196.  
  1197.      left  corner of the screen and hit P to start the printer.  Hitting 
  1198.  
  1199.      any key will stop the printer.
  1200.  
  1201.           The  Wefax images initially appear in 64 gray shades. You  can 
  1202.  
  1203.      choose  color  palettes 1 through 5 for various  effects.  This  is 
  1204.  
  1205.      useful for seeing ocean thermal currents like the Gulf stream on IR 
  1206.  
  1207.      images (you can identify IR images as the black sky will be  white; 
  1208.  
  1209.      ie,cold). Cold is white and warm is black  in IR images. Or you can 
  1210.  
  1211.      take  a  vertical profile of the clouds by first hitting G  to  get 
  1212.  
  1213.      Gray,  then hit C to Color the top (coldest) layer. Each  time  you 
  1214.  
  1215.      add another C, you color the next lower level. A total of 64 levels  
  1216.  
  1217.      are  available. This is useful to identify the more severe  weather 
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.      which  generally boils up to higher altitudes. When you use one  of 
  1226.  
  1227.      the  color palettes, C can also be used to step through  the  color 
  1228.  
  1229.      palettes  to highlight visibility of small temperature  differences 
  1230.  
  1231.      at sea level to see things like ocean currents. These currents  are 
  1232.  
  1233.      of particular interest to fishermen.
  1234.  
  1235.           A portion of a Wefax pix may be saved in FAX480 format. You're 
  1236.  
  1237.      seldom  interested in the whole image and it takes a lot of  memory 
  1238.  
  1239.      to save the whole thing. I use date/time/mode filenames for  these. 
  1240.  
  1241.      28MY123V.FAX  denotes  1230Z on May 28 in Visual mode.  Scroll  the 
  1242.  
  1243.      Wefax image to put the portion to be saved in the upper left corner 
  1244.  
  1245.      of  the screen (you save 536x480 pixels--I use pencil marks  on  my 
  1246.  
  1247.      CRT  to  mark these borders). When you or someone you  send  it  to 
  1248.  
  1249.      views  this  pix with VU, you select the Wefax mode (99)  and  when 
  1250.  
  1251.      queried  about screen size take the choice FAX480 PIX.  This  gives 
  1252.  
  1253.      you the colorizing choices of Wefax described above for viewing  IR 
  1254.  
  1255.      pixes. Or just VU it as a B/W FAX480 pix.
  1256.  
  1257.           One  last item on RT.BAS is the parameter, DE, on  the  SYSTEM 
  1258.  
  1259.      CONFIG  list. I made this delay DE=0 to suit my own practice.  This 
  1260.  
  1261.      value  starts the picture copying a little early, so you'll  always 
  1262.  
  1263.      need to hit the right arrow first to scroll  into picture left edge 
  1264.  
  1265.      coincidence.  You  may  prefer to set it to start  at  the  picture 
  1266.  
  1267.      beginning--accepting  the risk that QRM will occasionally  make  it 
  1268.  
  1269.      start  late. If it starts late, you will move the "edge  of  floor" 
  1270.  
  1271.      gap  into the active picture region instead of hiding it under  the 
  1272.  
  1273.      SYNC period. You must set DE to numbers less than 256. Generally  it 
  1274.  
  1275.      will be less than 20.
  1276.  
  1277.           When you manually select the mode, the frame SYNC for the non-
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.      AVT modes is fairly simple and can be spooked  by any 1200 hz  tone 
  1286.  
  1287.      of adequate length. This has not proved to be a problem except  for 
  1288.  
  1289.      a very few stations. For some reason, the Robot (?) systems have  a 
  1290.  
  1291.      capability  to send your call sign in CW at the beginning  (instead 
  1292.  
  1293.      of  at  the end ?) of picture transmission and they  chose  to  use 
  1294.  
  1295.      keyed  1200  hz. Most people have turned off this  feature  (giving 
  1296.  
  1297.      your  call sign verbally, immediately followed by giving it in  CW, 
  1298.  
  1299.      followed  by  a picture with your call sign on it seems a  tad  too 
  1300.  
  1301.      often) since it uses valuable on-the-air time unnecessarily. A  few 
  1302.  
  1303.      gentle reminders may fix this problem. With a little dexterity, you 
  1304.  
  1305.      can hit the mode ENTER key on the last character of the CW and  get 
  1306.  
  1307.      a normal start--or just wait until start and bypass with the SPACE-
  1308.  
  1309.      BAR for any stations which continue to use this feature.
  1310.  
  1311.           Since the above paragraph was written, I  have added automatic 
  1312.  
  1313.      VIS recognition to the program. You need to be within 50 cps of the 
  1314.  
  1315.      transmitting  station's frequency for this to work well  since  the 
  1316.  
  1317.      VIS  frequencies  are so close. Unfortunately, people  have  gotten 
  1318.  
  1319.      careless  about  being right  on  frequency. When you  select  this 
  1320.  
  1321.      option, the mode name is displayed as soon as it is recognised. You 
  1322.  
  1323.      can  break out of this mode by hitting any key, so if it  fails  to 
  1324.  
  1325.      grab  and  start copying, you can hit the proper mode key  and  hit 
  1326.  
  1327.      ENTER  twice  to  start manually. This detection is  made  to  have 
  1328.  
  1329.      almost  a zero chance of false alarm, and it also only  works  with 
  1330.  
  1331.      fairly  good   signals.  Since I wanted to use  it  for  unattended 
  1332.  
  1333.      operation to copy only fairly noise free pictures, this fits  fine. 
  1334.  
  1335.      It's  sensitivity can be changed by playing with the parameters  in 
  1336.  
  1337.      lines 2605, 2606, 2607 of the RT program.
  1338.  
  1339.           I  have made several versions of the VIS  recognition  machine 
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.      language  .ASM module; namely VISCODE.ASM, VISCODEA.ASM and  VISCO-
  1348.  
  1349.      DEB.ASM: but have been unable to decide which is best under mistun-
  1350.  
  1351.      ing,  QRM, etc. Not wanting to hold up the release of this  version 
  1352.  
  1353.      of  the software, I have included copies of all 3 so you  can  have 
  1354.  
  1355.      the  fun of evaluating them. You just type the one you want to  try 
  1356.  
  1357.      into line 471 of RT.BAS. Any feedback  will be appreciated. 
  1358.  
  1359.           Another mode added provides Auto-recognition plus Save to give 
  1360.  
  1361.      you unattended capability. It ignores weak signals. You can  select 
  1362.  
  1363.      any  drive\path   to  Save the pix in. I use the RAMDISK  so  if  I  
  1364.  
  1365.      forget it's turned on I won't fill up my hard disk. When I return I 
  1366.  
  1367.      use  d:>ss (ie, Slidesho) to view what was received to decide  what 
  1368.  
  1369.      to save more permanently. This program puts itself into an  endless 
  1370.  
  1371.      loop  so you have to exit it by using CTRL-BREAK. If  it's  waiting 
  1372.  
  1373.      for  a new picture you may need to also hit another random key.  If 
  1374.  
  1375.      you  copy (or REName) the desired file in the RAMDISK to d:a.p  you 
  1376.  
  1377.      can  then  LOAD RT: make a temporary change to RT by typing  a  new 
  1378.  
  1379.      line  880-----880 GOTO 890----and then RUN the program. Select  the 
  1380.  
  1381.      mode the picture was copied in and ENTER. The pix will appear as if 
  1382.  
  1383.      it was just copied and you can rescroll it if needed and then  save 
  1384.  
  1385.      it permanently. Since AVT modes have both  a VIS code and a compli-
  1386.  
  1387.      cated  frame SYNC sequence, you can get hung up by passing the  VIS 
  1388.  
  1389.      test but missing the frame SYNC test, so I just bypassed the  frame 
  1390.  
  1391.      SYNC  and copy them out of SYNC. You can eliminate line 724 if  you 
  1392.  
  1393.      want to keep the frame SYNC. Don't forget to clear out the  RAMDISK 
  1394.  
  1395.      for  future copying. You can tell when the RAMDISK gets  full  when 
  1396.  
  1397.      you copy a pix and it only fills part of the screen. 
  1398.  
  1399.           In my experience with the previous wefax programs, I have only 
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.      seen one computer (a name brand laptop) which didn't have a proper-
  1408.  
  1409.      ly  operating crystal-controlled clock. I have heard of one  other. 
  1410.  
  1411.      The  sympton  is the lines in the pix wander all  over  the  place. 
  1412.  
  1413.      You'll have to fix the clock to crystal-controlled stability to use 
  1414.  
  1415.      these  programs  if you run into this. We have seen one  case  like  
  1416.  
  1417.      this  which only broke out of crystal-lock in Transmit. This was  a 
  1418.  
  1419.      486  machine  and K3OWX solved it by going out of the  turbo  mode. 
  1420.  
  1421.      There  is some general trend we have noted that the crystal  clocks 
  1422.  
  1423.      are not being held to as stringent tolerances as before.               
  1424.  
  1425.                                                                                                                                                                                                                                                                                                                                                  
  1426.  
  1427.      TX.BAS
  1428.  
  1429.           [NOTE:  The TX program has been superceded by the VT.BAS  pro-
  1430.  
  1431.      gram below, so it is not being kept updated with new changes. Since 
  1432.  
  1433.      there  may be someone with a very slow computer who might  want  to 
  1434.  
  1435.      still use TX instead of VT, it is still included.]
  1436.  
  1437.           The  transmit  program  uses  the  same  SYSTEM  CONFIGURATION 
  1438.  
  1439.      choices  as the receive (RT.BAS) program, so the first step  is  to 
  1440.  
  1441.      transfer  those  choices.  LIST 1000-2000 to  see  the  choices  on 
  1442.  
  1443.      TX.BAS. Be sure to put the cursor in the clear and re-LIST to check 
  1444.  
  1445.      things before SAVEing the modified program. Note that if you  don't 
  1446.  
  1447.      put the cursor in the clear before hitting a function key, it  will 
  1448.  
  1449.      type  the function key word right where the cursor is,  over-writing 
  1450.  
  1451.      the program and giving some weird results.
  1452.  
  1453.           Running TX.BAS is very simple. Put  the transmitter in VOX  if 
  1454.  
  1455.      it  isn't already there. You select the file you want to  send  and                                                                                                         
  1456.  
  1457.      note  what  mode suffix it has. The mode suffix and file  name  are 
  1458.  
  1459.      given when the program asks for them and after the file loads,  you 
  1460.  
  1461.      just  hit  G  to start transmitting. If  you  give  a  non-existing 
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.      path/filename, the program will return you to the BASIC "Ok"  where 
  1470.  
  1471.      you can hit F2 to try again. In this case ignore the Picture Trans-
  1472.  
  1473.      mitted message---it should be obvious that nothing has been  trans-
  1474.  
  1475.      mitted. When you key G to start transmitting, the VOX  will come on 
  1476.  
  1477.      and  the header is transmitted. The tone-tick audio cue will  start 
  1478.  
  1479.      when  the actual picture starts being transmitted. If you  want  to 
  1480.  
  1481.      terminate  the sending before the picture is finished, key  H  (for 
  1482.  
  1483.      Halt).  Listen to the ticks to see that they are very  regular.  If 
  1484.  
  1485.      you  hear a skip, someone on frequency will probably tell you  that 
  1486.  
  1487.      the picture had a break-sync. Although it didn't happen on the  two 
  1488.  
  1489.      computers  I  have, it's conceivable that a different GT  might  be 
  1490.  
  1491.      needed  for TX.BAS since the overhead processing done on each  line 
  1492.  
  1493.      is different from the receive program. If that is the case, use the 
  1494.  
  1495.      lower of the two values for GT in both programs. A better  alterna-
  1496.  
  1497.      tive  to lowering GT is available if the offending mode is  NOT  AN 
  1498.  
  1499.      AVT  MODE. You can LIST 240-370 in the TX.BAS program   and  locate 
  1500.  
  1501.      the  line that has the data for the offending mode (ie, 290 IF  I=4 
  1502.  
  1503.      THEN LL=568 etc.etc. is the line for Mode 4). That line will have a 
  1504.  
  1505.      value  called  out for a parameter SC, which is the number  of  1/2 
  1506.  
  1507.      cycles of 1200 hz line sync that will be sent on each line.  Lower-
  1508.  
  1509.      ing  this value will fix your problem (equivalent to  removing  one 
  1510.  
  1511.      "tile"). It's very unlikely you'll need to do either. Incidentally, 
  1512.  
  1513.      don't  try  to send a picture in a mode other than the  one  it  is 
  1514.  
  1515.      formatted  for. Hopefully I can find time to include a mode  refor-
  1516.  
  1517.      matting program in future revisions.
  1518.  
  1519.           People seem to be using rather long sub-directory names  these 
  1520.  
  1521.      days, so if your PATH to the file to be transmitted is long, it may 
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.      not  fit  in the space allocated in the program. You can  copy  the 
  1530.  
  1531.      file  to  the  RAMDISK as A.P and use the  program  default  choice 
  1532.  
  1533.      instead if you run into this:ie, if the program rejects a perfectly 
  1534.  
  1535.      good Path/Filename.
  1536.  
  1537.           Before  you  actually start transmitting pictures,  hook  your 
  1538.  
  1539.      headphones  across the audio transformer output to the  transmitter 
  1540.  
  1541.      and  listen to the signal while sending a pix. Compare it  to  what 
  1542.  
  1543.      you hear when receiving. If the frequencies sound quite  different, 
  1544.  
  1545.      you'll save time by adjusting the header frequency as described  in 
  1546.  
  1547.      VT.BAS below before proceeding. If the frequencies are very differ-
  1548.  
  1549.      ent, you may be breaking out of SYNC on many lines and transmitting 
  1550.  
  1551.      a mess. We've seen one 486DX2-66 machine  where this was the  case. 
  1552.  
  1553.      His frequencies were quite low. 
  1554.  
  1555.           You  can  do  the initial checking of   this  program  without 
  1556.  
  1557.      actually  transmitting,  of  course. But as soon as  you  do  start 
  1558.  
  1559.      transmitting,  BE SURE to check that  the transmitter is  operating 
  1560.  
  1561.      at a low enough level so it won't overheat. Most transmitters  will 
  1562.  
  1563.      not handle a 100% duty cycle signal  like this and still operate at 
  1564.  
  1565.      maximum peak power. I failed to take my own advice on this and  had 
  1566.  
  1567.      to make a multi-transistor repair on my TS-930. If your transmitter 
  1568.  
  1569.      has an AM mode, set the output power in TV mode to the same  output 
  1570.  
  1571.      power  level  as AM. This should be plenty safe.  The  audio  level 
  1572.  
  1573.      resistor,  R_x in the schematic, is set so that you can  leave  the 
  1574.  
  1575.      transmitter mike gain at the same level whether you are talking  or 
  1576.  
  1577.      are sending fax.
  1578.  
  1579.           A  useful  feature in BASIC is the ability to list  all  files 
  1580.  
  1581.      contained  in the current default directory. For example,  to  list 
  1582.  
  1583.      all Scottie 1 files, just type:    FILES"*.S1    and RETURN       .  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.      TX, VU, and SLIDESHO all can use this, so I have included an insert 
  1592.  
  1593.      to  make key F9 type the words FILES for convenience. FILES is  the 
  1594.  
  1595.      BASIC  equivalent  of DIR in DOS format, so the use  of  wildcards, 
  1596.  
  1597.      etc.  apply.  Note that keys F9 and F10 are not operative  for  our 
  1598.  
  1599.      program specific-use until at least one program has been RUN.
  1600.  
  1601.  
  1602.  
  1603.      VT.BAS
  1604.  
  1605.           This  is  identical to the TX program except the  file  to  be 
  1606.  
  1607.      transmitted  is put on the screen to see if it is the one  desired. 
  1608.  
  1609.      It  stays on the screen after transmitting so you can discuss  it's 
  1610.  
  1611.      details.  Q will exit the picture. If you call up a  non-file,  the 
  1612.  
  1613.      screen   will  be blank---you'll need Q to get back to  BASIC.  The 
  1614.  
  1615.      SYSTEM CONFIGURATION for the VUing part of this program is seen  by 
  1616.  
  1617.      LIST  2000-3000 and is copied from VU.BAS. The transmitting  SYSTEM 
  1618.  
  1619.      CONFIGURATION is seen by LIST 4000-5000 and is copied from RT.BAS.
  1620.  
  1621.           I have added a couple of features to this program as a  result 
  1622.  
  1623.      of  inputs from KY1S. He found it convenient to have listed on  the 
  1624.  
  1625.      screen  all of the files in the current directory which were  saved 
  1626.  
  1627.      in  the mode being used every time he picked a mode. That is,  when 
  1628.  
  1629.      you  pick  mode 3 in the VT program, all Scottie 1 files  would  be 
  1630.  
  1631.      instantly  listed for you to select  from. With the BASIC   format, 
  1632.  
  1633.      this is very easy to insert and is a perfect example of how you can 
  1634.  
  1635.      adapt  to your own operating methods. I thought others  might  like 
  1636.  
  1637.      this  capability, so I added it so you can switch it ON or  OFF  in 
  1638.  
  1639.      line 2092.
  1640.  
  1641.           Dennis  also  found that his LT numbers had to be  changed  by 
  1642.  
  1643.      about 400. Other  486 users have also reported a wider variation in 
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.      the  frequency  of the TIME-OF-DAY clock than we had  seen  before. 
  1652.  
  1653.      While this has a rather small effect on the color registration, the 
  1654.  
  1655.      headers used  for automatic recognition of modes have somewhat more 
  1656.  
  1657.      stringent  tolerances. If you get reports of people receiving  your 
  1658.  
  1659.      pictures  having  to manually start their reception, or you  had  a 
  1660.  
  1661.      large change in LT or a particularly slow computer, you may want to 
  1662.  
  1663.      measure  and possibly trim the header frequencies. We have added  a 
  1664.  
  1665.      test  mode in VT.BAS which is turned on by a switch,  TE,  in  line 
  1666.  
  1667.      4173  in  SYSTEM  CONFIGURATION. Switch TE to a 1200  or  1900  cps 
  1668.  
  1669.      position and then hook up a counter or some other method of measur-
  1670.  
  1671.      ing  frequency to the output of the interface which normally  feeds 
  1672.  
  1673.      fax audio to the transmitter. If you use a counter  you will proba-
  1674.  
  1675.      bly  need to divide  the signal down by 50 or more to  avoid  over-
  1676.  
  1677.      driving the counter. Load in a Scottie 1 picture, and when you  hit 
  1678.  
  1679.      G(o),  a prolonged steady tone at the selected frequency will  pre-
  1680.  
  1681.      cede  the  picture.  Parameter HF in line 4171 can  be  changed  to 
  1682.  
  1683.      center the frequency. If the frequency is 3% low, raise HF by 3%. A 
  1684.  
  1685.      potentiometer  to  change the level into the counter is  useful  to 
  1686.  
  1687.      avoid  the  erroneous results you get by overdriving  the  counter. 
  1688.  
  1689.      After finding the best value for HF, SAVE it in VT.BAS and put  the 
  1690.  
  1691.      same value in line 3210 of RT.BAS and SAVE it. While this parameter 
  1692.  
  1693.      is called "header" frequency, it actually recalibrates both  header 
  1694.  
  1695.      and picture frequencies with the pokes in line 3011 of VT.BAS  (for 
  1696.  
  1697.      reference  in case you wanted to change only one of these, 2E9  and 
  1698.  
  1699.      2EA  are  the location for the header and 1FE and 1FF are  for  the 
  1700.  
  1701.      picture  data frequency). Many SSTV stations can give you  a  rough 
  1702.  
  1703.      measurement of these frequencies over the air. 
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.      SLIDESHO.BAS
  1714.  
  1715.           SLIDESHO  works just like VU except that it has an  additional 
  1716.  
  1717.      capability  to  step through a series of pictures  without  knowing 
  1718.  
  1719.      what  the  filenames  are. You pick a mode, and if  you  want  some 
  1720.  
  1721.      constraints in the filenames viewed, enter that. For example, if you 
  1722.  
  1723.      wanted  to look at only Scottie 1 pix's starting  with the  letters 
  1724.  
  1725.      BE, enter 3 for the mode and enter BE for the constraint. The first 
  1726.  
  1727.      BE*.S1 pix in the directory will paint. To see the next BE*.S1 pix, 
  1728.  
  1729.      hit N (for Next). It will exit to BASIC when it runs out of  files. 
  1730.  
  1731.      You can use this program to look at single files also. This program 
  1732.  
  1733.      (and it's associated files, SS.BAT and 64SHO.ASM) is configured  to 
  1734.  
  1735.      go into your DOS directory, so it will be accessible from any drive 
  1736.  
  1737.      or any directory where you might have picture files. If you want it 
  1738.  
  1739.      somewhere  else, you'll need to change the PATH callout in line  30 
  1740.  
  1741.      of  SLIDESHO.BAS and in SS.BAT. I find it convenient to  store  pix 
  1742.  
  1743.      files  in a compressed .ARC file (using PKARC) grouped together  by 
  1744.  
  1745.      mode. When I want to view them, I decompress the .ARC file into the 
  1746.  
  1747.      RAMDISK  (using  PKXARC---the  format for an  archived  file  named 
  1748.  
  1749.      S1PIXES.ARC  is: PKXARC S1PIXES d:). After the files load,  with  a 
  1750.  
  1751.      quick d:>ss I can start the show. Incidentally, this program is not 
  1752.  
  1753.      configured to work with the Robot modes or the Wefax mode.
  1754.  
  1755.           Another  feature  added  since the original  release  is   the 
  1756.  
  1757.      capability to make the SLIDES advance automatically. The number  of 
  1758.  
  1759.      seconds  you want to dwell on each slide can be set in SYSTEM  CON-
  1760.  
  1761.      FIGURATION, line 2050 as DL. Instead of N(ext), you key A(utomatic) 
  1762.  
  1763.      to  start the show. It will go through every pix in  the  directory 
  1764.  
  1765.      and  then start  over again indefinitely. Q will exit sequence.  If 
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.      you get large numbers of pix in the same mode in one directory, you 
  1774.  
  1775.      may  have  to raise the "files=" reservation in CONFIG.SYS  to  use 
  1776.  
  1777.      AUTO mode.
  1778.  
  1779.           When you're all finished remember to clear out the RAMDISK  if 
  1780.  
  1781.      you  used  it for temporary storage and you're going to  return  to 
  1782.  
  1783.      copying  pictures; particularly Wefax which uses a lot  of  RAMDISK 
  1784.  
  1785.      memory.
  1786.  
  1787.  
  1788.  
  1789.      TIFCONV.BAS
  1790.  
  1791.           If  you  want to create some picture files to  transmit,  this 
  1792.  
  1793.      program will convert from the TIFF 640x480, 24 bit color format  to 
  1794.  
  1795.      the SSTV/FAX480 formats. We chose the TIFF format because it is the 
  1796.  
  1797.      most  common  format used for  transferring  high  color/resolution 
  1798.  
  1799.      pictures  between  programs and is an available  format  from  most 
  1800.  
  1801.      frame  grabbers. The typical frame grabber will accept images  from 
  1802.  
  1803.      any video source. I have tried this with both the Computer  Eyes/RT 
  1804.  
  1805.      and  S.S.C.  grabbers.  For some reason,  the  picture  information 
  1806.  
  1807.      started  at a different offset into the picture file in  these  two 
  1808.  
  1809.      cases.  LIST  205 in this program will show you where to  make  the 
  1810.  
  1811.      change  for this. You'll know when the offset is wrong as  the  re-
  1812.  
  1813.      sulting  picture will have the colors scrambled. Change the  offset 
  1814.  
  1815.      by  one and try again. Note that the TIF file must be 640x480  with 
  1816.  
  1817.      24-bit color so the  file size is over 920,000 bytes. If it doesn't 
  1818.  
  1819.      have  that many bytes, it isn't an acceptable format. KY1S  reports 
  1820.  
  1821.      that  he  has used TIFCONV with the TEMPRA program and  with  PHOTO  
  1822.  
  1823.      FINISH  3.  WB7PAP found a Graphics Workshop 7.0  on  Rimmer's  BBS 
  1824.  
  1825.      (tel:416-729-4609)  which converts other formats very well.  It  is 
  1826.  
  1827.      called GRAFWK70.ZIP. N9ARX reports success using Print Shop Pro for 
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.      Windows.  The  last two are shareware. I believe all  of  these  and 
  1836.  
  1837.      other  programs accept pictures in lower resolution  formats  which 
  1838.  
  1839.      can then be converted to the highest resolution format that we use. 
  1840.  
  1841.      The TIF file must be in a non-compressed format. I use the  RAMDISK 
  1842.  
  1843.      as temporary storage for this monster file and immediately  convert 
  1844.  
  1845.      it to a SSTV format for permanent storage.
  1846.  
  1847.           Since this program includes the VU program to show you the end 
  1848.  
  1849.      result,  you must transfer the SYSTEM CONFIGURATION from VU.BAS  to 
  1850.  
  1851.      lines 2000-3000 in this program. 
  1852.  
  1853.  
  1854.  
  1855.      TIFLABEL.BAS and PCXLABEL.BAS
  1856.  
  1857.           You may have one of the fancier software programs to take  the 
  1858.  
  1859.      original  TIFF  file and add text titles and labels  to  it  before 
  1860.  
  1861.      converting  it to the SSTV format. I don't, so a LABEL program  was 
  1862.  
  1863.      written to give some limited capability in this area. Not having  a 
  1864.  
  1865.      library of fonts and of different background patterns to paint  the 
  1866.  
  1867.      letters with, we made the program general purpose enough to use any 
  1868.  
  1869.      font and any background pattern you can take a camcorder picture of 
  1870.  
  1871.      or can obtain in a TIFF file format or in a SSTV format. There  are 
  1872.  
  1873.      a number of interesting patterns right in the room you are  sitting 
  1874.  
  1875.      in which will add interest to your labels---wicker chair back, tile 
  1876.  
  1877.      floor,  rug, venetian blinds, etc., etc. These two  program  accept 
  1878.  
  1879.      TIF or PCX 1 bit (ie, two  color) files which might typically  come 
  1880.  
  1881.      from  a handscanner or one of the many PAINT programs  of  whatever 
  1882.  
  1883.      font  letters you may choose. Typically you can resize the  letters 
  1884.  
  1885.      to  fit. The TIF or PCX file  is used as a mask and where ever  the 
  1886.  
  1887.      file  picture  is black, the LABEL program inserts either  a  color 
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.      which you can choose, or a cutout from any background file  picture 
  1896.  
  1897.      which  you might have available. You can even use a pix you  copied 
  1898.  
  1899.      on  the air as a background file. The effect is as if you  cut  the 
  1900.  
  1901.      letters  out  of the background photograph and pasted  it  on  your 
  1902.  
  1903.      picture.  You manually select where you paste it on. You can get  a 
  1904.  
  1905.      three dimension effect by pasting on a color mask, then going  back 
  1906.  
  1907.      through  LABEL  again, moving the mask a few   pixels  and  pasting 
  1908.  
  1909.      another  color  or  background file on top of  what's  there.  With 
  1910.  
  1911.      multiple  passes,  you can get a variety of effects. You  also  can 
  1912.  
  1913.      make  a square or circular mask and place it to transfer a face  or 
  1914.  
  1915.      some  other  feature of one file to paste it over another.  A  mask 
  1916.  
  1917.      file, K3BC.PCX which is 64 pixels wide, is included for you to  try 
  1918.  
  1919.      out this program on the SAMPLE.M1 pix. You can use SAMPLE2.94 as  a 
  1920.  
  1921.      background file. Or rename SAMPLE2 with a different mode suffix for 
  1922.  
  1923.      a  different background file, etc. I use the RAMDISK to store  suc-
  1924.  
  1925.      cessive  passes  thru  LABEL (under PATH/NAMES of  d:a,  d:b,  d:c, 
  1926.  
  1927.      etc.);  then with SS (SLIDESHO) in drive d: you can view  the  pro-
  1928.  
  1929.      gressive results.
  1930.  
  1931.           Since  these programs use VU for VUing, you must transfer  the 
  1932.  
  1933.      SYSTEM CONFIGURATION you settled on in VU.BAS to lines 2000-3000 in 
  1934.  
  1935.      these  programs.  Some TIF 2-color files don't seem  to  work  with 
  1936.  
  1937.      these,  but  I have not found a PCX 2-color file  source  yet  that 
  1938.  
  1939.      doesn't  work. Put the text in the upper left corner of  the  PAINT 
  1940.  
  1941.      screen when you generate the mask.  
  1942.  
  1943.  
  1944.  
  1945.      EXPERIMENTER'S INFO
  1946.  
  1947.           To  simplify  the use and modification of  these  programs  by 
  1948.  
  1949.      experimeters, some of the conventions used are detailed here. First 
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.      of  all, the file bytes are the raw data  as received. If you  sub-
  1958.  
  1959.      tract the number 138 from each of them and XOR the result with  63, 
  1960.  
  1961.      you  will  get the actual color amplitude for that byte  in  6  bit 
  1962.  
  1963.      format. Conversely, you can take a picture in 3x6=18 bit format and 
  1964.  
  1965.      convert each of it's bytes  to the SSTV format by XORing each  byte 
  1966.  
  1967.      with 63 and adding 138 to the result.
  1968.  
  1969.           The  symbol,  LL,  refers to total line  length  (measured  in 
  1970.  
  1971.      bytes/line) in a picture. This includes sync bytes, picture  bytes, 
  1972.  
  1973.      etc.
  1974.  
  1975.           The symbol L refers to the byte count in a single color  frame 
  1976.  
  1977.      line. This also is the number of pixels in the color picture. Since 
  1978.  
  1979.      there  are  3 colors, 3xL would equal to the line  length,  LL,  if 
  1980.  
  1981.      there were no sync bytes. In the AVT modes, there is no line  sync, 
  1982.  
  1983.      so there 3xL=LL. 
  1984.  
  1985.           The  symbol  I is the mode chosen. Or in one  case  where  two 
  1986.  
  1987.      modes are used in a program, J is used for the second mode.
  1988.  
  1989.           The symbol FS is used for frame sync. If this is called out in 
  1990.  
  1991.      a mode, then a routine is inserted which holds the program  captive 
  1992.  
  1993.      until  a 1200 hz sync is received before it allows the frame to  be 
  1994.  
  1995.      copied.  Parameter  DE allows you to adjust the delay  after  frame 
  1996.  
  1997.      sync before the picture copying begins.
  1998.  
  1999.           LT denotes line timing with LT3 being line timing for mode 3.
  2000.  
  2001.           D% represents the number of lines in the picture mode.
  2002.  
  2003.           DR$ is the letter assigned to the RAMDISK (with quotes, "d").
  2004.  
  2005.           SW   is the line sync  window in TIME clock  counts  (approxi-
  2006.  
  2007.      mately in microseconds).
  2008.  
  2009.           EA  is  the number of bytes used by the line sync when  it  is 
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.      present.  In  the viewing program, this same number is  POKEd  into 
  2018.  
  2019.      memory  location,  &H3EA, which is where it got it's name.  In  the 
  2020.  
  2021.      transmit  program it is the bytes thrown away in each line  of  the 
  2022.  
  2023.      file being transmitted and replaced by sync. It is identical to the 
  2024.  
  2025.      above except in the non-synchronously copy modes , (11) and (22).
  2026.  
  2027.           VC is the video card choice. 
  2028.  
  2029.           S%  is  the number of bytes a picture was scrolled to  get  it 
  2030.  
  2031.      aligned  for SAVEing. It is returned as an output when you run  the 
  2032.  
  2033.      VUing  program.  It  gets converted to it's 4 byte form  as  S!  in 
  2034.  
  2035.      RT.BAS.
  2036.  
  2037.           SC  is used in the transmit program and represents the  number 
  2038.  
  2039.      of 1/2 cycles of the sync frequency (1200 hz) transmitted  on  each 
  2040.  
  2041.      line.
  2042.  
  2043.           LI  is  used  as the number of picture lines  in  the  TIFCONV 
  2044.  
  2045.      program. This program also uses Z as the byte value to be  inserted  
  2046.  
  2047.      in blank bytes. Z=138 is white; Z=249 is black.
  2048.  
  2049.           The  files as SAVEd have the picture color bytes placed  in  3 
  2050.  
  2051.      successive groups of bytes, each group being L bytes long. Then the 
  2052.  
  2053.      line  sync  bytes (if they are used in the  particular   mode)  are 
  2054.  
  2055.      tacked on to the end of each line.
  2056.  
  2057.           The  DEF  SEG statement in each of these  programs  tells  the 
  2058.  
  2059.      program  where in memory to place the program. All of the  programs 
  2060.  
  2061.      are  relocatable,  so  if you find interference  between  some  TSR 
  2062.  
  2063.      resident program and one of these programs, you may be able to move 
  2064.  
  2065.      it  up to keep from overwriting the  TSR (typically, this shows  up 
  2066.  
  2067.      as a computer hang-up which can only be cleared by re-booting). You 
  2068.  
  2069.      still need enough memory between DEF SEG and &HA000:0000 to  accom-
  2070.  
  2071.      modate the pictures you want to copy.
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.           If  you  find all  of your Robot pictures  are  initially  too 
  2080.  
  2081.      green or too purple, you can change the number 10 in line 1371  (in   
  2082.  
  2083.      both  memory  locations)  of RT.BAS to better center  it  for  your 
  2084.  
  2085.      particular tuning habits.
  2086.  
  2087.           If you find that you want to reset the default setting for the 
  2088.  
  2089.      color  registration  on a mode, you can find out what  the  desired 
  2090.  
  2091.      values  are  by first using C and X to get what you like  with  the 
  2092.  
  2093.      VU.BAS  program.  Then when you return to BASIC,  type  PRINT  PEEK 
  2094.  
  2095.      (&H3EA).  This  will be the new value to poke into &H3EA  for  this 
  2096.  
  2097.      mode.  Then  PRINT  PEEK(&h15D) and call the value  A.  Then  PRINT 
  2098.  
  2099.      PEEK(&H15E) and call the value B. Then PRINT PT. The new value  for 
  2100.  
  2101.      L, the color frame width, then is L = A + 256*B + PT. These  values 
  2102.  
  2103.      are added back into the program and SAVE'ed. This capability is not 
  2104.  
  2105.      available in the Robot modes.
  2106.  
  2107.           The  color  shades display at the beginning of  the  256  line 
  2108.  
  2109.      modes  has my call sign (K3BC) superimposed over it. In  order  for 
  2110.  
  2111.      you  to  change it to your call sign, you'll need to  learn  a  bit 
  2112.  
  2113.      about how two-color (or 1 bit) images are formed. If, for  example,  
  2114.  
  2115.      in  the  call sign array of bytes you wanted to make  the  first  8 
  2116.  
  2117.      pixels overwrite white, you would make the first byte equal to  255 
  2118.  
  2119.      or in hexidecimal, &hFF (which is 1111,1111 in binary). To paint the 
  2120.  
  2121.      first  4 pixels out of 8, the first byte would be &hF0  (in  binary 
  2122.  
  2123.      equals 1111,0000). Look at the lines starting at 780 in the  TX.BAS 
  2124.  
  2125.      program,  at  line 3430 in VT.BAS, and at line 2400 in  the  RT.BAS 
  2126.  
  2127.      program to see how to figure out what DATA bytes  to include to get 
  2128.  
  2129.      your  call sign. Once you determine the DATA array for  your   call 
  2130.  
  2131.      sign  insert it in all three programs. If you have 6 characters  in 
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.      your call sign it'll be a bit crowded---time for an upgrade!  Don't 
  2140.  
  2141.      try  to  change  the number of DATA bytes. If you're  too  lazy  to 
  2142.  
  2143.      figure  this out, you can signal that to the world by changing  all 
  2144.  
  2145.      the DATA line bytes to 0, which removes the call sign.
  2146.  
  2147.           If  you  belatedly decide to save a picture  and  haven't  yet 
  2148.  
  2149.      overwritten it in D:a.p then you can recover by LOAD "RT" and  then 
  2150.  
  2151.      typing  a temporary line---- 880 GOTO 890. Now execute the  program 
  2152.  
  2153.      choosing  the same mode as was used to capture d:a.p.  The  picture 
  2154.  
  2155.      will  show up and you can scroll it to the proper position and SAVE 
  2156.  
  2157.      it. You can move any file to d:a.p and re-scroll it this way if you 
  2158.  
  2159.      don't like the initial choice you made when you saved the file.  Or 
  2160.  
  2161.      if you want to transfer a part of one file to another using  LABEL, 
  2162.  
  2163.      use this method to scroll the transfer image to where you want  it, 
  2164.  
  2165.      and use the new file as a background file. 
  2166.  
  2167.           In  the  transmit program, each mode has it's VIS  code  poked 
  2168.  
  2169.      into memory location  &h3A5. The delay (in pixels) between the  end 
  2170.  
  2171.      of  the VIS code and the beginning of the red frame is  poked  into 
  2172.  
  2173.      memory  locations  &h523  (LSB)  and &h510  (MSB).  This  delay  is 
  2174.  
  2175.      switched in by the poke, poke &h52B,227, and is used in S1, S2, and 
  2176.  
  2177.      WR96. The pokes into &h373, &h374, and  &h375 are to switch a  path 
  2178.  
  2179.      inside  the  program for modes which have the 16  line  gray  shade 
  2180.  
  2181.      header.
  2182.  
  2183.           A  few  of  you  may have a  SVGA  card  which  only  supports 
  2184.  
  2185.      640x400x256. You can still view up to 200 lines of picture, but the 
  2186.  
  2187.      perspective stretches the picture vertically by a factor of 480/400 
  2188.  
  2189.      in the 240 and 256 line modes. The programs are constructed to  use 
  2190.  
  2191.      the 640x400 mode for the AVT94 (mode 6) only. There are a number of 
  2192.  
  2193.      lines  which  state:   IF I=6 THEN POKE &h113 or  &H398  with  some 
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.      number.  If  you take these lines and eliminate the  "IF  I=6"  con-
  2202.  
  2203.      straint  you will use the 640x400 for all modes:  specifically  you 
  2204.  
  2205.      delete the words "IF I=6 THEN"  in each line and leave the POKE. In 
  2206.  
  2207.      the RT.BAS program, the lines affected are 1765, 1815, 1875,  1925, 
  2208.  
  2209.      1995,   and   2045.  In  the  VU.BAS,  VT.BAS,   TIFCONV.BAS,   and 
  2210.  
  2211.      SLIDESHO.BAS  programs  the affected lines are  1590,  1635,  1685, 
  2212.  
  2213.      1735,  1787, and 1835. In PCXLABEL.BAS and TIFLABEL.BAS  the  lines 
  2214.  
  2215.      affected  are  1540,  1610, 1680, 1740, 1820,  and  1890.  Strictly 
  2216.  
  2217.      speaking, you only need to eliminate the constraint for the partic-
  2218.  
  2219.      ular  Video Card choice you are using. To my surprise,  a few  sys-
  2220.  
  2221.      tems have shown up with 640x480 but not 640x400. If you have  this, 
  2222.  
  2223.      just  eliminate all of the above lines, and mode 6 will be  painted 
  2224.  
  2225.      in the 640x480 screen.  
  2226.  
  2227.  
  2228.  
  2229.      COPYRIGHT NOTICE
  2230.  
  2231.           These programs were developed for the free use of other  Radio 
  2232.  
  2233.      Amateurs  but  since they might have other commercial use,  I  have 
  2234.  
  2235.      registered them with the U.S. Copyright Office. Radio Amateurs  are 
  2236.  
  2237.      free to make copies for other amateurs provided no monetary compen-
  2238.  
  2239.      sation  is involved. Any other use for commercial purposes is  for-
  2240.  
  2241.      bidden without specific written permission from the author.  Share-
  2242.  
  2243.      ware vendors may not reproduce them.
  2244.  
  2245.                                                        Have fun,
  2246.  
  2247.                                                        Ben Vester,    K3BC 
  2248.  
  2249.      1/30/94                                                                                                
  2250.  
  2251.  
  2252.