home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / vester_e.zip / TVINFO.TXT < prev    next >
Text File  |  1994-08-01  |  113KB  |  3,427 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.           Please stop right now and make a backup copy of these programs 
  7.  
  8.      on a floppy disk. And activate the Write Protection on that disk !!
  9.  
  10.  
  11.  
  12.                 SSTV/FAX480/WEFAX SYSTEM for IBM and CLONES
  13.  
  14.                      Copyrights 1993, 1994 Ben Vester   
  15.  
  16.  
  17.  
  18.           This system includes a receiving and transmitting program  for 
  19.  
  20.      Amateur  Radio  Color Slow-Scan TV and FAX480 and  a  receive  only 
  21.  
  22.      program for high resolution weatherfax. The so-called SSTV as being 
  23.  
  24.      used  today is really nothing more than color facsimile, so all  of 
  25.  
  26.      these systems are alike in that only one image is transmitted at  a 
  27.  
  28.      time and they all use 1500 hz to 2300 hz as limits for the  modula-
  29.  
  30.      tion  audio. The system is basically software-based, with the  only 
  31.  
  32.      hardware  required  being  a very simple  audio  clipper  interface 
  33.  
  34.      between  the receiver and the computer's serial COM port. The  com-
  35.  
  36.      puter  facsimile  input and output to the  amateur  transceiver  is 
  37.  
  38.      transformer isolated to avoid grounding and noise problems. Details 
  39.  
  40.      of the interface are contained in Sept. 1991 "QST" and in Jan. 1994 
  41.  
  42.      "QST".  There was an error in the schematic in the Jan. 1994  arti-
  43.  
  44.      cle, however. The Transmit audio comes out of the Serial  interface 
  45.  
  46.      on  the  RTS pin, NOT the CTS pin. That is, the  Transmit  coupling 
  47.  
  48.      capacitor  connects to pin 7 on a 9-pin connector, NOT pin  8.  RTS 
  49.  
  50.      comes  out  on pin 4 on a 25-pin connector. An early draft  of  the 
  51.  
  52.      1994 article is contained on this disk under filename,  ARTICLE.TXT 
  53.  
  54.      and should be read for other needed information.
  55.  
  56.  
  57.  
  58.           Doing  all of the fax demodulation in the computer requires  a 
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.      80286 or higher class of computer with higher clock speeds  helping 
  67.  
  68.      the  quality of the images being transmitted and received.  All  of 
  69.  
  70.      the  programs  except  the Wefax program could be  handled  in  the 
  71.  
  72.      minimal  640 Kb. of RAM but to get any reasonable speed in  manipu-
  73.  
  74.      lating the images after reception a minimum of 1 megabyte of RAM is 
  75.  
  76.      needed.  For  copying Wefax, 4 Mb. is needed for easy  copying  and 
  77.  
  78.      manipulation. 2 Mb. is  almost enough to copy a full pix. A RAMDISK 
  79.  
  80.      should  be created on your computer before trying to run  the  pro-
  81.  
  82.      grams. Just add a line to your CONFIG.SYS file as follows:
  83.  
  84.      
  85.  
  86.      For 1 Mb. system:    device=c:\dos\ramdrive.sys 368 512 64 /e
  87.  
  88.  
  89.  
  90.      For 4 Mb. system:    device=c:\dos\ramdrive.sys 3072 512 64/e
  91.  
  92.           If  you must coexist with Windows (uses 2 mb.) 3072  is  2048. 
  93.  
  94.      With  less  memory, you can use batch files  (described  below)  to 
  95.  
  96.      remove Windows from CONFIG.SYS and AUTOEXEC.BAT when you are  using 
  97.  
  98.      SSTV.
  99.  
  100.  
  101.  
  102.      When you reboot the system take note of what letter designation the 
  103.  
  104.      computer  assigns to the RAMDISK as you will need to tell  the  fax 
  105.  
  106.      program  what that is. Now if you only have 640 Kb of RAM  you  can 
  107.  
  108.      use  the hard disk "c" as the designated drive but it will be  very 
  109.  
  110.      slow  in  manipulating  the color images and won't work at  all  on 
  111.  
  112.      Wefax. Even a floppy drive can be designated but it will be ridicu-
  113.  
  114.      lously  slow.  High resolution color pix's with 3 bytes  per  pixel  
  115.  
  116.      require  a lot of memory, so the old PC's with minimal memory  just 
  117.  
  118.      won't hack it.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.           Timing  is extremely critical in decoding the fax  modulation. 
  129.  
  130.      We use the computer's TIME clock and since it is needed   full-time 
  131.  
  132.      during  the actual copying, you may have to sacrifice  other  time-
  133.  
  134.      related  functions while using  the programs.  Also, since we  need 
  135.  
  136.      both  the TIME clock and most of the memory for our  copying  task, 
  137.  
  138.      the program may not work properly if your system is loaded up  with 
  139.  
  140.      TSR resident programs, particularly ones that use the TIME timer or 
  141.  
  142.      occupy  any  appreciable  memory . This is a  common  problem  with 
  143.  
  144.      programs using SVGA graphics and I notice that my 8 year old grand-
  145.  
  146.      son  has already learned how to unload the resident  programs  from 
  147.  
  148.      his  computer in order to get his favorite game programs  to  play. 
  149.  
  150.      Some  resident programs may look like small memory users  but  they 
  151.  
  152.      often  use the TIME clock continuosly, so they may  interfere  with 
  153.  
  154.      the  timing functions in the program. This depends on how fast  the 
  155.  
  156.      computer  is. If it's very fast, it may accommodate both  functions 
  157.  
  158.      without interference. For example, with my 33 mhz 80386 computer, I 
  159.  
  160.      can  accommodate  the excellent screen saver,  "BLANK-IT",  without 
  161.  
  162.      interference.  With a slower computer, that might not be  possible. 
  163.  
  164.      When I use my Computer Eyes/RT frame-grabber, however, I even  have 
  165.  
  166.      to remove the screen saver. These resident programs can be  located 
  167.  
  168.      in  your  AUTOEXEC.BAT file for your perusal. The  easiest  way  to 
  169.  
  170.      remove them and add them back is with two batch files,  STARTTV.BAT 
  171.  
  172.      and  STOPTV.BAT.  First, you copy the present AUTOEXEC.BAT  into  a 
  173.  
  174.      AUTOEXEC.REG file. That is:
  175.  
  176.                          c:>copy autoexec.bat autoexec.reg
  177.  
  178.  
  179.  
  180.      Then you create an AUTOEXEC.TV file that only contains the absolute 
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.      minimum (ie, NO resident programs). The STARTTV.BAT will consist of 
  189.  
  190.      one line:              copy c:\autoexec.tv c:\autoexec.bat
  191.  
  192.      After  you  run  STARTTV.BAT, you reboot and are ready  to  go.  To 
  193.  
  194.      restore  the  computer to normal, use STOPTV.BAT with  this  single 
  195.  
  196.      line:           copy  c:\ autoexec.reg c:\autoexec.bat
  197.  
  198.      You,  of  course, could just type the single line  each  time,  but 
  199.  
  200.      using the batch file minimizes your chances of losing your  present 
  201.  
  202.      AUTOEXEC.BAT  file information. If you  have Windows installed  and 
  203.  
  204.      are working with limited RAM, you can add the CONFIG.SYS changes to 
  205.  
  206.      eliminate Windows temporarily to these same START/STOP batch files. 
  207.  
  208.      Once  you  have the system working, you might want to  add  back  a 
  209.  
  210.      screen  saver for use with TV and see if it messes up your  system. 
  211.  
  212.      Another  DOS resident program that is extremely useful to  speed-up 
  213.  
  214.      the  continuous file manipulations in this program is SMARTDRV,  so 
  215.  
  216.      try to squeeze it in. SMARTDRV, unfortunately, does interfere  with 
  217.  
  218.      the  two  big memory programs that copy data directly to  the  RAM-
  219.  
  220.      DRIVE,  namely, Wefax and Mode 96 ColorFAX, so that has to be  con-
  221.  
  222.      sidered.. 
  223.  
  224.           A  new source of troublesome "TSR" programs have shown  up  in 
  225.  
  226.      some  of the newer 486 machines. These are actually "wired  in"  to 
  227.  
  228.      the  system  (in ROM, I presume) and are turned ON or  OFF  in  the 
  229.  
  230.      selection panel for CMOS. In particular, the transmit function  has 
  231.  
  232.      been affected by some of these. While the receive program only uses 
  233.  
  234.      the  TIME clock, the precision needed for the transmit can only  be 
  235.  
  236.      obtained  using  the processing speed. We calibrate  the  processor 
  237.  
  238.      speed  against the TIME clock and then use the processing speed  as 
  239.  
  240.      the reference in the actual generation of the transmit output. This 
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.      then  becomes susceptible to varying processor speeds due to  proc-
  249.  
  250.      essor  cache, etc., so  these functions need to be turned  off.  We 
  251.  
  252.      have made a transmit program which only uses  the TIME clock but it 
  253.  
  254.      has much more jitter than the mechanization we picked. Almost every 
  255.  
  256.      function  that typically goes in as a "TSR" uses the TIME clock  to 
  257.  
  258.      trigger it's periodic status check. Even the common EMM386 has been 
  259.  
  260.      reported  as causing a problem. Once you eliminate  these  "jitter" 
  261.  
  262.      sources   by  turning  them off, however, you  will  have  transmit 
  263.  
  264.      stability  that will match anything available.  See  Experimenter's 
  265.  
  266.      Info below for further details on more obscure transmit problems.
  267.  
  268.           The  programs  were developed for use  by  the  experimentally 
  269.  
  270.      inclined radio amateur. It uses GWBASIC to interface with the user, 
  271.  
  272.      so you will need a copy of GWBASIC.EXE (note:some have tried  using 
  273.  
  274.      GWBASIC  that was used on Tandy machines and it did not work.  I've 
  275.  
  276.      used  versions 3.22 and  3.23, both created for true IBM  clones.). 
  277.  
  278.      The guts of the program are contained in machine language  programs 
  279.  
  280.      which are called up by the BASIC program as needed. To  accommodate 
  281.  
  282.      the  wide  variety of modes, the system parameters are  changed  by 
  283.  
  284.      inserting  POKE's in the BASIC program, a different set  of  POKE's 
  285.  
  286.      being  used  for each mode. This allows experimenters with  only  a 
  287.  
  288.      modest  amount of skill in BASIC to create new modes, or  adapt  to 
  289.  
  290.      additional  modes  that others have created. Even if  you  have  no 
  291.  
  292.      previous  experience with BASIC, I recommend you LIST out the  pro-
  293.  
  294.      grams  and  study them to find how easy it is to make mods.  I  have 
  295.  
  296.      even included some motivations--like getting your own call sign  on 
  297.  
  298.      the pix you transmit, instead of my call sign--to encourage you  to 
  299.  
  300.      learn  a  little  about hexidecimal numbers, about  2  color  image 
  301.  
  302.      formation, and about changing the program.
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.           To call up the frequently used programs directly from the  DOS 
  311.  
  312.      line you can use simple batch files. For example, to LOAD in GWBAS-
  313.  
  314.      IC, then LOAD in VU.BAS, and then RUN the program, you can create a 
  315.  
  316.      batch file, VU.BAT, with a single line:
  317.  
  318.                          gwbasic.exe vu.bas
  319.  
  320.      Now  you  just  type VU on the DOS line to access  the  program.  A 
  321.  
  322.      number of these batch programs are included on this disk.  
  323.  
  324.           Each  of  the programs has a fairly good description  of  it's 
  325.  
  326.      operation on the opening screen, so you should read both that  data 
  327.  
  328.      and the data below to fill out your understanding. Also each  BASIC 
  329.  
  330.      program is supported by one or several machine language files.  You 
  331.  
  332.      can identify these by looking through the BASIC listing to find the 
  333.  
  334.      BLOAD  command   followed by the name of the .ASM file.  These  ASM 
  335.  
  336.      files must be in the same directory as the BASIC program so it  can 
  337.  
  338.      find them. I recommend you make a separate directory (ie; c:>MD  TV 
  339.  
  340.      and then c:>CD\TV) and copy all the files into that directory.
  341.  
  342.           In the different programs described below, you are often asked 
  343.  
  344.      to  hit certain keys. The program assumes you are keying the  lower 
  345.  
  346.      case  letter,  so make sure that you don't have the CAPS  LOCK  on! 
  347.  
  348.      They are capitalized in the writeup strictly for  emphasis.
  349.  
  350.  
  351.  
  352.      VU.BAS                
  353.  
  354.           You need to find out how to see pictures on the screen  before    
  355.  
  356.      you can do anything, so we'll start with the viewing program. First 
  357.  
  358.      activate  BASIC;  ie, c:\tv>gwbasic.exe  and then  when  the  BASIC 
  359.  
  360.      screen  comes  up  LOAD"VU.  You actually  hit  F3  and  then  type 
  361.  
  362.      VU---right here is where you can go astray and why you need  backup 
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.      copies.  If  you  inadvertently  hit F4  instead  of  F3  you  will 
  371.  
  372.      SAVE"VU---which  means you will save a blank sheet under the  title 
  373.  
  374.      VU.BAS, writing right over the real VU.BAS program---another reason 
  375.  
  376.      it  helps to use batch programs for normal use. Now hit F2  to  RUN 
  377.  
  378.      the  program.  Read the first screen and then select the  mode  and 
  379.  
  380.      give the file name of the sample picture. Note that the mode suffix 
  381.  
  382.      to  the  filename is added by the program. If you add it  too,  the 
  383.  
  384.      computer  won't be able to find a file with a double suffix, so  it 
  385.  
  386.      will just return you to BASIC (you'll get Ok on the screen when you 
  387.  
  388.      return to BASIC) when you answer all the questions. The program  is 
  389.  
  390.      still  loaded, so you only need to hit F2 again and try  to  follow 
  391.  
  392.      the instructions this time.
  393.  
  394.           The Video Card is the next selection to be made. If your  card 
  395.  
  396.      doesn't  appear in the first 6 choices, then you'll make  choice  7 
  397.  
  398.      and go find yourself a VESA driver for your card. If it's a  recent 
  399.  
  400.      card  it  may  even meet the VESA standard without  a  driver.  The 
  401.  
  402.      drivers are a product of the board manufacturer and you may already 
  403.  
  404.      have  it  on a Utility disk that came with the card.  I  understand 
  405.  
  406.      that  BBS: (416)729-4609 has a collection of drivers if  you  can't 
  407.  
  408.      get  one from the manufacturer. The driver gets loaded  before  the 
  409.  
  410.      program, so you can add it as a first line in the VU.BAT or  RT.BAT 
  411.  
  412.      or AUTOEXEC.TV batch file for convenient operation. Be sure to  try 
  413.  
  414.      all  7 choices before looking for a driver since card  names  don't 
  415.  
  416.      always  reflect  the name of the SVGA microchip used in  it.  Also, 
  417.  
  418.      there are different microchips in the same name boards, so  there's 
  419.  
  420.      no  guarantee  the  most common one I used for  this  program  will 
  421.  
  422.      necessarily  have  the  same software commands.  Some  recent  SVGA 
  423.  
  424.      programs  even include a collection of drivers to select from.  The 
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.      card type is often shown in the first message when you boot up  the 
  433.  
  434.      computer or you can go to the DOS directory and type: 
  435.  
  436.                        C:\DOS>debug                  then type in a dump
  437.  
  438.                        -dC000:0000
  439.  
  440.      You may need to hit d again to dump the whole message on the right, 
  441.  
  442.      but  this  will often tell you the origin of the  video  card.  Try 
  443.  
  444.      dumping at D000:0000 and E000:0000 if C000:0000 doesn't work.
  445.  
  446.           A  more direct way to find out the card parameters is to  call 
  447.  
  448.      the  computer  manufacturer's software assist line. The  card  must 
  449.  
  450.      support  640x480 with 256 colors (requires 512K video  memory)  al-
  451.  
  452.      though  a  limited  capability is possible  with  640x400x256  (see 
  453.  
  454.      Experimenter's   Info  below). Pix MODES.M1 exercises  the  640x480 
  455.  
  456.      capability while SAMPLE2.94 only needs 640x400 so you can use these 
  457.  
  458.      to  explore  your card's parameters. Trident cards with  1  Mb.  of 
  459.  
  460.      video memory are available mail-order for less than $50 so you  can 
  461.  
  462.      easily  upgrade. To use the full capability of the  Trucolor  (16.7 
  463.  
  464.      million  colors) capability now incorporated into this system,  you 
  465.  
  466.      should go ahead and upgrade to a Trucolor. At revision  D time  you 
  467.  
  468.      can  get  640x480x16.7 million colors in a  Diamond  Speedstar  PRO 
  469.  
  470.      ($100) or Cirrus Logic ($70) boards which are fully VESA compatible 
  471.  
  472.      and available in both VLB and  ISA (to fit the older systems). 
  473.  
  474.           A  couple of people have reported trouble getting  their  VESA 
  475.  
  476.      cards  or drivers to paint a full picture. I ran into this  problem 
  477.  
  478.      myself with a recently acquired Diamond Speedstar Pro which used  a 
  479.  
  480.      Cirrus  Logic video processor chip. We have added a  Bank-Switching 
  481.  
  482.      parameter,  BS, to  the SYSTEM CONFIGURATION which   gives  another 
  483.  
  484.      dimension of control. If the picture paints only part way down  the 
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.      screen,  increase BS. If it goes all the way to the bottom  of  the 
  493.  
  494.      screen and starts re-painting, decrease BS.
  495.  
  496.           When you select the wrong video card, the program will  faith-
  497.  
  498.      fully  load the picture into the video buffer but no  picture  will 
  499.  
  500.      result.  After  a short wait for the picture loading,  hit  Q  (for 
  501.  
  502.      Quit) and  you should get the BASIC Ok  displayed. Hit F2 to re-RUN 
  503.  
  504.      the program and try the next video card selection. While the  video 
  505.  
  506.      cards  in my two computers are well behaved and don't hang  up  the 
  507.  
  508.      computer  when sent the wrong choice, this may not be true for  all 
  509.  
  510.      cards.
  511.  
  512.           Once  you get a picture, play with the scroll commands to  see 
  513.  
  514.      what  happens. Moving up and/or left initially will move  the  file 
  515.  
  516.      pointer outside the file and give peculiar results, so move down or 
  517.  
  518.      right  first.  The  arrows work for slow scroll and R  and  L  give 
  519.  
  520.      larger scroll increments (in the special case of the Robot 36 mode, 
  521.  
  522.      the  R stands for Reverse and will reverse the blue and red  colors 
  523.  
  524.      if  you happen to start copying on the wrong line--it  actually  is 
  525.  
  526.      scrolling  but  the  scroll increment is chosen to  be  one  line). 
  527.  
  528.      Scroll through the color frames with R and see what  an out-of-sync 
  529.  
  530.      picture will look like. You can scroll it right back in  sync.  Now 
  531.  
  532.      try the color registration keys, C and X. to see what they do. When 
  533.  
  534.      you  finish, go on to the next program, or maybe at this point  you 
  535.  
  536.      want  to  change the Default choice for the video card to  be  your 
  537.  
  538.      card.  LOAD the program and LIST 2000-3000  to see the SYSTEM  CON-
  539.  
  540.      FIGURATION  list.  The  first item sets the video  card  choice  to 
  541.  
  542.      either be automatically set to whatever you choose in the next line 
  543.  
  544.      (2030)  or  you can leave it in manual so you answer  the  question 
  545.  
  546.      about  the  card every time you view a picture. The  BR  brightness 
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.      parameter  is like the Color level control on a TV, and it and  the 
  555.  
  556.      TU tuning parameter are only applicable to the Robot modes. Setting 
  557.  
  558.      TU to 1 will give you retune capability in 10 cps increments  which 
  559.  
  560.      allows best resolution in setting the color balance (or hue)  using 
  561.  
  562.      the  F and G keys (note that the F stands for Frequency tuning  and 
  563.  
  564.      the  G stands for Greener). The next  item is the picture  trimming 
  565.  
  566.      parameter,  PT, which you may want to change occasionally.  If  you 
  567.  
  568.      have  a  pix with trash still showing on the right  edge,  you  can 
  569.  
  570.      raise  PT to trim more off the edge. You can change  the  parameter 
  571.  
  572.      and  RUN the program without SAVEing it or you can make the  change 
  573.  
  574.      permanent by SAVEing it. The final item, EX,  allows you to  expand 
  575.  
  576.      the  pictures that have less bytes per line, such as Martin  2  and 
  577.  
  578.      Scottie  2, to fill the screen. This aggravates any copying  anoma-
  579.  
  580.      lies but gives the more correct perspective for these modes.  Since 
  581.  
  582.      these  modes send only about 1/2 the bytes and use 1/2 the time  of 
  583.  
  584.      Scottie 1 and Martin 1, their fidelity is inherently worse, partic-
  585.  
  586.      ularly in less than optimum conditions.
  587.  
  588.           Note  that the card parameters you have determined for  VU  as  
  589.  
  590.      described  above  will be transferred to most of the  programs  de-
  591.  
  592.      scribed below.
  593.  
  594.  
  595.  
  596.      RT.BAS
  597.  
  598.           This  will be  the most used program, since you will  spend  a 
  599.  
  600.      lot   more  time receiving than anything else. To view  the  SYSTEM 
  601.  
  602.      CONFIGURATION for the program activate BASIC as described above and 
  603.  
  604.      LOAD"RT.  Now LIST (hit F1) 3000-3500. Move the cursor up  to  line 
  605.  
  606.      3030  where  the video card selection is made and type  in  the  VC 
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.      selection  you found worked in VU.BAS. Hit ENTER and then  move  the 
  615.  
  616.      cursor back to the bottom of the screen.       
  617.  
  618.           The RAMDISK designation that is stated on the screen when  you 
  619.  
  620.      boot the system will be inserted in line 3050. Most likely it  will 
  621.  
  622.      be "D", unless you have extra disk drives. The COM port you  select 
  623.  
  624.      will be noted in line 3170. Set TC=0 in line 3250 and RE=0  in line 
  625.  
  626.      3280  if you only have a 256 color board. After making  the  selec-
  627.  
  628.      tions,  move the cursor into the clear and LIST 3000-3500  to  make 
  629.  
  630.      sure you got what you wanted. Note that when you change anything in 
  631.  
  632.      a  line on the screen, you must hit ENTER to actually change it  in 
  633.  
  634.      the  program. Also be sure to move the cursor in the  clear  before 
  635.  
  636.      hitting  any of the Function keys. Now SAVE the program as  RT.BAS. 
  637.  
  638.      Some of the other CONFIGURATION items may need to be changed later.
  639.  
  640.           You  are  now ready to check out the interface box  with   the 
  641.  
  642.      program.  Plug in the interface to the selected COM port  and  feed 
  643.  
  644.      audio  from the receiver into it--noise will be OK. Hit F2  to  run 
  645.  
  646.      the program and select mode 6 and ENTER. Normally the program  will 
  647.  
  648.      wait  until it receives a header before it begins to copy.  But  if 
  649.  
  650.      you miss the header, you can bypass that step by hitting  SPACEBAR. 
  651.  
  652.      In this case, with noise or voice audio, you'll need to bypass  the 
  653.  
  654.      header start, so hit SPACEBAR. If you get a tone with a tick super-
  655.  
  656.      imposed  on  top  of it, you know that the system  is  copying  the 
  657.  
  658.      incoming signal. If nothing happens or you get a steady tone  with-
  659.  
  660.      out any tick, the fax audio isn't getting into the serial port. You 
  661.  
  662.      could have plugged into  the wrong COM port (surprizing how confus-
  663.  
  664.      ing COM port numbering is!) or the audio  may not be getting to the 
  665.  
  666.      interface.  You'll  have to reboot the computer if  you  can't  get 
  667.  
  668.      audio  in to start the copying.  (A few people have gotten to  this 
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.      point and got a single interrupted tone and the computer hangs  up. 
  677.  
  678.      This  occurs  when  you try to use a Tandy GWBASIC.)  The  tick  is 
  679.  
  680.      fairly  brisk,   about 2 per second. If it is very slow,  you  have 
  681.  
  682.      some  resident program interfering or you may be trying to run  the 
  683.  
  684.      program  from Windows. Windows slows processing  down  drastically,  
  685.  
  686.      so  the timing-critical   transmit and receive programs  cannot  be 
  687.  
  688.      run  from Windows.  The most common problem with the  interface  is 
  689.  
  690.      wiring  errors. The pin numbers on the opamp seem to get  mixed  up 
  691.  
  692.      with  the pin numbers on the COM port plug. The Wefax  choice  (99) 
  693.  
  694.      will tick away even if the interface is not connected, so don't let 
  695.  
  696.      that fool you. If the Wefax doesn't tick but gives a constant tone, 
  697.  
  698.      you  forgot to create the RAMDRIVE and insert it's  designation  in 
  699.  
  700.      line 3050. 
  701.  
  702.           Once you get the machine ticking, let it run for 30 seconds or 
  703.  
  704.      so  and  then hit H (for Halt) to stop the copying.  The  tone-tick 
  705.  
  706.      should stop and after a brief delay, you should get an image on the 
  707.  
  708.      screen---in this case it will be multi-colored noise. After looking 
  709.  
  710.      at  the image, you hit Q  (for Quit) to exit the image. You can now 
  711.  
  712.      choose  to SAVE the image, retransmit  the image, transmit  another 
  713.  
  714.      file,  or  return to BASIC where you can hit F2 to  setup  to  copy 
  715.  
  716.      another  picture.  The major keys to remember  are  SPACEBAR  which 
  717.  
  718.      bypasses the frame sync and starts the ticking, then H which  halts 
  719.  
  720.      the  ticking and advances you to a picture, and then Q which  exits 
  721.  
  722.      the picture. You should now be ready to copy real pictures. 
  723.  
  724.           Tune to 14230, the most used SSTV frequency and carefully tune 
  725.  
  726.      in the voice of a transmitting SSTV station to make it sound  natu-
  727.  
  728.      ral. If you have pass band tuning or other methods for shifting the 
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.      received  passband,  move the passband to attenuate the  lows.  The 
  737.  
  738.      lowest  frequency  used is 1100 hz. When the station  announces  it 
  739.  
  740.      will  send  a  certain mode, select that mode  quickly  and  ENTER. 
  741.  
  742.      Different  modes  have different  header lengths---AVT  and  FAX480 
  743.  
  744.      headers  are quite long before they start the picture. The  picture 
  745.  
  746.      copying  should start properly synchronized. On everthing but  AVT, 
  747.  
  748.      this   should be almost immediately after the fax audio begins.  If 
  749.  
  750.      no  ticking starts (give it 6 full seconds for the long  header  on 
  751.  
  752.      AVT pictures), you missed the header so hit SPACEBAR to bypass. Let 
  753.  
  754.      the copying run until the machine turns itself off (or if you tuned 
  755.  
  756.      in  late you may need to Halt when the picture ends). It then  will 
  757.  
  758.      display what it copied. The pictures are intentionally offset  just 
  759.  
  760.      a  little to facilitate easy scrolling to position the pix  exactly 
  761.  
  762.      if  you choose to SAVE it or retransmit it. Use the right arrow  to 
  763.  
  764.      drop  the trash off the left edge of the picture and then  use  the 
  765.  
  766.      fine step left arrow to just bring the trash back to the left  edge 
  767.  
  768.      (look  at the right edge to see what you are doing). The  trash  on 
  769.  
  770.      the right will be trimmed off by the VUing program. If it is a  256 
  771.  
  772.      line  picture  (Scottie, Martin, etc.), it will have  16  lines  of 
  773.  
  774.      shades  of gray display so you'll want to scroll down  to see  what 
  775.  
  776.      fell off the bottom of the screen (there are only  240 lines avail-
  777.  
  778.      able  on the screen). The transmit program adds the 16 line  shades 
  779.  
  780.      of  "gray" display to whatever file it is asked to send, so if  you 
  781.  
  782.      don't  scroll down before saving or retransmitting you'll  transmit 
  783.  
  784.      two such displays and less picture. (Actually, we transmit a shades 
  785.  
  786.      of red and shades of green display since the gray looks incongruous  
  787.  
  788.      with  all the other pretty colors. This was promptly reported as  a 
  789.  
  790.      "fault" by some folks. C'est la vie !). To facilitate scrolling the 
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.      shades of gray out of the picture, the key D (for Down) will  scroll 
  799.  
  800.      you down at 8 lines per hit.  
  801.  
  802.           If  the  picture mode was a Robot mode the  three  frames  are 
  803.  
  804.      different  widths  (the  chroma frames are 1/2 the  B/W  frame)  so 
  805.  
  806.      scrolling  affects  the color registration--you scroll to  get  the 
  807.  
  808.      proper color registration. Then you use keys F and G to retune  the 
  809.  
  810.      signal in 10 hz increments to optimise the color balance. The Robot 
  811.  
  812.      modes  are  critical to tuning and deteriorate more  rapidly  under 
  813.  
  814.      poor  conditions so on average don't expect to see  equivalence  to 
  815.  
  816.      Scottie modes. 
  817.  
  818.           When  you SAVE a pix or retransmit it, DO carefully scroll  it 
  819.  
  820.      so the trash on the left edge of the picture is JUST BARELY off the 
  821.  
  822.      left  edge  of  the screen. The transmit program is  based  on  you 
  823.  
  824.      having done that.
  825.  
  826.           Occasionally,  some  one will send a pix in a  mode  different 
  827.  
  828.      from  what  was announced. Let it go ahead and copy  and  after  it 
  829.  
  830.      shuts  off you can go to BASIC, LOAD VU.BAS and click  through  the 
  831.  
  832.      mode  choices using the d:a.p default file name to find  the  right 
  833.  
  834.      mode.  The picture probably will be skewed slightly, but you  don't 
  835.  
  836.      lose the whole thing.
  837.  
  838.           Make  a  practice  of listening to the fax  signals  and  soon 
  839.  
  840.      you'll be able to tell what mode it is with the tick rate being the 
  841.  
  842.      most  recognizable  feature.  The AVT's  have  a  very  distinctive 
  843.  
  844.      "triple  chirp" beginning (VIS code repeated 3 times)  with a  pro-
  845.  
  846.      longed  count down to start and finally the pix starts with a  more 
  847.  
  848.      irregular  sound.  It doesn't appear justified to me  for  the  AVT 
  849.  
  850.      modes  to spend six seconds on the header. As the number of  people 
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.      using color fax grows, you can expect some attrition of modes  that 
  859.  
  860.      do not use on-the-air time efficiently. The AVT's don't waste  time 
  861.  
  862.      on line sync's but then they blow it on the header.
  863.  
  864.           This program was in the development cycle when WB8DQT came out 
  865.  
  866.      with his FAX480. It was easy to add this mode to the software, so I 
  867.  
  868.      did.  He only had 16 shades of gray--my 64 shades processing  gives 
  869.  
  870.      truly  photographic  quality to this mode. Unfortunately,  he  suc-
  871.  
  872.      cumbed  to the "header syndrome" and loaded up what is a  very  good 
  873.  
  874.      mode with another excessive header (based on unattended  commercial 
  875.  
  876.      fax  machines). I rebelled at this and decided not to make  another 
  877.  
  878.      header  decoder but to just wait until most  of the 20 empty  lines 
  879.  
  880.      in  the header were finished to hit SPACEBAR to start it  manually, 
  881.  
  882.      so that's how you have to manually acquire the FAX480 pictures. The 
  883.  
  884.      empty  lines are readily recognizable by ear. If he had just put  a 
  885.  
  886.      VIS  header  like Scottie on the front end, and  called it  a  high 
  887.  
  888.      resolution B/W SSTV mode, it would have worked great and would have 
  889.  
  890.      been  more welcome on 14230. The obsession with starting "in  sync" 
  891.  
  892.      every  time comes from paper type fax systems. With a  CRT  system,  
  893.  
  894.      the occasional out of sync condition just requires a little scroll-
  895.  
  896.      ing. As described below in ANOTHER MODE,  we have a VIS version  of 
  897.  
  898.      this mode now.
  899.  
  900.           When  you're finished with the picture, hit Q to go back to  a 
  901.  
  902.      selection screen. You can retransmit the picture directly from  the 
  903.  
  904.      d:a.p file where it is stored. Or you can SAVE it.
  905.  
  906.           You'll be very happy about now if your computer is at least as 
  907.  
  908.      fast as mine, and it's TIME clock loses exactly as many seconds per 
  909.  
  910.      day as mine does. If that is not the case, you will have seen  some 
  911.  
  912.      slant to the sides of  the picture and maybe even some  break-locks 
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.      on  the sync (looks like someone cut the photo and slid the  bottom 
  921.  
  922.      half to the left). The parameters which affect these things are  on 
  923.  
  924.      the SYSTEM CONFIGURATION list (LIST 3000-3500). If you have a  slow 
  925.  
  926.      computer  it may have bad breakup---if that is the case,  start  by 
  927.  
  928.      doubling  the  sync  window (SW). If there  aren't  too  many  sync 
  929.  
  930.      breaks,  ignore them for now and concentrate on adjusting the  line 
  931.  
  932.      timing, LT, first. Since the Navy Wefax is on the air all the  time 
  933.  
  934.      (on  USB on frequencies 3354.9, 8077.9, 10862.9 and 16407.9  Khz.), 
  935.  
  936.      that might be a good choice to set first. Choose mode 99 and answer 
  937.  
  938.      the questions  or accept the default choices. This is the only mode 
  939.  
  940.      that  offers a choice of manual start. If you choose  AUTO-SYNC  in 
  941.  
  942.      this mode as in all other modes you can bypass it by hitting SPACE-
  943.  
  944.      BAR  if  the SYNC doesn't  show---which happens more often  in  the 
  945.  
  946.      Wefax transmissions. Scroll the image to put some vertical line  in 
  947.  
  948.      the picture against the edge of the screen. If the top leans right, 
  949.  
  950.      lower LT99 and vice versa. You can converge on the right value more 
  951.  
  952.      quickly  if you use a ruler to measure and record  the  out-of-true 
  953.  
  954.      across  the top of the screen for each value of LT you try. If your 
  955.  
  956.      screen  aspect is the same as mine, the formula for the  correction 
  957.  
  958.      is  1125 TAN X, where X is the angle off vertical. Or if you  count 
  959.  
  960.      the pixels you are off by at  the bottom of the screen, the correc-
  961.  
  962.      tion is about 1125/240 times the pixel offset. That is, measure the 
  963.  
  964.      pixel offset and multiply it by 4.7.
  965.  
  966.           The most popular mode on 14230 seems to be Scottie 1, so  that 
  967.  
  968.      will  be a good SSTV mode to align first. PLEASE DON'T  ask  people 
  969.  
  970.      to  just transmit for your alignment use. Take whatever gets  sent. 
  971.  
  972.      Once  you determine what the exact correction for  one mode is  you 
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.      can  calculate the correction for all the other modes. The  correc-
  981.  
  982.      tions will tend to scale with line lengths (ie, the bytes/line)  so 
  983.  
  984.      you  can get very close by taking the correction for one  mode  and 
  985.  
  986.      adjusting  it for other modes. For example, the Scottie 1 mode  has 
  987.  
  988.      878  bytes/line. If we found that it's line timer, LT3, had  to  be 
  989.  
  990.      increased  by 25 counts, then the Martin 1 (915 bytes/line)  timer, 
  991.  
  992.      LT7, would be increased by 915/878 times 25 = 26 counts. For refer-
  993.  
  994.      ence  the bytes/line for each mode is: (1)306 (2)614 (3)878  (4)568 
  995.  
  996.      (5)768  (6)960 (7)915 (77)465 (8)745 (9)546 (99)1024. You may  need 
  997.  
  998.      to  do  a little more trimming on these calculated values  for  LT. 
  999.  
  1000.      Reports  from other users indicates the calculated corrections  are 
  1001.  
  1002.      usually  right  on target, however. PLEASE DO take the  trouble  to 
  1003.  
  1004.      make  the pictures exactly square on receive as any skew you  leave 
  1005.  
  1006.      in will be transmitted to the world every time you send a  picture. 
  1007.  
  1008.      In  Revision D we have added a simple program, LINETIME.BAS,  which 
  1009.  
  1010.      will calculate the exact line timing numbers for all modes when  it 
  1011.  
  1012.      is fed the corrected timing for the Scottie 1 mode, LT3. Fortunate-
  1013.  
  1014.      ly, the exact same timing numbers are used for transmit, so you can 
  1015.  
  1016.      get your transmit alignment done without even transmitting. Believe 
  1017.  
  1018.      me, the people on 14230 will appreciate that courtesy.
  1019.  
  1020.           I have read a suggestion on one of the BBS that you use a tape 
  1021.  
  1022.      recorder to copy a picture off the air and then play that back  for 
  1023.  
  1024.      alignment.  While most audio recorders aren't stable enough,  using 
  1025.  
  1026.      the audio channel on a reasonable quality VCR is useful. While most 
  1027.  
  1028.      people  operating on the non-Robot modes have pretty accurate  line 
  1029.  
  1030.      timing, the Robot modes as mechanized on different systems vary all 
  1031.  
  1032.      over  depending on how many updates a particular station  has.  You 
  1033.  
  1034.      can  use the non-synchronous modes, (11) for Robot 36 and (22)  for 
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.      Robot  72,  on receive to avoid having to align the Robot  LT's  but 
  1043.  
  1044.      eventually  you'll want to retransmit a Robot pix and it  would  be 
  1045.  
  1046.      desirable  to have determined the  synchronous  (ie,crystal-locked) 
  1047.  
  1048.      alignment---on  modes  (1)  and  (2)---with  an  up-to-date   Robot 
  1049.  
  1050.      equipped  station like W5ZR or N4OBQ. Note that LT1 is exactly  1/2 
  1051.  
  1052.      of LT2 so you only need to experimentally align one. The calculated 
  1053.  
  1054.      value  for this correction on Robot will be far better than  you'll 
  1055.  
  1056.      get  by trying to align to just any station you happen to  hear.  I 
  1057.  
  1058.      heard  a lengthy exercise on 14230 recently which  illustrated  how 
  1059.  
  1060.      NOT to do this. A station with this system asked W7--- to send  him 
  1061.  
  1062.      a Robot picture so he  could align his  LT (which is a no-no).  The 
  1063.  
  1064.      W7  was  using a Pasokon which has different line timing  from  the 
  1065.  
  1066.      Robot  systems (on the Robot modes and the Wraase 96), so the  fre-
  1067.  
  1068.      quency  was tied up for an extended period of time aligning to  the 
  1069.  
  1070.      wrong standard. Remember the SSTV frequencies are like giant party-
  1071.  
  1072.      line phones with many people listening and waiting to send or  copy 
  1073.  
  1074.      pictures. Move your extended chit-chat to other frequencies.  Since 
  1075.  
  1076.      almost  everyone  has resigned themselves to  copying  Robot  modes 
  1077.  
  1078.      using Line-Sync due to the wide variety of  timings, the   benefits 
  1079.  
  1080.      of crystal locked  reception of the Robot will only be available to 
  1081.  
  1082.      those who bother to set their timing to the Robot standard, and  is 
  1083.  
  1084.      communicating  with  a station who has done the  same  thing.  When 
  1085.  
  1086.      making these LT adjustments, note that if you pick anything but the 
  1087.  
  1088.      BASIC choice when you exit the picture, you will lose any temporary 
  1089.  
  1090.      changes  you  have  made to the CONFIGURATION list.  When  you  get 
  1091.  
  1092.      perfectly  square  pictures, SAVE the program with  the  latest  LT 
  1093.  
  1094.      value. The program will only accept values for LT up to 65,535. You 
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.      start over with 0  if you need greater numbers.
  1103.  
  1104.           After aligning LT, if you still have any sync breaks, you will 
  1105.  
  1106.      need  to  lower the Gross Timer. The process here is  identical  to 
  1107.  
  1108.      trying to fit tiles into a fixed size room. We've squared the  room 
  1109.  
  1110.      with  LT. We have a few hundred tiles  (pixels) to squeeze  into  a 
  1111.  
  1112.      room  which has a fixed size (LT) and if the tiles are  too   wide,  
  1113.  
  1114.      the  last tile will  run into the wall  and break sync. The  number 
  1115.  
  1116.      for GT represents the width of each tile  (pixel). Decreasing it by 
  1117.  
  1118.      1  will slice one microinch (microsecond) off of every   tile.  You 
  1119.  
  1120.      can slice several microinches off each tile  (maybe decrease GT  by 
  1121.  
  1122.      5)  so you're sure it  will fit but that may leave an ugly  gap  at 
  1123.  
  1124.      the  edge  of the floor. You can cover that over with trim  at  the 
  1125.  
  1126.      edge  of  the floor, but if you copy the picture  out-of-sync  that 
  1127.  
  1128.      ugly gap moves into the middle of the floor (picture). So you  want 
  1129.  
  1130.      to  make GT low enough to eliminate any occasional break  locks  but 
  1131.  
  1132.      not so low as to leave an ugly gap which will show up when you miss 
  1133.  
  1134.      sync  on a picture. If your computer is very fast, the  measurement 
  1135.  
  1136.      accuracy  for  each pixel (tile) will be more precise, so  you  can 
  1137.  
  1138.      stack the pixels with less gap at the edge without having the  risk 
  1139.  
  1140.      of  running into the "wall" set by LT. If you have sync  breaklocks 
  1141.  
  1142.      that  seem  independent  of the GT value, you need  a  larger  Sync 
  1143.  
  1144.      Window  (SW). The SW represents the amount of time in  microseconds 
  1145.  
  1146.      it takes the computer to decide if  it's at the LT "wall". Obvious-
  1147.  
  1148.      ly, a slower computer needs more time.
  1149.  
  1150.           You  may ask why we chose to use only one pixel  (tile)  size, 
  1151.  
  1152.      GT,  to fit all these different modes (rooms) with  different  line 
  1153.  
  1154.      timing  (widths).  It  was just a matter of  convenience.  You  can 
  1155.  
  1156.      further  optimise  the  system by using a  different  GT  for  each 
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.      mode---in fact, with the deterioration you might get from a  slower 
  1165.  
  1166.      computer, this could be quite worthwhile. You will note that we  did 
  1167.  
  1168.      use a different GT (GT99) in the Wefax mode.  Remember, the way  to 
  1169.  
  1170.      see this effect is to copy a picture out-of-sync and look carefully 
  1171.  
  1172.      at the results at the parting line and on either side of that  line 
  1173.  
  1174.      look  at the color registration. Since the AVT modes have  no  line 
  1175.  
  1176.      sync period in which to hide this "gap", the effect is more notice-
  1177.  
  1178.      able there.
  1179.  
  1180.           People  who have not seen SSTV pictures are usually struck  by 
  1181.  
  1182.      the  fact that many of them are noisy--in fact, anything  you  hear 
  1183.  
  1184.      (noise,  splatter, QRM, etc.)will be painted into the  picture.  So 
  1185.  
  1186.      high S/N ratios are needed for flawless pictures. Narrowing the  BW 
  1187.  
  1188.      will  help  some, but at some point will smear the  picture  bytes. 
  1189.  
  1190.      Another  source  of noise was found by KY1S in a  serial  interface 
  1191.  
  1192.      board  (made by Data Technology Corporation) which he  changed  out 
  1193.  
  1194.      for  another board he had which was clean. I have heard of  several 
  1195.  
  1196.      other  cases  since then which were solved the same  way.  Opinions 
  1197.  
  1198.      have been heard that this is more common on the newer, more compli-
  1199.  
  1200.      cated,  boards. The effect varies from a few flecks in the  pix  to 
  1201.  
  1202.      very noisy pix even with very strong signals. These I/O boards  are 
  1203.  
  1204.      very  cheap  ($10 to $15) but finding which ones work  may  take  a 
  1205.  
  1206.      little  research on the air. NF4K reports PT-606 as being  a  quiet 
  1207.  
  1208.      card  and M10-16 and UN-1072 as being noisy. AA7GU reports  UN-1072 
  1209.  
  1210.      as  being  noisy. He replaced it with a very  clean  board,  D.F.I. 
  1211.  
  1212.      model MIO-400 KF Rev. F. This board also got rid of a computer  RFI 
  1213.  
  1214.      problem  he had with his mouse connected. K2HTO reports  his  Tandy 
  1215.  
  1216.      2100, SX25, installed I/O board had much noise. A card from a local 
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.      supplier (G.C.S. tel:(800)845-6225---board is stock no. C9806)  was 
  1225.  
  1226.      completely  clean.  General indications are that  the  simpler  I/O 
  1227.  
  1228.      cards work best--cheaper is better! 
  1229.  
  1230.           Signal modulation can also come from your receiver. My  TS930S 
  1231.  
  1232.      is  completely clean while an old ICOM-720 which I use on the  boat 
  1233.  
  1234.      gives  noticeable hum bars in the pictures even though there is  no 
  1235.  
  1236.      detectable  hum in the audio. Clearly, the 120 cycle  is  frequency 
  1237.  
  1238.      modulating  the high frequency phase-lock loop in the IC720 but  it 
  1239.  
  1240.      was undetectable until I copied SSTV. With such a sensitive way  of 
  1241.  
  1242.      seeing  it,  I  intend to fix it; and I won't be  surprised  if  it 
  1243.  
  1244.      improves  my  SSB voice signal. Both of these cases may be  due  to 
  1245.  
  1246.      design  faults or just to the particular piece of  hardware.  Point 
  1247.  
  1248.      is, SSTV shows up shortfalls in hardware very clearly!
  1249.  
  1250.           You need at least 512 kb. of memory on the video board to copy 
  1251.  
  1252.      the SSTV modes. The Wefax copying optimally will need 1 mb. But the 
  1253.  
  1254.      provisions  are  made  in the VUing program to look  at  Wefax  pix 
  1255.  
  1256.      through  a  640x480  window. The program  provides  1024x768  Wefax 
  1257.  
  1258.      viewing  on video card choices Trident, Tseng, and VESA  only.  The 
  1259.  
  1260.      normal Wefax image has 1024 pixels per line and 1536 lines, so  you 
  1261.  
  1262.      only  see a portion of the total image at a time. The keys  S  (for 
  1263.  
  1264.      Shrink)  and X (for eXpand) can be used to see more or less on  the 
  1265.  
  1266.      screen. Also, if you are using the 1024x768 screen, you can get  an 
  1267.  
  1268.      expanded view of a portion of the pix by switching to 640x480.  Try 
  1269.  
  1270.      copying  maps in the Wefax mode. You'll be able to read the  really 
  1271.  
  1272.      small print ! If you want to print a copy of the map, position  the 
  1273.  
  1274.      place on the map where you'd like the printer to begin to the upper 
  1275.  
  1276.      left  corner of the screen and hit P to start the printer.  Hitting 
  1277.  
  1278.      any key will stop the printer.
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.           The  Wefax images initially appear in 64 gray shades. You  can 
  1287.  
  1288.      choose  color  palettes 1 through 5 for various  effects.  This  is 
  1289.  
  1290.      useful for seeing ocean thermal currents like the Gulf stream on IR 
  1291.  
  1292.      images (you can identify IR images as the black sky will be  white; 
  1293.  
  1294.      ie,cold). Cold is white and warm is black  in IR images. Or you can 
  1295.  
  1296.      take  a  vertical profile of the clouds by first hitting G  to  get 
  1297.  
  1298.      Gray,  then hit C to Color the top (coldest) layer. Each  time  you 
  1299.  
  1300.      add another C, you color the next lower level. A total of 64 levels  
  1301.  
  1302.      are  available. This is useful to identify the more severe  weather 
  1303.  
  1304.      which  generally boils up to higher altitudes. When you use one  of 
  1305.  
  1306.      the  color palettes, C can also be used to step through  the  color 
  1307.  
  1308.      palettes  to highlight visibility of small temperature  differences 
  1309.  
  1310.      at sea level to see things like ocean currents. These currents  are 
  1311.  
  1312.      of particular interest to fishermen.
  1313.  
  1314.           A portion of a Wefax pix may be saved in FAX480 format. You're 
  1315.  
  1316.      seldom  interested in the whole image and it takes a lot of  memory 
  1317.  
  1318.      to save the whole thing. I use date/time/mode filenames for  these. 
  1319.  
  1320.      28MY123V.FAX  denotes  1230Z on May 28 in Visual mode.  Scroll  the 
  1321.  
  1322.      Wefax image to put the portion to be saved in the upper left corner 
  1323.  
  1324.      of  the screen (you save 536x480 pixels--I use pencil marks  on  my 
  1325.  
  1326.      CRT  to  mark these borders). When you or someone you  send  it  to 
  1327.  
  1328.      views  this  pix with VU, you select the Wefax mode (99)  and  when 
  1329.  
  1330.      queried  about screen size take the choice FAX480 PIX.  This  gives 
  1331.  
  1332.      you the colorizing choices of Wefax described above for viewing  IR 
  1333.  
  1334.      pixes. Or just VU it as a B/W FAX480 pix.
  1335.  
  1336.           One  last item on RT.BAS is the parameter, DE, on  the  SYSTEM 
  1337.  
  1338.      CONFIG  list. I made this delay DE=0 to suit my own practice.  This 
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.      value  starts the picture copying a little early, so you'll  always 
  1347.  
  1348.      need to hit the right arrow first to scroll  into picture left edge 
  1349.  
  1350.      coincidence.  You  may  prefer to set it to start  at  the  picture 
  1351.  
  1352.      beginning--accepting  the risk that QRM will occasionally  make  it 
  1353.  
  1354.      start  late. If it starts late, you will move the "edge  of  floor" 
  1355.  
  1356.      gap  into the active picture region instead of hiding it under  the 
  1357.  
  1358.      SYNC period. You must set DE to numbers less than 256. Generally  it 
  1359.  
  1360.      will be less than 20.
  1361.  
  1362.           When you manually select the mode, the frame SYNC for the non-
  1363.  
  1364.      AVT modes is fairly simple and can be spooked  by any 1200 hz  tone 
  1365.  
  1366.      of adequate length. This has not proved to be a problem except  for 
  1367.  
  1368.      a very few stations. For some reason, the Robot (?) systems have  a 
  1369.  
  1370.      capability  to send your call sign in CW at the beginning  (instead 
  1371.  
  1372.      of  at  the end ?) of picture transmission and they  chose  to  use 
  1373.  
  1374.      keyed  1200  hz. Most people have turned off this  feature  (giving 
  1375.  
  1376.      your  call sign verbally, immediately followed by giving it in  CW, 
  1377.  
  1378.      followed  by  a picture with your call sign on it seems a  tad  too 
  1379.  
  1380.      often) since it uses valuable on-the-air time unnecessarily. A  few 
  1381.  
  1382.      gentle reminders may fix this problem. With a little dexterity, you 
  1383.  
  1384.      can hit the mode ENTER key on the last character of the CW and  get 
  1385.  
  1386.      a normal start--or just wait until start and bypass with the SPACE-
  1387.  
  1388.      BAR for any stations which continue to use this feature.
  1389.  
  1390.           Since the above paragraph was written, I  have added automatic 
  1391.  
  1392.      VIS recognition to the program. You need to be within 50 cps of the 
  1393.  
  1394.      transmitting  station's frequency for this to work well  since  the 
  1395.  
  1396.      VIS  frequencies  are so close. Unfortunately, people  have  gotten 
  1397.  
  1398.      careless  about  being right  on  frequency. When you  select  this 
  1399.  
  1400.      option, the mode name is displayed as soon as it is recognised. You 
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.      can  break out of this mode by hitting any key, so if it  fails  to 
  1409.  
  1410.      grab  and  start copying, you can hit the proper mode key  and  hit 
  1411.  
  1412.      ENTER  twice  to  start manually. This detection is  made  to  have 
  1413.  
  1414.      almost  a zero chance of false alarm, and it also only  works  with 
  1415.  
  1416.      fairly  good   signals.  Since I wanted to use  it  for  unattended 
  1417.  
  1418.      operation to copy only fairly noise free pictures, this fits  fine. 
  1419.  
  1420.      It's  sensitivity  vs. false alarm rate can be changed  by  playing 
  1421.  
  1422.      with  the parameters in lines 2605, 2606, 2607 of the  RT  program. 
  1423.  
  1424.      You'll  probably end up about where it is now. Rock  the  frequency 
  1425.  
  1426.      around  + or -100 cps.  to get a feel for where the  VIS  detection 
  1427.  
  1428.      centers.
  1429.  
  1430.           I  have made several versions of the VIS  recognition  machine 
  1431.  
  1432.      language  .ASM module; namely VISCODE.ASM, VISCODEA.ASM and  VISCO-
  1433.  
  1434.      DEB.ASM.  As  of Revision D time, VISCODEB is the clear  choice.  I 
  1435.  
  1436.      have  precisely measured the VIS code frequencies (1200  cps,  1300 
  1437.  
  1438.      cps and 1100 cps) being transmitted by various stations and  except 
  1439.  
  1440.      for  the Robot systems, there is considerable variation in how  far 
  1441.  
  1442.      above  and below 1200 cps the systems transmit. One popular  system 
  1443.  
  1444.      goes  up to 1300 cps OK but only down to 1180 cps. So if  you  have 
  1445.  
  1446.      trouble with certain stations, record his VIS with an AVT mode, and 
  1447.  
  1448.      look  at the frequencies using the new TUNE program to see what  he 
  1449.  
  1450.      is transmitting. While absolute frequency measurement is not possi-
  1451.  
  1452.      ble  due to the vagaries of whether you are on the same  frequency, 
  1453.  
  1454.      the differential frequency measurement is very precise.   
  1455.  
  1456.           Another mode added provides Auto-recognition plus Save to give 
  1457.  
  1458.      you unattended capability. It ignores weak signals. You can  select 
  1459.  
  1460.      any  drive\path   to  Save the pix in. I use the RAMDISK  so  if  I  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.      forget it's turned on I won't fill up my hard disk. When I return I 
  1469.  
  1470.      use  d:>ss (ie, Slidesho) to view what was received to decide  what 
  1471.  
  1472.      to save more permanently. You can break out of AUTO+SAVE by hitting 
  1473.  
  1474.      F5 to goto Basic, then F10 to return to DOS.
  1475.  
  1476.           In revision C of RT, we have added the capability when  saving 
  1477.  
  1478.      pictures  of  doing it not only in full form but also  directly  in 
  1479.  
  1480.      compressed format using a batch file, PK.BAT, which must be  placed 
  1481.  
  1482.      in  the  same  directory  as SLIDESHO, TRUSHO,  etc.  (ie,  DOS  or 
  1483.  
  1484.      TOOLS).  In revision D we use PKZIP so you need a copy of that.  If 
  1485.  
  1486.      you  like  some other compression program, you can  change  PK.BAT, 
  1487.  
  1488.      PKV.BAT, and PKX.BAT to incorporate it.
  1489.  
  1490.           If you copy (or REName) a file in the RAMDISK to d:a.p you can 
  1491.  
  1492.      then  LOAD RT: make a temporary change to RT by typing a  new  line 
  1493.  
  1494.      880-----880  GOTO 890----and then RUN the program. Select the  mode 
  1495.  
  1496.      the  picture was copied in and ENTER. The pix will appear as if  it 
  1497.  
  1498.      was just copied and you can rescroll it if needed and then save  it 
  1499.  
  1500.      permanently. This is another non-obvious use for RT.
  1501.  
  1502.           If  you  don't  want the tone  tick  (measures  the  program's 
  1503.  
  1504.      "heart-beat"),  Rev C has added a "heart" symbol on the  screen  to 
  1505.  
  1506.      show when the tone is ticking. This is contained in  lines 775  and 
  1507.  
  1508.      776  in  Rev C in case you want to remove it. The  easiest  way  to 
  1509.  
  1510.      remove  a  line  but keep it's content for later  reference  is  to 
  1511.  
  1512.      insert  an apostrophe as the first character in  the  line--turning 
  1513.  
  1514.      the line into a Comment. 
  1515.  
  1516.           Since AVT modes have both  a VIS code and a complicated  frame 
  1517.  
  1518.      SYNC  sequence,  you can get hung up by passing the  VIS  test  but 
  1519.  
  1520.      missing the frame SYNC test  (it's capture window is narrower  than 
  1521.  
  1522.      the  VIS), so I just bypassed the frame SYNC and copy them  out  of 
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.      SYNC. You can eliminate line 724 if you want to keep the frame SYNC. 
  1531.  
  1532.      Don't  forget to clear out the RAMDISK for future copying. You  can 
  1533.  
  1534.      tell  when  the RAMDISK gets full when you copy a pix and  it  only 
  1535.  
  1536.      fills part of the screen. 
  1537.  
  1538.           In my experience with the previous wefax programs, I have only 
  1539.  
  1540.      seen one computer (a name brand laptop) which didn't have a proper-
  1541.  
  1542.      ly  operating crystal-controlled clock. I have heard of one  other. 
  1543.  
  1544.      The  sympton  is the lines in the pix wander all  over  the  place. 
  1545.  
  1546.      You'll have to fix the clock to crystal-controlled stability to use 
  1547.  
  1548.      these  programs  if you run into this. We have seen one  case  like  
  1549.  
  1550.      this  which only broke out of crystal-lock in Transmit. This was  a 
  1551.  
  1552.      486  machine  and K3OWX solved it by going out of the  turbo  mode. 
  1553.  
  1554.      There  is some general trend we have noted that the crystal  clocks 
  1555.  
  1556.      are not being held to as stringent tolerances as before.
  1557.  
  1558.  
  1559.  
  1560.      REVISION D  ADDITIONS TO RT.BAS
  1561.  
  1562.           KY1S  added a picture menu screen to his copy of  our  program 
  1563.  
  1564.      using some fancy Basic programming. It seemed neat, and not expect-
  1565.  
  1566.      ing  very many would want to go to that trouble, we decided to  add 
  1567.  
  1568.      the capability for you to add your own customized picture menu just 
  1569.  
  1570.      by  making a file. That is, take your own favorite picture and  use 
  1571.  
  1572.      PCXLABEL   to  add  the  menu  items.  The  menu  pcx   files   are 
  1573.  
  1574.      MODELIST.PCX,  FCNKEYS.PCX, K3BCSSTV.PCX, and PICKMODE.PCX.  You've 
  1575.  
  1576.      already  seen the one I made. You'll probably want to put your  own 
  1577.  
  1578.      call sign at the top. The menu file name goes in line 3240 and  the 
  1579.  
  1580.      mode number goes in line 3245 of the RT SYSTEM CONFIGURATION.  Line 
  1581.  
  1582.      3230  gives you a selection of menu choices. Try all 3 to see  what 
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.      the differences are. Also, to minimize the key strokes when operat-
  1591.  
  1592.      ing   from  the  picture  menu,  we  added  a  small  ML   program, 
  1593.  
  1594.      SELECTMO.ASM,  which gives single key stroke mode command  (ie.  no 
  1595.  
  1596.      ENTER  required). On modes like M1, mode 77, which require two  key 
  1597.  
  1598.      strokes,  a 1 second delay is allowed for the second  stroke.  This 
  1599.  
  1600.      delay can be changed in line 1352 of RT.
  1601.  
  1602.           We  have  included the Trucolor viewing into the  RT  program. 
  1603.  
  1604.      There  are a number of possible choices of picture size  and  color 
  1605.  
  1606.      resolution  on both the menu screen and the received  pictures,  so 
  1607.  
  1608.      try  all the combinations to see what you like; lines  3250,  3260, 
  1609.  
  1610.      and 3270 contains the switches. We have used fractal techniques  to 
  1611.  
  1612.      take  the pixellization out of the full screen  Trucolor  pictures, 
  1613.  
  1614.      as described below in TRUSHO.
  1615.  
  1616.  
  1617.  
  1618.      REVISION E ADDITIONS TO RT.BAS
  1619.  
  1620.           We have added REAL TIME copying capability to RT for those  of 
  1621.  
  1622.      you with TRUCOLOR video cards and fast enough computers (386-25 mhz 
  1623.  
  1624.      equivalent  speed approximately). It is switched IN or OUT in  line 
  1625.  
  1626.      3280  of RT. Robot modes are not covered since they take  too  much 
  1627.  
  1628.      processing to display quickly. The real time pix is raw as received  
  1629.  
  1630.      with  no processing or resizing. In fact it gives you a  very  good 
  1631.  
  1632.      illustration of the effectiveness of our poor man's digital filter-
  1633.  
  1634.      ing  which  replaces bytes that lie outside the 1500  to  2300  cps 
  1635.  
  1636.      range.  In  AUTO modes you'll need to be quick to  catch  the  mode 
  1637.  
  1638.      names. Also, the six second wait for the AVT header to be  received 
  1639.  
  1640.      seems  aggravated since you are looking at the screen just waiting. 
  1641.  
  1642.      Be  sure to get your Trucolor card all integrated using TRUSHO  and 
  1643.  
  1644.      then  transfer  the card's SYSTEM CONFIG parameters  to  RT  before 
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.      trying this.
  1653.  
  1654.           The Wefax mode will also copy in REAL  TIME. While none of the 
  1655.  
  1656.      real  time screens can be scrolled while copying, the Wefax  has  a 
  1657.  
  1658.      skip control to jump the picture to the left on the screen approxi-
  1659.  
  1660.      mately 1/7 of a screen every time you hit S (for skip). This  actu-
  1661.  
  1662.      ally changes the SYNC point on the incoming data, so you'll  gener-
  1663.  
  1664.      ally only use it early in the picture. You can quickly  see how far 
  1665.  
  1666.      out of SYNC picture is and estimate how many times to hit S. 
  1667.  
  1668.           We have added a TUNE screen to facilitate getting on the other 
  1669.  
  1670.      guy's frequency and to give you some insight into what the  equiva-
  1671.  
  1672.      lent  analog signals look like. It will give you snapshots of  what 
  1673.  
  1674.      the signal looks like as it comes in (at the expense of  interrupt-
  1675.  
  1676.      ing  the copying--the computer is strained to it's  capacity  while 
  1677.  
  1678.      copying,  so  interleaving  a Tune display  without  degrading  the 
  1679.  
  1680.      copying isn't practical) or after the picture is received, you  can 
  1681.  
  1682.      scroll  the TUNE screen throughout the pix to see what's going  on. 
  1683.  
  1684.      The same scroll commands used when viewing the picture are used. To 
  1685.  
  1686.      view the line SYNC in modes that have one, you scroll down one line 
  1687.  
  1688.      and  then hit the left arrow several times to bring the SYNC  pulse 
  1689.  
  1690.      into  view. Now you can scroll down one line at the time  with  the 
  1691.  
  1692.      down  arrow and see successive SYNC's and what their average   fre-
  1693.  
  1694.      quency  is.  Or you can scroll along a whole line  using  the  fast 
  1695.  
  1696.      scroll  R  key. If pix was an AVT copied in AUTO+SAVE, it  has  the 
  1697.  
  1698.      header  captured and you can look at the 1600, 1900, and  2200  cps 
  1699.  
  1700.      header  patterns. You can even go back to old files, copy  them  to 
  1701.  
  1702.      d:a.p,  change line 880 as described above, and view their  tuning. 
  1703.  
  1704.      Note that the scale on the TUNE screen is not linear.
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.           When using the TUNE screen while copying, just hit T, and  the 
  1713.  
  1714.      last  400  or  so pixels are displayed. Hit T again  for  each  new 
  1715.  
  1716.      snapshot, We used snapshots because displaying continuously is  too 
  1717.  
  1718.      confusing to use. When you want to resume copying, hit G; or if you 
  1719.  
  1720.      want to quit, hit Q. The snapshots cannot be scrolled. If you  want 
  1721.  
  1722.      to look at another stations VIS code frequencies, you can use  mode 
  1723.  
  1724.      6  and  SPACEBAR to start copying just before the  picture  starts. 
  1725.  
  1726.      After  copying a few lines, you can halt and go to the TUNE  screen 
  1727.  
  1728.      to  scroll through his VIS code frequencies which should  be  1900, 
  1729.  
  1730.      1200,  and then switch between 1100 and 1300. This is probably  the 
  1731.  
  1732.      quickest  way  to get on frequency. Or if he sends  out  a  tune-up 
  1733.  
  1734.      tone, the T snapshot in mode 6 would work well.
  1735.  
  1736.           If  you have a precision audio oscillator available,  you  can 
  1737.  
  1738.      calibrate  the TUNE screen more precisely by copying the tone  from 
  1739.  
  1740.      it.  Calibration for the snapshot is in line 480 and for  the  file 
  1741.  
  1742.      perusal TUNE screen is in line 2805. The same correction POKE  goes 
  1743.  
  1744.      in both places.    
  1745.  
  1746.                     
  1747.  
  1748.                                                                                                                                                                                                                                                                                                                                                  
  1749.  
  1750.      TX.BAS
  1751.  
  1752.           [NOTE:  The TX program has been superceded by the VT.BAS  pro-
  1753.  
  1754.      gram below, so it is not being kept updated with new changes. Since 
  1755.  
  1756.      there  may be someone with a very slow computer who might  want  to 
  1757.  
  1758.      still use TX instead of VT, it is still included.]
  1759.  
  1760.           The  transmit  program  uses  the  same  SYSTEM  CONFIGURATION 
  1761.  
  1762.      choices  as the receive (RT.BAS) program, so the first step  is  to 
  1763.  
  1764.      transfer  those  choices.  LIST 1000-2000 to  see  the  choices  on 
  1765.  
  1766.      TX.BAS. Be sure to put the cursor in the clear and re-LIST to check 
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.      things before SAVEing the modified program. Note that if you  don't 
  1775.  
  1776.      put the cursor in the clear before hitting a function key, it  will 
  1777.  
  1778.      type  the function key word right where the cursor is,  over-writing 
  1779.  
  1780.      the program and giving some weird results.
  1781.  
  1782.           Running TX.BAS is very simple. Put  the transmitter in VOX  if 
  1783.  
  1784.      it  isn't already there. You select the file you want to  send  and                                                                                                         
  1785.  
  1786.      note  what  mode suffix it has. The mode suffix and file  name  are 
  1787.  
  1788.      given when the program asks for them and after the file loads,  you 
  1789.  
  1790.      just  hit  G  to start transmitting. If  you  give  a  non-existing 
  1791.  
  1792.      path/filename, the program will return you to the BASIC "Ok"  where 
  1793.  
  1794.      you can hit F2 to try again. In this case ignore the Picture Trans-
  1795.  
  1796.      mitted message---it should be obvious that nothing has been  trans-
  1797.  
  1798.      mitted. When you key G to start transmitting, the VOX  will come on 
  1799.  
  1800.      and  the header is transmitted. The tone-tick audio cue will  start 
  1801.  
  1802.      when  the actual picture starts being transmitted. If you  want  to 
  1803.  
  1804.      terminate  the sending before the picture is finished, key  H  (for 
  1805.  
  1806.      Halt).  Listen to the ticks to see that they are very  regular.  If 
  1807.  
  1808.      you  hear a skip, someone on frequency will probably tell you  that 
  1809.  
  1810.      the picture had a break-sync. Although it didn't happen on the  two 
  1811.  
  1812.      computers  I  have, it's conceivable that a different GT  might  be 
  1813.  
  1814.      needed  for TX.BAS since the overhead processing done on each  line 
  1815.  
  1816.      is different from the receive program. If that is the case, use the 
  1817.  
  1818.      lower of the two values for GT in both programs. A better  alterna-
  1819.  
  1820.      tive  to lowering GT is available if the offending mode is  NOT  AN 
  1821.  
  1822.      AVT  MODE. You can LIST 240-370 in the TX.BAS program   and  locate 
  1823.  
  1824.      the  line that has the data for the offending mode (ie, 290 IF  I=4 
  1825.  
  1826.      THEN LL=568 etc.etc. is the line for Mode 4). That line will have a 
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.      value  called  out for a parameter SC, which is the number  of  1/2 
  1835.  
  1836.      cycles of 1200 hz line sync that will be sent on each line.  Lower-
  1837.  
  1838.      ing  this value will fix your problem (equivalent to  removing  one 
  1839.  
  1840.      "tile"). It's very unlikely you'll need to do either. Incidentally, 
  1841.  
  1842.      don't  try  to send a picture in a mode other than the  one  it  is 
  1843.  
  1844.      formatted  for. Hopefully I can find time to include a mode  refor-
  1845.  
  1846.      matting program in future revisions.
  1847.  
  1848.           People seem to be using rather long sub-directory names  these 
  1849.  
  1850.      days, so if your PATH to the file to be transmitted is long, it may 
  1851.  
  1852.      not  fit  in the space allocated in the program. You can  copy  the 
  1853.  
  1854.      file  to  the  RAMDISK as A.P and use the  program  default  choice 
  1855.  
  1856.      instead if you run into this:ie, if the program rejects a perfectly 
  1857.  
  1858.      good Path/Filename.
  1859.  
  1860.           Before  you  actually start transmitting pictures,  hook  your 
  1861.  
  1862.      headphones  across the audio transformer output to the  transmitter 
  1863.  
  1864.      and  listen to the signal while sending a pix. Compare it  to  what 
  1865.  
  1866.      you hear when receiving. If the frequencies sound quite  different, 
  1867.  
  1868.      you'll save time by adjusting the header frequency as described  in 
  1869.  
  1870.      VT.BAS below before proceeding. If the frequencies are very differ-
  1871.  
  1872.      ent, you may be breaking out of SYNC on many lines and transmitting 
  1873.  
  1874.      a mess. We've seen one 486DX2-66 machine  where this was the  case. 
  1875.  
  1876.      His  frequencies were quite low. In using this "headphone" test  on 
  1877.  
  1878.      my  laptop's transmit audio output on the RTS pin, I found  a  1000 
  1879.  
  1880.      cps  tone there continuously. This was undoubtedly  the  alternator 
  1881.  
  1882.      frequency  on the + and -12 vdc supplies which were not  adequately 
  1883.  
  1884.      filtered.  While not fully confirmed, I'm fairly sure this  is  the 
  1885.  
  1886.      source  of some wiggle (beat note effect) in the vertical lines  in 
  1887.  
  1888.      receive and transmit with  this machine.
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.           You  can  do  the initial checking of   this  program  without 
  1897.  
  1898.      actually  transmitting,  of  course. But as soon as  you  do  start 
  1899.  
  1900.      transmitting,  BE SURE to check that  the transmitter is  operating 
  1901.  
  1902.      at a low enough level so it won't overheat. Most transmitters  will 
  1903.  
  1904.      not handle a 100% duty cycle signal  like this and still operate at 
  1905.  
  1906.      maximum peak power. I failed to take my own advice on this and  had 
  1907.  
  1908.      to make a multi-transistor repair on my TS-930. If your transmitter 
  1909.  
  1910.      has an AM mode, set the output power in TV mode to the same  output 
  1911.  
  1912.      power  level  as AM. This should be plenty safe.  The  audio  level 
  1913.  
  1914.      resistor,  R_x in the schematic, is set so that you can  leave  the 
  1915.  
  1916.      transmitter mike gain at the same level whether you are talking  or 
  1917.  
  1918.      are sending fax.
  1919.  
  1920.           A  useful  feature in BASIC is the ability to list  all  files 
  1921.  
  1922.      contained  in the current default directory. For example,  to  list 
  1923.  
  1924.      all Scottie 1 files, just type:    FILES"*.S1    and RETURN       .  
  1925.  
  1926.      TX, VU, and SLIDESHO all can use this, so I have included an insert 
  1927.  
  1928.      to  make key F9 type the words FILES for convenience. FILES is  the 
  1929.  
  1930.      BASIC  equivalent  of DIR in DOS format, so the use  of  wildcards, 
  1931.  
  1932.      etc.  apply.  Note that keys F9 and F10 are not operative  for  our 
  1933.  
  1934.      program specific-use until at least one program has been RUN.
  1935.  
  1936.  
  1937.  
  1938.      VT.BAS
  1939.  
  1940.           This  is  identical to the TX program except the  file  to  be 
  1941.  
  1942.      transmitted  is put on the screen to see if it is the one  desired. 
  1943.  
  1944.      It  stays on the screen after transmitting so you can discuss  it's 
  1945.  
  1946.      details.  Q will exit the picture. If you call up a  non-file,  the 
  1947.  
  1948.      screen   will  be blank---you'll need Q to get back to  BASIC.  The 
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.      SYSTEM CONFIGURATION for the VUing part of this program is seen  by 
  1957.  
  1958.      LIST  2000-3000 and is copied from VU.BAS. The transmitting  SYSTEM 
  1959.  
  1960.      CONFIGURATION is seen by LIST 4000-5000 and is copied from RT.BAS.
  1961.  
  1962.           I have added a couple of features to this program as a  result 
  1963.  
  1964.      of  inputs from KY1S. He found it convenient to have listed on  the 
  1965.  
  1966.      screen  all of the files in the current directory which were  saved 
  1967.  
  1968.      in  the mode being used every time he picked a mode. That is,  when 
  1969.  
  1970.      you  pick  mode 3 in the VT program, all Scottie 1 files  would  be 
  1971.  
  1972.      instantly  listed for you to select  from. With the BASIC   format, 
  1973.  
  1974.      this is very easy to insert and is a perfect example of how you can 
  1975.  
  1976.      adapt  to your own operating methods. I thought others  might  like 
  1977.  
  1978.      this  capability, so I added it so you can switch it ON or  OFF  in 
  1979.  
  1980.      line 2092.
  1981.  
  1982.           Dennis  also  found that his LT numbers had to be  changed  by 
  1983.  
  1984.      about 400. Other  486 users have also reported a wider variation in 
  1985.  
  1986.      the  frequency  of the TIME-OF-DAY clock than we had  seen  before. 
  1987.  
  1988.      While this has a rather small effect on the color registration, the 
  1989.  
  1990.      headers used  for automatic recognition of modes have somewhat more 
  1991.  
  1992.      stringent  tolerances. If you get reports of people receiving  your 
  1993.  
  1994.      pictures  having  to manually start their reception, or you  had  a 
  1995.  
  1996.      large change in LT or a particularly slow computer, you may want to 
  1997.  
  1998.      measure  and possibly trim the header frequencies. We have added  a 
  1999.  
  2000.      test  mode in VT.BAS which is turned on by a switch,  TE,  in  line 
  2001.  
  2002.      4173  in  SYSTEM  CONFIGURATION. Switch TE to a 1200  or  1900  cps 
  2003.  
  2004.      position and then hook up a counter or some other method of measur-
  2005.  
  2006.      ing  frequency to the output of the interface which normally  feeds 
  2007.  
  2008.      fax audio to the transmitter. If you use a counter  you will proba-
  2009.  
  2010.      bly  need to reduce  the signal down by 50 or more to  avoid  over-
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.      driving the counter. Load in a Scottie 1 picture, and when you  hit 
  2019.  
  2020.      G(o),  a prolonged steady tone at the selected frequency will  pre-
  2021.  
  2022.      cede  the  picture.  Parameter HF in line 4171 can  be  changed  to 
  2023.  
  2024.      center the frequency. If the frequency is 3% low, raise HF by 3%. A 
  2025.  
  2026.      potentiometer  to  change the level into the counter is  useful  to 
  2027.  
  2028.      avoid  the  erroneous results you get by overdriving  the  counter. 
  2029.  
  2030.      After finding the best value for HF, SAVE it in VT.BAS and put  the 
  2031.  
  2032.      same value in line 3210 of RT.BAS and SAVE it. While this parameter 
  2033.  
  2034.      is called "header" frequency, it actually recalibrates both  header 
  2035.  
  2036.      and picture frequencies with the pokes in line 3011 of VT.BAS  (for 
  2037.  
  2038.      reference  in case you wanted to change only one of these, 2E9  and 
  2039.  
  2040.      2EA  are  the location for the header and 1FE and 1FF are  for  the 
  2041.  
  2042.      picture  data frequency). Many SSTV stations can give you  a  rough 
  2043.  
  2044.      measurement  of these frequencies over the air.[NOTE: This  feature 
  2045.  
  2046.      was  added  in Rev A; then in Rev B we  inadvertently disabled  it. 
  2047.  
  2048.      While we fixed the error fairly quickly on the ARRL BBS, some early 
  2049.  
  2050.      downloads had this error. It is OK in Rev C.]
  2051.  
  2052.           In revision E we have added a TUNE screen to RT.BAS so if  you 
  2053.  
  2054.      have  a VCR, you can record the Transmit audio output on the  VCR's 
  2055.  
  2056.      audio  channel and play it back into RT to look at the  frequencies 
  2057.  
  2058.      with the TUNE screen. While the VCR will add noise and jitter  (the 
  2059.  
  2060.      VCR  mechanical "noises" are in the audio range), you can  set  the 
  2061.  
  2062.      value  for HF with this. Or if you want to compare  picture  shades 
  2063.  
  2064.      for  different HF values, make recordings of the same pix  file  at 
  2065.  
  2066.      several settings for HF. The received image files are labelled with 
  2067.  
  2068.      the HF number and saved  or copied into the RAMDISK along with  the 
  2069.  
  2070.      original  file. Now you can use TRUSHO in it's 4-picture  mode  and 
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.      make shade comparisons between these to get a shade match with  the 
  2079.  
  2080.      original  over the entire  image. This is amazingly  accurate  when 
  2081.  
  2082.      the  match is made on the same screen. When you get a  match,  Quit 
  2083.  
  2084.      from TRUSHO on this pix and by keying Yes on the next question, the 
  2085.  
  2086.      file name value for HF will be displayed.
  2087.  
  2088.           Another  feature  added to VT.BAS in revision E  is  a  tuning 
  2089.  
  2090.      reference  tone.  After  loading a picture to  be  transmitted  but 
  2091.  
  2092.      before keying G to start transmitting, you can key T (for Tone) and 
  2093.  
  2094.      a  pulsing  1200 cps tone will be transmitted as long as  you  hold 
  2095.  
  2096.      down  the  key. This could also be used in setting HF via  the  VCR 
  2097.  
  2098.      technique as described above.
  2099.  
  2100.           Another  problem  which  I and others have  encountered  is  a 
  2101.  
  2102.      radical  shift  in frequencies both received  and  transmitted--ie; 
  2103.  
  2104.      overly  light  or overly dark pictures. This has been  isolated  to 
  2105.  
  2106.      residual  settings  of computer parameters which are  left  in  the 
  2107.  
  2108.      computer  after using such programs as JVFAX, HAMCOM,  and  others. 
  2109.  
  2110.      They  can be removed by re-booting the computer. In Revision  B,  I 
  2111.  
  2112.      think we have isolated the offending parameters and modified the RT 
  2113.  
  2114.      and VT programs so it won't be necessary to re-boot. Feedback  will 
  2115.  
  2116.      be appreciated.
  2117.  
  2118.           Another  problem which a few others have experienced which  is 
  2119.  
  2120.      similar to the above (but only affects transmit) has been fixed  by 
  2121.  
  2122.      taking  some of the flexibility out of VT  and manually fixing  the 
  2123.  
  2124.      processor  speed calibration number to fit a specific machine.  The 
  2125.  
  2126.      trouble  symptom is a transmit function which intermittently  works 
  2127.  
  2128.      properly  but then reverts to sending trash. The  transmit  program 
  2129.  
  2130.      uses the processing speed as it's frequency determinant. This speed 
  2131.  
  2132.      is calibrated each time the program is run. This makes the  program 
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.      work  independent of whether you are using a slow 286 or  a  super-
  2141.  
  2142.      fast 486 and also corrects in case you turn the turbo on or off. It 
  2143.  
  2144.      uses the 1/18 sec TIME clock ticks to calibrate itself. Apparently, 
  2145.  
  2146.      in  the  computer  we fixed, either these TIME  clicks  were  being 
  2147.  
  2148.      intermittently  changed by some internal software, or there  was  a 
  2149.  
  2150.      hardware  intermittent. You can bypass the calibration and set to  a 
  2151.  
  2152.      fixed value by adding the following line to VT.BAS:
  2153.  
  2154.  
  2155.  
  2156.      3019 poke &h165,144:poke &h166,184:poke &h167,128:poke &h168,6
  2157.  
  2158.  
  2159.  
  2160.      The number poked into &h167 is the LSB and &h168 is the MSB for the 
  2161.  
  2162.      calibration number. The numbers shown are for my 386 at 16 mhz. You 
  2163.  
  2164.      can determine the correct numbers for your machine by using the  TE 
  2165.  
  2166.      switch  and  adjusting the values in &h167/&h168 to  get  the  test 
  2167.  
  2168.      tones  on  frequency. Or when the machine works properly,  you  can 
  2169.  
  2170.      read the correct values by peeking into memory after you return  to 
  2171.  
  2172.      BASIC. The value for &h167 prints out by typing PRINT  PEEK(&H5A3). 
  2173.  
  2174.      The value for &h168 comes from PRINT PEEK(&H5A4). My 386 at 33  mhz 
  2175.  
  2176.      gives a MSB in &h5A4 of 13, so you can scale from there to  get  in 
  2177.  
  2178.      the ballpark.
  2179.  
  2180.        
  2181.  
  2182.           In  Rev. B, we have reconfigured the headers on both  the  AVT 
  2183.  
  2184.      modes  and the FAX480 mode. Not having found anyone with  a  FAX480  
  2185.  
  2186.      receiving  capability  before the original release,  it  never  was 
  2187.  
  2188.      tested. It had an error in the software. While fixing that, I  also 
  2189.  
  2190.      brought  out an adjustment so you can tune the initial 244  cps  in 
  2191.  
  2192.      the  header to  be precisely on frequency. This is located in  line 
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.      3015  of VT.BAS. In the AVT headers, while they worked,  there  was 
  2201.  
  2202.      some diversion in the SYNC point depending on which type of  system 
  2203.  
  2204.      was  doing the receiving. Since all the systems seem to  work  well 
  2205.  
  2206.      with the headers from Bert's  (W5ZR) AVT pictures, I just  scrapped 
  2207.  
  2208.      my  header generator and made a digital recording of Bert's  header 
  2209.  
  2210.      and  included  it ahead of the picture. In retrospect,  this  would 
  2211.  
  2212.      have been a much easier way to generate  all of the headers.
  2213.  
  2214.           In  revision D we have added the capability to both  view  and 
  2215.  
  2216.      transmit compressed files. You can collect compressed files into  a 
  2217.  
  2218.      single file, but it takes a lot of memory and extra time to extract 
  2219.  
  2220.      a  single  one  of these out. I prefer to collect  mine  as  single 
  2221.  
  2222.      compressed files on floppies  or in subdirectories named after  the 
  2223.  
  2224.      mode  used; ie, in a S1 or M1 or 90 (for AVT90), etc  subdirectory. 
  2225.  
  2226.      That  is,  the suffix for the uncompressed files is  used  for  the 
  2227.  
  2228.      subdirectory  name.  Since  the  compressed  files  all  have   the 
  2229.  
  2230.      same  .ARC suffix, it is useful to collect them together  by  mode. 
  2231.  
  2232.      The VT program can handle single compressed files; it just takes  a 
  2233.  
  2234.      little longer for the program to list the file name and mode so you 
  2235.  
  2236.      know which mode to call up. You can use this program to view  indi-
  2237.  
  2238.      vidual files, however, if you want to have a slide-show, it's  more 
  2239.  
  2240.      convenient  to  decompress a series of files into  the  RAMDISK.  A 
  2241.  
  2242.      simple  batch file can be written using wild cards (pkxarc  a:*.arc 
  2243.  
  2244.      d:) for this.
  2245.  
  2246.  
  2247.  
  2248.      SLIDESHO.BAS
  2249.  
  2250.           SLIDESHO  works just like VU except that it has an  additional 
  2251.  
  2252.      capability  to  step through a series of pictures  without  knowing 
  2253.  
  2254.      what  the  filenames  are. You pick a mode, and if  you  want  some 
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.      constraints in the filenames viewed, enter that. For example, if you 
  2263.  
  2264.      wanted  to look at only Scottie 1 pix's starting  with the  letters 
  2265.  
  2266.      BE, enter 3 for the mode and enter BE for the constraint. The first 
  2267.  
  2268.      BE*.S1 pix in the directory will paint. To see the next BE*.S1 pix, 
  2269.  
  2270.      hit N (for Next). It will exit to BASIC when it runs out of  files. 
  2271.  
  2272.      You can use this program to look at single files also. This program 
  2273.  
  2274.      (and it's associated files, SS.BAT. PK.BAT, and 64SHO.ASM) is  con
  2275.  
  2276.      figured  to  go into your DOS directory, so it will  be  accessible 
  2277.  
  2278.      from any drive or any directory where you might have picture files. 
  2279.  
  2280.      If  you  want  it somewhere else, you'll need to  change  the  PATH 
  2281.  
  2282.      callout  in line 30 of SLIDESHO.BAS and in SS.BAT. They  should  in 
  2283.  
  2284.      any  case  be placed in a directory which is listed  in  your  path 
  2285.  
  2286.      statement in AUTOEXEC.BAT. I find it convenient to store pix  files 
  2287.  
  2288.      in  a compressed .ARC file (using PKARC) grouped together by  mode. 
  2289.  
  2290.      When  I  want  to view them, I decompress the .ARC  file  into  the 
  2291.  
  2292.      RAMDISK  (using  PKXARC---the  format for an  archived  file  named 
  2293.  
  2294.      S1PIXES.ARC  is: PKXARC S1PIXES d:). After the files load,  with  a 
  2295.  
  2296.      quick d:>ss I can start the show. Incidentally, this program is not 
  2297.  
  2298.      configured to work with the Robot modes or the Wefax mode.
  2299.  
  2300.           Another  feature  added  since the original  release  is   the 
  2301.  
  2302.      capability to make the SLIDES advance automatically. The number  of 
  2303.  
  2304.      seconds  you want to dwell on each slide can be set in SYSTEM  CON-
  2305.  
  2306.      FIGURATION, line 2050 as DL. Instead of N(ext), you key A(utomatic) 
  2307.  
  2308.      to  start the show. It will go through every pix in  the  directory 
  2309.  
  2310.      and  then start over again indefinitely. Q will exit  sequence.  If 
  2311.  
  2312.      you get large numbers of pix in the same mode in one directory, you 
  2313.  
  2314.      may  have  to raise the "files=" reservation in CONFIG.SYS  to  use 
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.      AUTO mode.
  2323.  
  2324.           Revision C of the software adds a new capability which is very 
  2325.  
  2326.      useful if you use the AUTOMATIC + SAVE mode. Typically you store  a 
  2327.  
  2328.      number of pictures in the RAMDRIVE while the machine is unattended. 
  2329.  
  2330.      When  you return you use SS (SLIDESHO) or TSS (TRUSHO) to view  the 
  2331.  
  2332.      pictures in sequence. Often you see ones which you want to save, so 
  2333.  
  2334.      the capability was added to both scroll, rename, and SAVE in either 
  2335.  
  2336.      full or compressed formats any picture that you like. When you view 
  2337.  
  2338.      one  you  like, use the normal scrolls, if needed, and hit  Q.  The  
  2339.  
  2340.      program  then walks you thru the steps from there. If you  use  the 
  2341.  
  2342.      compression, it requires the presence of PK.BAT in the same  direc-
  2343.  
  2344.      tory where you store SLIDESHO and TRUSHO (typically in DOS or TOOLS 
  2345.  
  2346.      directory).
  2347.  
  2348.           When you're all finished remember to clear out the RAMDISK  if 
  2349.  
  2350.      you  used  it for temporary storage and you're going to  return  to 
  2351.  
  2352.      copying  pictures; particularly Wefax which uses a lot  of  RAMDISK 
  2353.  
  2354.      memory.
  2355.  
  2356.  
  2357.  
  2358.      TRUSHO.BAS
  2359.  
  2360.           This is a version of SLIDESHO that supports TRUE COLOR (ie; 16 
  2361.  
  2362.      million color) video boards with a 640x480x16.7 million colors mode 
  2363.  
  2364.      capability.  The display is brighter than is possible with the  256 
  2365.  
  2366.      color  video board. Also, in Automatic, you can choose between  one 
  2367.  
  2368.      picture  at  a time filling the whole screen or  4  pictures,  each 
  2369.  
  2370.      filling  1/4  of the screen but still at full resolution.  You  can 
  2371.  
  2372.      S(top) the automatic sequence at any time and restart it by hitting 
  2373.  
  2374.      G(o). I haven't yet found out what mode number is being used by the 
  2375.  
  2376.      different  card manufacturers for this mode, so you'll have to  use 
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.      the  VESA  choice  unless you have the same card  I  have  (Diamond 
  2385.  
  2386.      Speedstar  Pro).  If you can find out the mode number,  it  can  be 
  2387.  
  2388.      poked into memory location &H113 with the card driver sequences  in 
  2389.  
  2390.      the BASIC program (the one with your card name on it). Interesting-
  2391.  
  2392.      ly,  Diamond's  instruction  manual said it was mode  &H72  but  it 
  2393.  
  2394.      actually was mode &H71.
  2395.  
  2396.           In  Rev  C,  we have added capability to  accomodate  the  ATI 
  2397.  
  2398.      TRUCOLOR  card in  the VESA card choice. I thought the VESA  stand-
  2399.  
  2400.      ards  would actually settle on such things as  bytes/line--no  such 
  2401.  
  2402.      luck! ATI uses the same byte storage sequence as all previous  SVGA 
  2403.  
  2404.      modes  where  the lines are  stored seamlessly so there is  no  gap 
  2405.  
  2406.      between  lines. Diamond (or maybe it was Cirrus, whose  chipset  is  
  2407.  
  2408.      used  in the PRO board) decided to jump to the next 2K boundary  in 
  2409.  
  2410.      memory at the end of each line. I can't think of any other rational 
  2411.  
  2412.      choice,  so maybe future cards we see will fit in one of these  two 
  2413.  
  2414.      categories. The parameter BL is included in the SYSTEM CONFIG  list  
  2415.  
  2416.      of  each program to set this. If someone comes up with  some  other 
  2417.  
  2418.      oddball  choice, just assign the value to BL. The wrong BL gives  a 
  2419.  
  2420.      greatly slanted picture. 
  2421.  
  2422.           This  program gives very high quality pictures which can  com-
  2423.  
  2424.      pare favorably with any other  SSTV system. The pictures themselves 
  2425.  
  2426.      are  captured, like the Robot 1200C, at 262,144 colors.  While  our 
  2427.  
  2428.      basic  program structure could be easily modified to send  and  re-
  2429.  
  2430.      ceive  at the full 16.7 million colors, it's  questionable  whether 
  2431.  
  2432.      you could tell the difference. You can tell the difference  between 
  2433.  
  2434.      32,768 and 262,144, however.
  2435.  
  2436.           Be  sure  to read the section on the Bank-Shift  parameter  in 
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.      VU.BAS  above  when setting the SYSTEM CONFIGURATION  on  this  new 
  2445.  
  2446.      program. This program, like  SLIDESHO, allows you to save  pictures 
  2447.  
  2448.      directly.
  2449.  
  2450.           In  revision D we  have made a significant improvement in  the 
  2451.  
  2452.      full  screen pictures. Using fractal techniques, we managed to  get 
  2453.  
  2454.      rid  of the "square pixel" effect which is characteristic of  lower 
  2455.  
  2456.      resolution  pictures  which are expanded to fill the  screen.  Line 
  2457.  
  2458.      2080 has a 3 position switch for choices on the even lower  resolu-
  2459.  
  2460.      tion Martin 2 and Scottie 2. Try all  three. I like choice 2 as  it 
  2461.  
  2462.      has the proper perspective and the pictures are not over-expanded.
  2463.  
  2464.  
  2465.  
  2466.      TIFCONV.BAS
  2467.  
  2468.           If  you  want to create some picture files to  transmit,  this 
  2469.  
  2470.      program will convert from the TIFF 640x480, 24 bit color format  to 
  2471.  
  2472.      the SSTV/FAX480 formats. We chose the TIFF format because it is the 
  2473.  
  2474.      most  common  format used for  transferring  high  color/resolution 
  2475.  
  2476.      pictures  between  programs and is an available  format  from  most 
  2477.  
  2478.      frame  grabbers. The typical frame grabber will accept images  from 
  2479.  
  2480.      any video source. I have tried this with both the Computer  Eyes/RT 
  2481.  
  2482.      and  S.S.C.  grabbers.  For some reason,  the  picture  information 
  2483.  
  2484.      started  at a different offset into the picture file in  these  two 
  2485.  
  2486.      cases.  LIST  205 in this program will show you where to  make  the 
  2487.  
  2488.      change  for this. You'll know when the offset is wrong as  the  re-
  2489.  
  2490.      sulting  picture will have the colors scrambled. Change the  offset 
  2491.  
  2492.      by  one and try again. Note that the TIF file must be 640x480  with 
  2493.  
  2494.      24-bit color so the  file size is over 920,000 bytes. If it doesn't 
  2495.  
  2496.      have  that many bytes, it isn't an acceptable format. KY1S  reports 
  2497.  
  2498.      that  he  has used TIFCONV with the TEMPRA program and  with  PHOTO  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.      FINISH  3.  WB7PAP found a Graphics Workshop 7.0  on  Rimmer's  BBS 
  2507.  
  2508.      (tel:416-729-4609)  which converts other formats very well.  It  is 
  2509.  
  2510.      called GRAFWK70.ZIP. N9ARX reports success using Print Shop Pro for 
  2511.  
  2512.      Windows.  The  last two are shareware. I believe all  of  these  and 
  2513.  
  2514.      other  programs accept pictures in lower resolution  formats  which 
  2515.  
  2516.      can then be converted to the highest resolution format that we use. 
  2517.  
  2518.      The TIF file must be in a non-compressed format. I use the  RAMDISK 
  2519.  
  2520.      as temporary storage for this monster file and immediately  convert 
  2521.  
  2522.      it to a SSTV format for permanent storage.
  2523.  
  2524.           Since this program includes the VU program to show you the end 
  2525.  
  2526.      result,  you must transfer the SYSTEM CONFIGURATION from VU.BAS  to 
  2527.  
  2528.      lines 2000-3000 in this program.
  2529.  
  2530.           Revision  D adds the capability to directly save  any  picture 
  2531.  
  2532.      generated by this program in either full or compressed formats.
  2533.  
  2534.  
  2535.  
  2536.      TGACONV.BAS
  2537.  
  2538.           I  found a collection of CD-ROM pictures at Dayton which  were 
  2539.  
  2540.      of  high quality, 24-bit color, but in a TGA format.  This  program 
  2541.  
  2542.      converts  any 24-bit color TGA file of any line length equal to  or 
  2543.  
  2544.      greater  than 640 pixels to SSTV files. Using a simple batch  file, 
  2545.  
  2546.      STGA.BAT,  you can call up any image on the CD-ROM, convert  it  to 
  2547.  
  2548.      any  SSTV format and then transmit it in a seamless operation.  The 
  2549.  
  2550.      images  are filed on the CD-ROM as img2018.tga kind of  files.  You 
  2551.  
  2552.      merely type: C:\TV\>stga 2018 and the picture is transferred to the 
  2553.  
  2554.      RAMDISK, the TGACONV program is activated, where you pick the  mode 
  2555.  
  2556.      and  take the default choices. When you see the picture,  you  exit 
  2557.  
  2558.      with  Q and then F10. The batch program then moves you into the  VT 
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.      program where you answer the questions and transmit. I suggest  you 
  2567.  
  2568.      study  the STGA.BAT as you can put together  sequential  operations 
  2569.  
  2570.      using several of the programs. You could eliminate answering  ques-
  2571.  
  2572.      tions  even  by making special versions of say  TGACONV  where  the 
  2573.  
  2574.      question  lines  are  replaced with the answers you  want  for  the 
  2575.  
  2576.      particular  sequence,  and it will just run straight  through.  The 
  2577.  
  2578.      special  versions would be given different names, of  course.  Read 
  2579.  
  2580.      the  DOS book on batch files. You can do some powerful things  with  
  2581.  
  2582.      a few little lines.
  2583.  
  2584.           TGACONV also has direct SAVE capability.
  2585.  
  2586.  
  2587.  
  2588.      TIFLABEL.BAS and PCXLABEL.BAS
  2589.  
  2590.           You may have one of the fancier software programs to take  the 
  2591.  
  2592.      original  TIFF  file and add text titles and labels  to  it  before 
  2593.  
  2594.      converting  it to the SSTV format. I don't, so a LABEL program  was 
  2595.  
  2596.      written to give some limited capability in this area. Not having  a 
  2597.  
  2598.      library of fonts and of different background patterns to paint  the 
  2599.  
  2600.      letters with, we made the program general purpose enough to use any 
  2601.  
  2602.      font and any background pattern you can take a camcorder picture of 
  2603.  
  2604.      or can obtain in a TIFF file format or in a SSTV format. There  are 
  2605.  
  2606.      a number of interesting patterns right in the room you are  sitting 
  2607.  
  2608.      in which will add interest to your labels---wicker chair back, tile 
  2609.  
  2610.      floor,  rug, venetian blinds, etc., etc. These two  program  accept 
  2611.  
  2612.      TIF  or PCX 1 bit (ie, TWO COLOR) files which might typically  come 
  2613.  
  2614.      from  a handscanner or one of the many PAINT programs  of  whatever 
  2615.  
  2616.      font  letters you may choose. Typically you can resize the  letters 
  2617.  
  2618.      to  fit. The TIF or PCX file  is used as a mask and where ever  the 
  2619.  
  2620.      file  picture  is black, the LABEL program inserts either  a  color 
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.      which you can choose, or a cutout from any background file  picture 
  2629.  
  2630.      which  you might have available. You can even use a pix you  copied 
  2631.  
  2632.      on  the air as a background file. The effect is as if you  cut  the 
  2633.  
  2634.      letters  out  of the background photograph and pasted  it  on  your 
  2635.  
  2636.      picture.  You manually select where you paste it on. You can get  a 
  2637.  
  2638.      three dimension effect by pasting on a color mask, then going  back 
  2639.  
  2640.      through  LABEL  again, moving the mask a few   pixels  and  pasting 
  2641.  
  2642.      another  color  or  background file on top of  what's  there.  With 
  2643.  
  2644.      multiple  passes,  you can get a variety of effects. You  also  can 
  2645.  
  2646.      make  a square or circular mask and place it to transfer a  face  or 
  2647.  
  2648.      some  other  feature of one file to paste it over another.  A  mask 
  2649.  
  2650.      file, K3BC.PCX which is 64 pixels wide, is included for you to  try 
  2651.  
  2652.      out this program on the SAMPLE.M1 pix. You can use SAMPLE2.94 as  a 
  2653.  
  2654.      background file. Or rename SAMPLE2 with a different mode suffix for 
  2655.  
  2656.      a  different background file, etc. I use the RAMDISK to store  suc-
  2657.  
  2658.      cessive  passes  thru  LABEL (under PATH/NAMES of  d:a,  d:b,  d:c, 
  2659.  
  2660.      etc.);  then with SS (SLIDESHO) in drive d: you can view  the  pro-
  2661.  
  2662.      gressive results.
  2663.  
  2664.           Since  these programs use VU for VUing, you must transfer  the 
  2665.  
  2666.      SYSTEM CONFIGURATION you settled on in VU.BAS to lines 2000-3000 in 
  2667.  
  2668.      these  programs.  Some TIF 2-color files don't seem  to  work  with 
  2669.  
  2670.      these,  but  I have not found a PCX 2-color file  source  yet  that 
  2671.  
  2672.      doesn't  work (16 color or 256 color files DO NOT work!).  Put  the 
  2673.  
  2674.      text in the upper left corner of the PAINT screen when you generate 
  2675.  
  2676.      the  mask. PCXLABEL includes the direct SAVE function in both  full 
  2677.  
  2678.      and compressed formats.
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.      3D.BAS
  2689.  
  2690.           This is a new program added in  Rev C that creates 3-dimension 
  2691.  
  2692.      picture  files in our SSTV formats. It is not a synthetic  3D  pro-
  2693.  
  2694.      gram,  although  you can get some synthetic depth of  stuff  pasted 
  2695.  
  2696.      over the picture files with the LABEL program. It uses the original 
  2697.  
  2698.      "two  camera" approach for 3D. You use your video camera  and  frame 
  2699.  
  2700.      grabber  to  capture two pictures of a scene, a RIGHT eye  pix  and 
  2701.  
  2702.      after  moving  the camera a distance about like your  eye  spacing, 
  2703.  
  2704.      capture a LEFT eye pix. It's hard to keep the pointing angle right, 
  2705.  
  2706.      so pick some vertical feature in the scene--note where it is in the 
  2707.  
  2708.      frame  grabber screen w.r.t. the letters below the screen.  On  the 
  2709.  
  2710.      second pix, adjust the camera pointing to keep the vertical feature 
  2711.  
  2712.      only a few pixels from where it was on the first pix. The magnitude 
  2713.  
  2714.      and  direction of this offset can be estimated by closing each  eye 
  2715.  
  2716.      alternately  and  noting what the apparent shift is from  Right  to 
  2717.  
  2718.      Left  eye. The final product picture should only show a few  pixels 
  2719.  
  2720.      of "red shift" as seen without the 3d glasses. If the glasses color 
  2721.  
  2722.      bandpass matched the phosphor colors of your C.R.T., then the  "red 
  2723.  
  2724.      shift" would be of no consequence, since you couldn't see it. Until 
  2725.  
  2726.      color matched glasses become generally available, assume the person 
  2727.  
  2728.      receiving  your  pix will not be color matched and limit  the  "red 
  2729.  
  2730.      shift".
  2731.  
  2732.           I  store  both of these TIF files in the  RAMDRIVE,  then  use 
  2733.  
  2734.      TIFCONV  to  obtain two picture files in the  desired  mode,  using 
  2735.  
  2736.      RIGHT  and LEFT as file names. These feed directly into the  3D.BAS 
  2737.  
  2738.      program. Use your 3D glasses to see if the result is  satisfactory. 
  2739.  
  2740.      Slow-scanners  seem enamored of synthetically derived 3D where  you 
  2741.  
  2742.      take a series of single images and by displacing color frames a few 
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.      pixels  can get discrete depths for the different images used.  You 
  2751.  
  2752.      can get the same effects using the LABEL programs, but it's labori-
  2753.  
  2754.      ous. When you put your call  sign on these 3D pix, you can get  the 
  2755.  
  2756.      same  effect by pasting the same label on both RIGHT and  LEFT  pix 
  2757.  
  2758.      but  displaced a few pixels from each other. You can find out  more 
  2759.  
  2760.      about  this by playing with it. You'll get lots of advice from  the 
  2761.  
  2762.      synthetic enthusiasts---not all of which is applicable to the clas-
  2763.  
  2764.      sic two displaced camera approach which this program is closest to.
  2765.  
  2766.           If  you're recording 3D pictures in the field with  your  cam-
  2767.  
  2768.      corder, be sure to voice record whether you are in a RIGHT or  LEFT 
  2769.  
  2770.      eye  position. KB9MC has located a source for 3-D glasses in  Cali-
  2771.  
  2772.      fornia; Reel 3-D Enterprises--tel:(310)837-2368.
  2773.  
  2774.  
  2775.  
  2776.      NEW MODE
  2777.  
  2778.           I  considered  adding the Scottie DX mode, but after  studying  it, 
  2779.  
  2780.      decided it didn't use the extra redundant pixels as efficiently  as 
  2781.  
  2782.      it might. It basically sends the same pixel value three times in  a 
  2783.  
  2784.      row  and  then combines these three for a more  noise  free  single 
  2785.  
  2786.      pixel. This is great for decreasing white noise which is not corre-
  2787.  
  2788.      lated  in the three samples. But you only need look at a  few  pic-
  2789.  
  2790.      tures  to  see that many of the "noises"  which pollute  our  pixel 
  2791.  
  2792.      values  (QRM, QRN, multipath, carriers, etc.) are often  correlated 
  2793.  
  2794.      over 3 successive pixels or more. So I began looking at putting the 
  2795.  
  2796.      redundancy with time separation between samples--like repeating the 
  2797.  
  2798.      same  line 3 times in a row. Each pixel would have 3 samples  sepa-
  2799.  
  2800.      rated  by one line length in time. The good stability of our  crys-
  2801.  
  2802.      tal-locked  receiving   system  would allow us  to  combine  pixels 
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.      separated  in time quite precisely (a system which line  SYNC's  on 
  2811.  
  2812.      each line using the 1200 cps sync would not combine so precisely!). 
  2813.  
  2814.      This  would decorrelate the samples against more than  white  noise 
  2815.  
  2816.      and give better results.
  2817.  
  2818.           While  it is generally agreed that there is  more  information 
  2819.  
  2820.      content in the luminance (B/W) of a picture than in the Chrominance 
  2821.  
  2822.      (color),  that depends to some extent on a value judgement  between 
  2823.  
  2824.      spatial  resolution and color content. The engineers would  usually 
  2825.  
  2826.      opt  for spatial resolution while the artists would probably  value 
  2827.  
  2828.      color  content.  The more I thought about it, the more  foolish  it 
  2829.  
  2830.      seemed  to  use completely redundant pixels.  Four  pixels  grouped 
  2831.  
  2832.      together  in  a square could be exactly the same value and  give  a 
  2833.  
  2834.      redundancy improvement against noise in preserving that value.  The 
  2835.  
  2836.      same four pixels could be used to improve the spatial resolution by 
  2837.  
  2838.      a factor of 2 in each axis, and if conditions were good, you  would 
  2839.  
  2840.      see  the  resolution improvement. If conditions are bad,  your  eye 
  2841.  
  2842.      would average those same 4 pixels and get at least as much informa-
  2843.  
  2844.      tion  as if they were all sent with the same value. So if  you  are 
  2845.  
  2846.      going to send more bytes to improve poor condition reception, it  is 
  2847.  
  2848.      better to use the bytes for better resolution, and let your eyes do 
  2849.  
  2850.      the  averaging.  Since the signals fade  up and down, you  get  the 
  2851.  
  2852.      better  resolution when it's up. Also, since most  SSTV  operations 
  2853.  
  2854.      have  people at different skip distances, some will get  extraordi-
  2855.  
  2856.      narily  good high resolution pictures, while the weaker  ones  will 
  2857.  
  2858.      get  less.  This whole process is illustrated quite well  when  you 
  2859.  
  2860.      look  at the differences in Martin 1 and Martin 2. Here  the  extra 
  2861.  
  2862.      resolution is in one axis only, but the difference in results as to 
  2863.  
  2864.      how  fast  they  deteriorate under worsening  conditions  is  quite 
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.      striking.
  2873.  
  2874.           Another  illustration of this is in the FAX480 where the  dou-
  2875.  
  2876.      bled resolution in both axes gives very  durable info content under 
  2877.  
  2878.      quite bad conditions  compared to SSTV modes.
  2879.  
  2880.           So  we  decided  to make a full color mode  with  the  doubled 
  2881.  
  2882.      resolution  in both axes. To avoid start-up problems  with  getting 
  2883.  
  2884.      everybody  "tuned" to the same line timing, we decided to  use  the 
  2885.  
  2886.      same  timing as the FAX480. Three successive 546 byte  "lines"  are 
  2887.  
  2888.      used  for  the Red, Green, and Blue. In fact, it's  nothing  but  a 
  2889.  
  2890.      double size Scottie or Martin 1 mode--double in both axes.
  2891.  
  2892.           It's called mode 96, has a VIS code of &h6A, and uses the same 
  2893.  
  2894.      LT9 already set for FAX480. In fact you can copy FAX480 pictures in 
  2895.  
  2896.      this  mode  to  align it (the picture will only  fill  1/3  of  the 
  2897.  
  2898.      screen). Displaying the extra information in this new mode requires 
  2899.  
  2900.      a  full 640x480 TRUCOLOR video card---but these are down  to  about 
  2901.  
  2902.      $70  now (Cirrus ISA boards) and hopefully you have already  bought 
  2903.  
  2904.      one  to   use TRUSHO in the previous revision. There is  already  a 
  2905.  
  2906.      large population of hams with the TRUCOLOR cards.
  2907.  
  2908.           Some will  question the length of time to send such a picture, 
  2909.  
  2910.      but  it's  only  a bit longer than the Scottie DX  mode.  Like  the 
  2911.  
  2912.      Scottie  DX mode, it should only be used sparingly,  and  certainly 
  2913.  
  2914.      not  often on busy frequencies like 14230. But there are plenty  of 
  2915.  
  2916.      often unused frequencies on 15 and 10 meters and 75 meters is often 
  2917.  
  2918.      vacant  during the daylight hours. Also a number of our  users  are 
  2919.  
  2920.      operating  on VHF bands for local picture trading. When KY1S and  I 
  2921.  
  2922.      were  evaluating it initially, we shared a frequency with a  strong 
  2923.  
  2924.      broadcast station on 40 meters, and got surprizingly good  results. 
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.      Even  today we shift  down to Scottie 2 and Martin 2 when the  fre-
  2933.  
  2934.      quency  gets busy and go back up when the  conditions  deteriorate. 
  2935.  
  2936.      This mode is just one more step in that progression. It should be a 
  2937.  
  2938.      good  match  with the Kodak CD-ROM photo system--and  I'll  make  a 
  2939.  
  2940.      conversion program choice for Kodak as soon as I can find out their 
  2941.  
  2942.      format.
  2943.  
  2944.  
  2945.  
  2946.      ANOTHER MODE
  2947.  
  2948.           We  have  added  a new high resolution  Black  and  White  FAX 
  2949.  
  2950.      mode---well,  a little bit new. It uses the exact same line  timing 
  2951.  
  2952.      as  FAX480  and mode 96 Colorfax, and differs only from  FAX480  in 
  2953.  
  2954.      having  a VIS code attached instead of the lengthy header. We  have 
  2955.  
  2956.      renamed FAX480 as mode 95, and assigned mode 9 to the B/W FAX.  The 
  2957.  
  2958.      VIS  code assigned is &HAA (decimal 170). In RT the VIS code   will 
  2959.  
  2960.      be  recognized  and AUTO operation will be just like all  the  SSTV 
  2961.  
  2962.      modes. You can still acquire this mode and FAX480 pictures manually 
  2963.  
  2964.      in RT. In VT  you can choose the VIS-coded mode 9 or use mode 95 to 
  2965.  
  2966.      put  a  FAX480  header on the picture.  Files  are  interchangeable 
  2967.  
  2968.      between  these modes and use the same .FAX suffix. When you find  a 
  2969.  
  2970.      pix which has the detail to justify a mode 96 Colorfax file, make a 
  2971.  
  2972.      mode 9 B/W fax file so you can send it to folks without Trucolor to 
  2973.  
  2974.      show  what kind of detail is possible. As described  before,  these 
  2975.  
  2976.      modes have the 64 gray shades necessary for photo-like quality. The 
  2977.  
  2978.      resolution is 536x480.
  2979.  
  2980.  
  2981.  
  2982.      USER ADDED FEATURES
  2983.  
  2984.           Some users of this system have taken advantage of it's  flexi-
  2985.  
  2986.      bility to customize it for their own use. The most common modifica-
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.      tion  is to change the initial screen to remove all those words and 
  2995.  
  2996.      use the space for a more readable list of the mode choices. Of  the 
  2997.  
  2998.      ones  I am aware of, KY1S has the most imaginative  one---including 
  2999.  
  3000.      picture icons, introductory tunes, novel uses of the function keys, 
  3001.  
  3002.      etc., so some of you may want to get a copy from him to use direct-
  3003.  
  3004.      ly  or  to give you ideas for your  own  creations.[At  revision  E 
  3005.  
  3006.      time,  he  has chained our conversion programs and  VT.BAS  with  a 
  3007.  
  3008.      shareware  format conversion program called Alchemy to go  directly 
  3009.  
  3010.      from pix files in the more common GIF, PCX, etc. formats to picture 
  3011.  
  3012.      transmission in the SSTV format chosen.]
  3013.  
  3014.           To make these adders portable, so they can be easily put  into 
  3015.  
  3016.      later revisions without risking overwriting lines, it would be wise 
  3017.  
  3018.      to write them with line numbers above 6000. Then you can SAVE  them 
  3019.  
  3020.      as a BASIC ASCII file, and use the MERGE command to add them to any 
  3021.  
  3022.      future revision. Incidentally, "all those words" were an attempt to 
  3023.  
  3024.      force  some instructions on those who never read the  instructions. 
  3025.  
  3026.      They  are  easily relegated to a HELP screen with a  few  lines  of 
  3027.  
  3028.      BASIC.  In revision D we've offered a picture menu described in  RT 
  3029.  
  3030.      above.
  3031.  
  3032.  
  3033.  
  3034.      REAL TIME DISPLAY
  3035.  
  3036.           Some  have  asked  for real time paint of the  pix  as  it  is 
  3037.  
  3038.      received. I personally prefer not having it as I use the  receiving 
  3039.  
  3040.      time  to read the paper, and the incoming pix is  distracting.  But 
  3041.  
  3042.      many  others  have been used to it. There are tradeoffs.  When  you 
  3043.  
  3044.      take  the time to paint a line right after it comes in, it adds  to 
  3045.  
  3046.      the  "edge  of the room" gap we described above (in  RT).  We  have 
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.      chosen to go for maximum resolution (pixels/line) so that  increases 
  3055.  
  3056.      the gap time over a lower resolution choice. This gap can be hidden 
  3057.  
  3058.      in  all  but the AVT modes, but only if you copy in SYNC  from  the 
  3059.  
  3060.      start. We went to considerable trouble to minimize this gap so  you 
  3061.  
  3062.      can take almost any late start or out of sync picture and scroll it 
  3063.  
  3064.      into  position with negligible picture degradation. To  our  knowl-
  3065.  
  3066.      edge,  no other system offers that capability. Also, we  wanted  to 
  3067.  
  3068.      accomodate  the  lower speed 286 machines, so the "Store  and  then 
  3069.  
  3070.      Look"  choice  won the tradeoff. Of  course,  the  state-of-the-art 
  3071.  
  3072.      moves on, and with such a large population of 486's out there  now, 
  3073.  
  3074.      we  plan to revisit that tradeoff. Also, the newer  TRUCOLOR  cards 
  3075.  
  3076.      take  less time to paint a pixel. So if you really want  real-time, 
  3077.  
  3078.      be  patient. It will only be added, however, if it doesn't  degrade 
  3079.  
  3080.      the picture quality or the system flexibility. And it clearly  will 
  3081.  
  3082.      require the faster  computers.
  3083.  
  3084.           Revision  E adds this feature---and I just can't get my  paper 
  3085.  
  3086.      read anymore. Can't resist looking. I have not been able to  detect 
  3087.  
  3088.      any  deterioration  with the interleaving technique used.  I  would 
  3089.  
  3090.      welcome  someone on VHF, where there is no noise, copying the  same 
  3091.  
  3092.      picture  (a  clean, original file) with and  without  the  REALTIME 
  3093.  
  3094.      enabled, so I can make a more detailed analysis. Please state  what 
  3095.  
  3096.      computer  processor/speed was used. My VCR is not clean  enough  to 
  3097.  
  3098.      run a meaningful test.     
  3099.  
  3100.  
  3101.  
  3102.      EXPERIMENTER'S INFO
  3103.  
  3104.           To  simplify  the use and modification of  these  programs  by 
  3105.  
  3106.      experimeters, some of the conventions used are detailed here. First 
  3107.  
  3108.      of  all, the file bytes are the raw data  as received. If you  sub-
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.      tract the number 138 from each of them and XOR the result with  63, 
  3117.  
  3118.      you  will  get the actual color amplitude for that byte  in  6  bit 
  3119.  
  3120.      format. Conversely, you can take a picture in 3x6=18 bit format and 
  3121.  
  3122.      convert each of it's bytes  to the SSTV format by XORing each  byte 
  3123.  
  3124.      with 63 and adding 138 to the result.
  3125.  
  3126.           The  symbol,  LL,  refers to total line  length  (measured  in 
  3127.  
  3128.      bytes/line) in a picture. This includes sync bytes, picture  bytes, 
  3129.  
  3130.      etc.
  3131.  
  3132.           The symbol L refers to the byte count in a single color  frame 
  3133.  
  3134.      line. This also is the number of pixels in the color picture. Since 
  3135.  
  3136.      there  are  3 colors, 3xL would equal to the line  length,  LL,  if 
  3137.  
  3138.      there were no sync bytes. In the AVT modes, there is no line  sync, 
  3139.  
  3140.      so there 3xL=LL. 
  3141.  
  3142.           The  symbol  I is the mode chosen. Or in one  case  where  two 
  3143.  
  3144.      modes are used in a program, J is used for the second mode.
  3145.  
  3146.           The symbol FS is used for frame sync. If this is called out in 
  3147.  
  3148.      a mode, then a routine is inserted which holds the program  captive 
  3149.  
  3150.      until  a 1200 hz sync is received before it allows the frame to  be 
  3151.  
  3152.      copied.  Parameter  DE allows you to adjust the delay  after  frame 
  3153.  
  3154.      sync before the picture copying begins.
  3155.  
  3156.           LT denotes line timing with LT3 being line timing for mode 3.
  3157.  
  3158.           D% represents the number of lines in the picture mode.
  3159.  
  3160.           DR$ is the letter assigned to the RAMDISK (with quotes, "d").
  3161.  
  3162.           SW   is the line sync  window in TIME clock  counts  (approxi-
  3163.  
  3164.      mately in microseconds).
  3165.  
  3166.           EA  is  the number of bytes used by the line sync when  it  is 
  3167.  
  3168.      present.  In  the viewing program, this same number is  POKEd  into 
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.      memory  location,  &H3EA, which is where it got it's name.  In  the 
  3177.  
  3178.      transmit  program it is the bytes thrown away in each line  of  the 
  3179.  
  3180.      file being transmitted and replaced by sync. It is identical to the 
  3181.  
  3182.      above except in the non-synchronously copy modes , (11) and (22).
  3183.  
  3184.           VC is the video card choice. 
  3185.  
  3186.           S%  is  the number of bytes a picture was scrolled to  get  it 
  3187.  
  3188.      aligned  for SAVEing. It is returned as an output when you run  the 
  3189.  
  3190.      VUing  program.  It  gets converted to it's 4 byte form  as  S!  in 
  3191.  
  3192.      RT.BAS.
  3193.  
  3194.           SC  is used in the transmit program and represents the  number 
  3195.  
  3196.      of 1/2 cycles of the sync frequency (1200 hz) transmitted  on  each 
  3197.  
  3198.      line.
  3199.  
  3200.           LI  is  used  as the number of picture lines  in  the  TIFCONV 
  3201.  
  3202.      program. This program also uses Z as the byte value to be  inserted  
  3203.  
  3204.      in blank bytes. Z=138 is white; Z=249 is black.
  3205.  
  3206.           The  files as SAVEd have the picture color bytes placed  in  3 
  3207.  
  3208.      successive groups of bytes, each group being L bytes long. Then the 
  3209.  
  3210.      line  sync  bytes (if they are used in the  particular   mode)  are 
  3211.  
  3212.      tacked on to the end of each line.
  3213.  
  3214.           The  DEF  SEG statement in each of these  programs  tells  the 
  3215.  
  3216.      program  where in memory to place the program. All of the  programs 
  3217.  
  3218.      are  relocatable,  so  if you find interference  between  some  TSR 
  3219.  
  3220.      resident program and one of these programs, you may be able to move 
  3221.  
  3222.      it  up to keep from overwriting the  TSR (typically, this shows  up 
  3223.  
  3224.      as a computer hang-up which can only be cleared by re-booting). You 
  3225.  
  3226.      still need enough memory between DEF SEG and &HA000:0000 to  accom-
  3227.  
  3228.      modate the pictures you want to copy.
  3229.  
  3230.           If  you  find all  of your Robot pictures  are  initially  too 
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.      green or too purple, you can change the number 10 in line 1371  (in   
  3239.  
  3240.      both  memory  locations)  of RT.BAS to better center  it  for  your 
  3241.  
  3242.      particular tuning habits.
  3243.  
  3244.           If you find that you want to reset the default setting for the 
  3245.  
  3246.      color  registration  on a mode, you can find out what  the  desired 
  3247.  
  3248.      values  are  by first using C and X to get what you like  with  the 
  3249.  
  3250.      VU.BAS  program.  Then when you return to BASIC,  type  PRINT  PEEK 
  3251.  
  3252.      (&H3EA).  This  will be the new value to poke into &H3EA  for  this 
  3253.  
  3254.      mode.  Then  PRINT  PEEK(&h15D) and call the value  A.  Then  PRINT 
  3255.  
  3256.      PEEK(&H15E) and call the value B. Then PRINT PT. The new value  for 
  3257.  
  3258.      L, the color frame width, then is L = A + 256*B + PT. These  values 
  3259.  
  3260.      are added back into the program and SAVE'ed. This capability is not 
  3261.  
  3262.      available in the Robot modes.
  3263.  
  3264.           The  color  shades display at the beginning of  the  256  line 
  3265.  
  3266.      modes  has my call sign (K3BC) superimposed over it. In  order  for 
  3267.  
  3268.      you  to  change it to your call sign, you'll need to  learn  a  bit 
  3269.  
  3270.      about how two-color (or 1 bit) images are formed. If, for  example,  
  3271.  
  3272.      in  the  call sign array of bytes you wanted to make  the  first  8 
  3273.  
  3274.      pixels overwrite white, you would make the first byte equal to  255 
  3275.  
  3276.      or in hexidecimal, &hFF (which is 1111,1111 in binary). To paint the 
  3277.  
  3278.      first  4 pixels out of 8, the first byte would be &hF0  (in  binary 
  3279.  
  3280.      equals 1111,0000). Look at the lines starting at 780 in the  TX.BAS 
  3281.  
  3282.      program,  at  line 3430 in VT.BAS, and at line 2400 in  the  RT.BAS 
  3283.  
  3284.      program to see how to figure out what DATA bytes  to include to get 
  3285.  
  3286.      your  call sign. Once you determine the DATA array for  your   call 
  3287.  
  3288.      sign  insert it in all three programs. If you have 6 characters  in 
  3289.  
  3290.      your call sign it'll be a bit crowded---time for an upgrade!  Don't 
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.      try  to  change  the number of DATA bytes. If you're  too  lazy  to 
  3299.  
  3300.      figure  this out, you can signal that to the world by changing  all 
  3301.  
  3302.      the DATA line bytes to 0, which removes the call sign.
  3303.  
  3304.           If  you  belatedly decide to save a picture  and  haven't  yet 
  3305.  
  3306.      overwritten it in D:a.p then you can recover by LOAD "RT" and  then 
  3307.  
  3308.      typing  a temporary line---- 880 GOTO 890. Now execute the  program 
  3309.  
  3310.      choosing  the same mode as was used to capture d:a.p.  The  picture 
  3311.  
  3312.      will  show up and you can scroll it to the proper position and SAVE 
  3313.  
  3314.      it. You can move any file to d:a.p and re-scroll it this way if you 
  3315.  
  3316.      don't like the initial choice you made when you saved the file.  Or 
  3317.  
  3318.      if you want to transfer a part of one file to another using  LABEL, 
  3319.  
  3320.      use this method to scroll the transfer image to where you want  it, 
  3321.  
  3322.      and use the new file as a background file. 
  3323.  
  3324.           In  the  transmit program, each mode has it's VIS  code  poked 
  3325.  
  3326.      into memory location  &h3A5. The delay (in pixels) between the  end 
  3327.  
  3328.      of  the VIS code and the beginning of the red frame is  poked  into 
  3329.  
  3330.      memory  locations  &h523  (LSB)  and &h510  (MSB).  This  delay  is 
  3331.  
  3332.      switched in by the poke, poke &h52B,227, and is used in S1, S2, and 
  3333.  
  3334.      WR96. The pokes into &h373, &h374, and  &h375 are to switch a  path 
  3335.  
  3336.      inside  the  program for modes which have the 16  line  gray  shade 
  3337.  
  3338.      header.
  3339.  
  3340.           A  few  of  you  may have a  SVGA  card  which  only  supports 
  3341.  
  3342.      640x400x256. You can still view up to 200 lines of picture, but the 
  3343.  
  3344.      perspective stretches the picture vertically by a factor of 480/400 
  3345.  
  3346.      in the 240 and 256 line modes. The programs are constructed to  use 
  3347.  
  3348.      the 640x400 mode for the AVT94 (mode 6) only. There are a number of 
  3349.  
  3350.      lines  which  state:   IF I=6 THEN POKE &h113 or  &H398  with  some 
  3351.  
  3352.      number.  If  you take these lines and eliminate the  "IF  I=6"  con-
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.      straint  you will use the 640x400 for all modes:  specifically  you 
  3361.  
  3362.      delete the words "IF I=6 THEN"  in each line and leave the POKE. In 
  3363.  
  3364.      the RT.BAS program, the lines affected are 1765, 1815, 1875,  1925, 
  3365.  
  3366.      1995,   and   2045.  In  the  VU.BAS,  VT.BAS,   TIFCONV.BAS,   and 
  3367.  
  3368.      SLIDESHO.BAS  programs  the affected lines are  1590,  1635,  1685, 
  3369.  
  3370.      1735,  1787, and 1835. In PCXLABEL.BAS and TIFLABEL.BAS  the  lines 
  3371.  
  3372.      affected  are  1540,  1610, 1680, 1740, 1820,  and  1890.  Strictly 
  3373.  
  3374.      speaking, you only need to eliminate the constraint for the partic-
  3375.  
  3376.      ular  Video Card choice you are using. To my surprise,  a few  sys-
  3377.  
  3378.      tems have shown up with 640x480 but not 640x400. If you have  this, 
  3379.  
  3380.      just  eliminate all of the above lines, and mode 6 will be  painted 
  3381.  
  3382.      in the 640x480 screen (the easiest way  to eliminate them is to put 
  3383.  
  3384.      an apostrophe before the first word in the line, leaving the  words  
  3385.  
  3386.      there in case you get another video card at a later date).  
  3387.  
  3388.  
  3389.  
  3390.      COPYRIGHT NOTICE
  3391.  
  3392.           These programs were developed for the free use of other  Radio 
  3393.  
  3394.      Amateurs  but  since they might have other commercial use,  I  have 
  3395.  
  3396.      registered them with the U.S. Copyright Office. Radio Amateurs  are 
  3397.  
  3398.      free to make copies for other amateurs provided no monetary compen-
  3399.  
  3400.      sation  is involved. Any other use for commercial purposes is  for-
  3401.  
  3402.      bidden  without specific written permission from the  author.  Note 
  3403.  
  3404.      that the individual core machine language files are copyrighted  so 
  3405.  
  3406.      they may not be copied and sold as part of any commercial  venture.  
  3407.  
  3408.      Shareware  vendors may not reproduce these programs.  Also,  copies 
  3409.  
  3410.      may not be made to ship with any package for which monetary compen-
  3411.  
  3412.      sation is charged. Please help me police this!
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.                                                        Have fun,
  3421.  
  3422.                                                        Ben Vester,    K3BC 
  3423.  
  3424.      8/1/94                                                                                                
  3425.  
  3426.  
  3427.