home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / cat / vt100.exe / lha / VTDOC4.DO < prev    next >
Text File  |  1991-08-07  |  15KB  |  300 lines

  1. 100/100 supports a print screen function only.  If you want to
  2. echo to the printer as the characters are received, you must
  3. enter TELCOM (press F6) and use the ECHO (F5) function inside
  4. TELCOM.
  5.  
  6. XON/XOFF
  7.  
  8. 100/100 requires that XON/XOFF protocol be enabled.  It can't
  9. support view mode without the ability to tell the host computer
  10. to stop sending characters temporarily.  Beyond that, there are
  11. several functions which take a fraction of a second to perform
  12. and could cause lost characters, even at 300 baud if no XON/XOFF
  13. protocol is enabled.  The program and all of the escape sequences
  14. it must recognize, coupled with the slow LCD screen of the Model
  15. 100, keep performance well under 1200 baud without Fast Mode. 
  16. Even in regular TELCOM, the Model 100 can't run faster than about
  17. 600 baud if the data is being displayed on the screen.
  18.  
  19. The CODE 'x' key combination supports a special feature of
  20. toggling the XON/XOFF protocol within the emulator.  If you think
  21. you might need this feature, Appendix A explains this feature as
  22. well as possible uses for it.
  23.  
  24. RELOCATING VT100.CO
  25.  
  26. VT100 can be relocated to any memory location you desire in order
  27. to avoid conflicts with other machine language applications you
  28. may have.  To do this you must locate the second program on your
  29. tape called VTLDR, immediately following VT100.CO.  On disk, this
  30. program is VTLDR.BA.  If downloaded from a bulletin board, it is
  31. probably called VTLDR.DO.  When run, this program will install a
  32. copy of VT100.CO at any memory location.
  33.  
  34. If you don't know how to locate a particular program on a tape,
  35. you can simply put the tape at the beginning and type:
  36.  
  37. RUN "CAS:VTLDR"
  38.  
  39. It will take a while, but it will eventually find VTLDR and run
  40. it.  If you have a disk, simply load it from disk and run it, or
  41. run it directly from disk if you have a DOS which allows you to
  42. do so.
  43.  
  44. The loader program will prompt you for an ending address.  This
  45. address should be the lowest address of any machine language
  46. programs you already have installed minus one.  This will put
  47. VT100 immediate below your other programs.  The program will then
  48. run to completion and save the results as VT100.CO for you.  You
  49. can then save this copy to disk or tape.
  50.  
  51. If you wish to use VT100 with DIRACC as described below, relocate
  52. the program before loading DIRACC.
  53.  
  54. DIRACC 100 and 100/100
  55.  
  56. 100/100 is completely compatible with DIRACC 100.  DIRACC by Hugo
  57. Ferreyra is  a program used in conjunction with TELCOM to allow
  58. you to enter TEXT and BASIC while maintaining your online
  59. connection.  In this way, you are able to create and edit files
  60. off-line, using the Model 100's built-in TEXT program and then
  61. upload them.  Or you can enter BASIC and kill files to create
  62. more space for downloading of documents.  If you have a disk
  63. drive which uses the system bus, you can save to and load files
  64. from the disk while in BASIC, then return to TELCOM and the VT100
  65. emulator.
  66.  
  67. Locate the file DIRACC.BA on our disk or tape, or download
  68. DIRACC.DO from you bulletin board.  If downloading, use the
  69. original version, not the version which supports no-scroll
  70. downloading.
  71.  
  72. If you require no-scroll downloading, this version of 100/100
  73. (v1.2) supports that feature.  Pressing CODE 'd' while in the
  74. VT100 emulator will bring up the 'File to Download?' prompt.  You
  75. can then download with the screen locked.  Press F7 to stop
  76. no-scroll downloading, rather than F2.  See the paragraphs above
  77. titled "Fast Downloading" for further and more complete
  78. documentation as to how to use the no-scroll feature.  Enough
  79. digression, now back to the DIRACC program.
  80.  
  81. DIRACC consists of a BASIC program which loads a small machine
  82. language program.  Once loaded, the F6 key in TELCOM enters
  83. BASIC, and the F7 key enters TEXT.  To be compatible with DIRACC,
  84. 100/100 redefines the function keys 6 and 7 as described in the
  85. above documentation.  After 100/100 is loaded, the F7 key becomes
  86. the DIRACC key.  When pressed, F7 will bring up the prompt,
  87. "<T>ext or <B>asic?".  Responding with 'T' or 'B' will then enter
  88. the appropriate application.  In this way, the F7 key serves the
  89. functions of both F6 and F7 in DIRACC, leaving F6 free to use in
  90. entering 100/100 from TELCOM.  
  91.  
  92. The DIRACC loader program should be run after 100/100 is loaded
  93. into memory.  Then, to activate it for the emulator, the utility
  94. program DIRPOK.BA should be used.  This program is located after
  95. 100/100 on your tape, or is on your disk.  It can also be
  96. downloaded from your bulletin board.
  97.  
  98. Run this program and it will poke the proper addresses into the
  99. already loaded version of 100/100.  (Type "LOADM "VT100" to
  100. insure it is loaded before running DIRPOK).  You can then save
  101. DIRACC and VT100 as one program to insure that you always have
  102. both loaded.  Once you have activated DIRACC by running DIRPOK,
  103. pressing F7 in TELCOM should only be done if DIRACC is loaded. 
  104. Otherwise, you may experience serious consequences (i.e.
  105. coldstart).  If you save the two programs (VT100 and DIRACC)
  106. together as one program as described in the summary below, and
  107. always enter TELCOM through the VT100 program, you will always be
  108. safe.  If you remove the VT100 program you should remove the
  109. TELCOM function keys definitions as well.  See SECTION III,
  110. "Deactivating 100/100" on how to do this.  Until running DIRPOK,
  111. the F7 key in TELCOM will bring up the 'Text or Basic' prompt,
  112. but either choice will simply return directly to TELCOM.  This
  113. allows you to use 100/100 without DIRACC.  A second utility
  114. program on your program tape or disk called DEFKEY.BA will allow
  115. you to redefine F7 to show files and free memory while online 
  116. See "Using 100/100 Without DIRACC" below.
  117.  
  118. When you run DIRPOK it will prompt you for the starting address
  119. of DIRACC and VT100.  If you have not relocated VT100 and have
  120. put DIRACC immediately below it in memory, you need only to press
  121. the carriage return at the prompts.  Even if you have relocated
  122. the two, as long as DIRACC is loaded at HIMEM and VT100.CO
  123. follows immediately, you may press C/R at the prompts.  The only
  124. time you need to actually type in the addresses is when you have
  125. another machine language program loaded below DIRACC (i.e HIMEM
  126. and start address of DIRACC are not the same) or when DIRACC is
  127. not loaded immediately below VT100.  If you load VT100.CO
  128. (original or relocated), then immediately run the DIRACC loader,
  129. then immediately run DIRPOK, you will always be safe.
  130.  
  131. Remember, DIRACC is only available from TELCOM.  If you are in
  132. the VT100 emulator, you must first press F8 to exit to TELCOM,
  133. then F7 to get the DIRACC prompt.
  134.  
  135. In summary, to use DIRACC with 100/100:
  136.  
  137. 1.  Load 100/100 into memory as described in the loading
  138. instructions.
  139.  
  140. 2.  Run DIRACC.BA/.DO
  141.  
  142. 3.  Run DIRPOK.BA/.DO
  143.  
  144. 4.  Save the two as one program by typing 
  145.     SAVEM "VT100D", 59402, 62960, 59554
  146.      59402 is the beginning address of DIRACC
  147.      62960 is the ending address of VT100.CO
  148.      59544 is the beginning address of VT100.CO
  149.  
  150. USING 100/100 Without DIRACC
  151.  
  152. 100/100 can be used without DIRACC exactly as it comes to you. 
  153. Pressing F7 while in TELCOM still brings up the 'Text or BASIC'
  154. prompt, but no matter what response is given, the program
  155. immediately returns to TELCOM.  This is why you need the DIRPOK
  156. program explained above to activate DIRACC.  If you wish to use
  157. the F7 function key for something else while in TELCOM, you can
  158. redefine it by running DEFKEY.BA, found on your program tape or
  159. disk.
  160.  
  161. DEFKEY allows you to place two calls into the VT100 program which
  162. will be executed whenever you press the F7 key in the TELCOM
  163. program.  The calls will be executed one after the other, without
  164. prompts.  If you run DEFKEY with the defaults, it places the
  165. calls to show files and free bytes.  In other words, after
  166. running DEFKEY, anytime you press F7, your files will be
  167. displayed and free bytes immediately after.  The F7 key will now
  168. jump to VT100.CO which handles these two calls.  If you remove
  169. VT100.CO, you must also remove the function key definition.  See
  170. SECTION III, "Deactivating 100/100" for details on how this is
  171. done.
  172.  
  173. DEFKEY also lets you define your own calls to be used with F7
  174. within TELCOM.  If you have a small machine language program
  175. (that ends with a RET and not a jump to MENU), or wish to use two
  176. other ROM calls you can define those within DEFKEY.BA.  Just as
  177. with the defaults, these two calls will be called, one
  178. immediately after the other.  If you wish to only define one
  179. call, then call 32755 with the second call, since this is a
  180. simple return.
  181.  
  182.  
  183.                            SECTION III
  184.  
  185. ADDITIONAL NOTES
  186.  
  187. FREE BYTES REQUIRED: 100/100 requires 2037 free bytes in order to
  188. run.  Upon entry from TELCOM, the program creates a .DO file
  189. exactly 1923 bytes long.  This file is used for storing the bytes
  190. of the 80 column by 24 line screen.  This file is named
  191. [SCRN].DO, but you should never see it.  It is automatically
  192. created when you press F6 in Telcom, and automatically deleted
  193. when you press F8 to exit back to Telcom.  By using a DO file for
  194. storing the screen information, 100/100 avoids conflicts with any
  195. other M/L programs, or having to reserve extra memory.  It will
  196. use 2000 bytes, anywhere it happens to exist.  If for some reason
  197. the program aborts (such as batteries run out and M100 turns
  198. off),  this file will not be deleted.  However, as long as it
  199. isn't edited, it can and will be used when the program runs
  200. again.  In that light, it would use any file named [SCRN].DO so
  201. you should never create a file with that name.
  202.  
  203. SCRATCH SPACE:  Every attempt has been made to make 100/100
  204. compatible with other machine language programs and ROMS.  As
  205. mentioned above, the screen memory is stored in a .DO file to
  206. avoid any conflicts with reserved memory.  100/100 also uses a
  207. small scratch pad area in the area reserved for the previous
  208. screen in the TELCOM application.  This scratch space is freed up
  209. in returning to TELCOM, so no conflicts are possible there. 
  210. 100/100 should be a very "clean" application that can coexist
  211. with whatever other software you use.
  212.  
  213. TESTING THE PROGRAM: You may want to insure that 100/100 is
  214. loaded properly and working before actually going on-line.  This
  215. testing can be done through the serial port without anything
  216. connected.  Run VT100 which will enter TELCOM.  Press F3 and set
  217. the STAT to 37I1E or some valid parameter which doesn't start
  218. with 'M'.  Now press F4 to enter terminal mode, then F6 to enter
  219. VT100 mode.  The TELCOM label line will disappear if VT100 is
  220. working.  Press LABEL and you should see 'r1 c1' in the lower
  221. left corner.  Press F1 and the cursor should move to the lower
  222. right corner.  You are in view mode now.  Press PASTE and it
  223. should return to the upper left corner as you exit view mode. 
  224. Press CODE x twice and you should hear one beep.  If all this
  225. works, VT100 is working.  Press F8 to exit VT100 mode, then F8
  226. again to exit TELCOM.
  227.  
  228. TAB STOP LIMITATION: 100/100 recognizes only 10 tab stops.  The
  229. default tab stops which come with the program are at every eighth
  230. character.  The SETUP.BA program can be used to change these
  231. defaults.  Programs on the host can also change these tab stops,
  232. but only the first ten stops are recognized.  The first ten
  233. represent the first ten from left to right, not the first ten set
  234. chronologically.  If ten tabs have been set and an eleventh one
  235. is set before an existing one, the right most tab stop will be
  236. lost.
  237.  
  238. LINE DRAWING MODE:  100/100 supports a subset of the VT100 line
  239. drawing mode.  The program will interpret correctly the
  240. characters used to actually draw lines and boxes, but the special
  241. characters such as the tiny two character combinations, the pie
  242. and English pound symbol, and some others are not translated.  If
  243. you use applications which use these unsupported special
  244. characters, you will see the wrong characters printed, lower case
  245. alphabetic characters instead of the special character.  Other
  246. than that, the program will run just fine.
  247.  
  248. The special line drawing characters are supported only as the
  249. secondary character set.  What that means refers to the way the
  250. VT100 defines the character sets it will use.  An application
  251. running on the host has the ability to select a primary character
  252. set (called G0) and a secondary character set (called G1). 
  253. 100/100 supports only the regular character set as G0 and the
  254. line drawing character set as G1.  If the application sets the
  255. line drawing character set as G0 instead, this will be ignored by
  256. 100/100, which will continue to print the regular characters
  257. only.  It is rare that the character sets are reversed, so this
  258. should not be a limitation
  259.  
  260. BACKSPACE:  On the Model 100, the DEL/BKSP key generates ASCII
  261. code 8.  SHIFT DEL/BKSP then generates ASCII code 127 which is a
  262. delete.  Since most of Digital's computers interpret the code 127
  263. to be backspace which erases the character immediately left of
  264. the cursor, this key has been redefined inside of 100/100 to
  265. produce 127 instead of 8.  If you need a true backspace character
  266. (8), then SHIFT DEL has been swapped with BKSP to produce that
  267. code.  For example, on CompuServe, you may need to do a SHIFT DEL
  268. to backspace in VT100 mode, but only press BKSP in TELCOM mode.  
  269.  
  270. DEACTIVATING 100/100:  If you remove VT100.CO, the definitions
  271. for the F6 and F7 function keys remain within TELCOM.  These must
  272. be deactivated to prevent jumping to non-existent code if pressed
  273. while in TELCOM.  To do this, type in this small program and run:
  274.  
  275.      10 POKE 64268,243:POKE 64269,127
  276.      20 POKE 64270,243:POKE 64271,127
  277.  
  278. Now pressing F6 or F7 in TELCOM will produce no results.
  279.  
  280. THE VT100 APPLICATION KEYPAD: 100/100 will emulate the keypad of
  281. the VT100.  To do this, the GRPH key plus one of the keys used
  282. with the NUM key are used.  For example, pressing GRPH plus 'm'
  283. will produce the VT100 keypad zero since the 'm' key also has a
  284. zero on it.  See the illustration at the end of SECTION I for a
  285. complete description of all the VT100 keypad keys.
  286.  
  287. At this point, a brief explanation of how the VT100 keypad works
  288. would probably be helpful.  Each key on the VT100 keypad is
  289. capable of producing one of two possible codes.  In normal mode,
  290. each key produces exactly what is on the keycap.  The zero key
  291. would produce a zero, exactly as if you had pressed the zero key
  292. on the top row of the keyboard.  In application mode, an escape
  293. sequence is sent.  The host application is rfponsible for turning
  294. application mode on and off on a VT100.  However, in the 100/100
  295. program, this switching is not automatic.  You must determine
  296. whether the host application is expecting an escape sequence and
  297. press the GRPH key combination, or whether it is expecting a
  298. number and press the NUM key combination
  299.  
  300. In most cases, it is easy to determine what the host application