home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / TERM / KPTRMIST.DQC / KPTRMIST.DOC
Text File  |  2000-06-30  |  6KB  |  92 lines

  1.                             TERMINAL INSTALLATION
  2.                                 Pete Landerman
  3.                                  Nov 15, 1985
  4.  
  5.      Have  you ever downloaded some software only to find that it won't run on 
  6. your terminal,  or that your terminal is not listed in the Instalation Program 
  7. that  goes with it?   It has sure happened to me with my Otrona  Attache  (say 
  8. what?).   So  I  extracted  the terminal display driver codes  from  James  H. 
  9. Whorton's  VINST11.COM,   an  installation  program  for  his  VDO25.COM,  and 
  10. displayed  them in the chart below.   If the program you wish to adapt can  be 
  11. installed for various terminals,  and you have an installed version for one of 
  12. the  terminals  in the chart,  you can do the following.   Use a program  like 
  13. PATCH to Search the program code for the strings of bytes that constitute  the 
  14. display driver codes given in the chart for the installed terminal.   If these 
  15. are found, replace them with the codes for your particular terminal.
  16.  
  17.      For  example,  DAZLSTAR has the Osborne 1 on the list of terminals in its 
  18. Install  Program.   The addresses given in the documentation for the  terminal 
  19. codes  are not even right (for me at least).   No problem;  I  just  installed 
  20. DAZLSTAR  for  the  Osborne,  used  PATCH  to  find  the  O1  terminal  codes, 
  21. substituted the Otrona values for these; and it worked!
  22.  
  23.      The  terminal  codes given in the chart are those used  in  VDO25.   Many 
  24. programs  don't use all of these;  some use more.   The same overall  strategy 
  25. should  work to find others as needed.   To find codes used by the program you 
  26. could   use  COM-PARE  or  some  such  to  locate  the   differences   between 
  27. installations  for two different terminals.   The Labels for the various codes 
  28. at the top of the columns of the chart (sort of taken from WordStar) stand for 
  29. the following:
  30.  
  31.      R      Number of Rows (in HEX)
  32.      C      Number of Columns (in HEX)
  33.      ERAEOL Erace to end of line
  34.      CLEAD1 Cursor Position Lead in
  35.      CLRSCN Clear Screen
  36.      LNINS  Insert Line
  37.      LNDEL  Delete Line
  38.      IVON   Highlighting (Reverse Video) On
  39.      IVOFF  Highlighting (Reverse Video) Off
  40.  
  41.      In some programs a string-length byte (indicating the length in bytes  of 
  42. the code that follows) is prefixed to some or all of these codes.  For example 
  43. ERAEOL for the Zenith would be: 02 1B 4B, and CLEAD1 would be 03 01 1B 59.  If 
  44. the  program employes a string-length byte,  it is already in the program.  So 
  45. you don't need to insert it;  you only need to change it if the string you are 
  46. patching in is of a different length than the original one.
  47.  
  48.      Different  types of Highlighting may be used (Reverse  Video,  Background 
  49. On,  Boldface, Underline, etc.) depending on what your terminal is capable of.  
  50. For  some terminals and some programs the values of IVON and IVOFF  should  be 
  51. switched to obtain the right affect.
  52.  
  53.      The  chart  was sorted by the ERAEOL values so as to bring  together  the 
  54. terminals whose codes are most similar.  Thus the ADM-20 is next to the Morrow 
  55. rather than next to the ADM-31.
  56.  
  57.      In  the chart I saved space by using some abbreviations which should  not 
  58. pose a problem.   "Hil" with the Kaypros is Highlighting.  "L-Sieg" stands for 
  59. Lear-Siegler.   "S120" is the Soroc 120.  "WY-100/200/300" are Wyse terminals.  
  60. "TVid" stands for Televideo.
  61.  
  62.  
  63.                SOME DISPLAY DRIVER CODES FOR VARIOUS TERMINALS 
  64.  
  65.         R  C ERAEOL CLEAD1  CLRSCN LNINS LNDEL  IVON        IVOFF
  66. Kaypro no Hil  |18 50|18 00|01 1B 3D|1A 00|1B 45|1B 52|00 00      |00 00       
  67. Kaypro with Hil|18 50|18 00|01 1B 3D|1A 00|1B 45|1B 52|see below  |see below   
  68. Hazltne Esprit |18 50|1B 0F|01 1B 11|1B 1C|1B 1A|1B 13|1B 1F      |1B 19       
  69. ADDS 20/25/30  |18 50|1B 4B|00 1B 59|0C 00|00 00|00 00|00 00      |00 00       
  70. ADDS 40/60     |18 50|1B 4B|00 1B 59|0C 00|1B 4D|1B 6C|0E 00      |0F 00       
  71. Otrona Attache |18 50|1B 4B|01 1B 3D|1A 00|1B 4C|1B 4D|1B 55 22   |1B 55 20    
  72. ADDS Viewpnt 1A|18 50|1B 4B|01 1B 59|0C 00|00 00|00 00|0F 00      |0E 00       
  73. Zenith         |18 50|1B 4B|01 1B 59|1B 45|1B 4C|1B 4D|1B 71      |1B 70       
  74. Lr-Sieg ADM-20 |18 50|1B 54|00 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  75. Morrow MDT-20  |18 50|1B 54|00 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  76. Liberty        |18 50|1B 54|01 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  77. Osborne 1      |18 50|1B 54|01 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  78. Qume           |18 50|1B 54|01 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  79. Soroc new mods |18 50|1B 54|01 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  80. TVid 912/920/92|18 50|1B 54|01 1B 3D|1A 00|1B 45|1B 52|1B 29      |1B 28       
  81. Epson Geneva   |08 50|1B 54|01 1B 3D|1B 2A|00 00|00 00|00 00      |00 00       
  82. Lr-Sieg ADM-31 |18 50|1B 54|01 1B 3D|1B 2A|1B 45|1B 52|1B 29      |1B 28       
  83. WY100/200/300  |18 50|1B 54|01 1B 3D|1B 2A|1B 45|1B 52|1B 29      |1B 28       
  84. Osborne Exec   |18 50|1B 54|01 1B 3D|1B 5A|1B 45|1B 52|1B 62 1B 29|1B 64 1B 28 
  85. S120/Apple CP/M|18 50|1B 54|01 1B 3D|1b 2A|00 00|00 00|1B 29      |1B 28       
  86. Visual 200     |18 50|1B 78|01 1B 59|1B 76|1B 4C|1B 4D|1B 33      |1B 34       
  87. Hazltine 1500  |18 50|7E 0F|00 7E 11|7E 12|7E 1A|7E 13|7E 19      |7E 1F       
  88.  
  89. The strings for turning Highlighting On and Off on the Kaypro are:
  90.      IVON:  1B 42 30 1B 42 31
  91.      IVOFF: QB 43 31 1B 43 30
  92.