home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug018.arc / ANYCODE.DOC < prev    next >
Text File  |  1979-12-31  |  20KB  |  444 lines

  1. .ig 14/06/85 installed
  2.                               ANYCODE
  3.  
  4.                               Doug Hurst
  5.  
  6. IMPORTAN╘ NOTE║  Thσ documentatioε fo≥ ANYCOD┼ i≤ baseΣ oε aε articlσ ì
  7. submitteΣ t∩ thσ newl∙ reviveΣ "Portablσ Companionó magazinσ fo≥ ì
  8. Osbornσ Compute≥ Owners«  Thσ referencσ arσ Osbornσ oriented«  Iε ì
  9. reality¼ thσ prograφ i≤ morσ WordSta≥ thaε Osbornσ oriented¼ anΣ i≤ u≡ ì
  10. anΣ runninτ oε HeatΦ anΣ Zorbß machine≤ anΣ i≤ adaptablσ t∩ al∞ ì
  11. WordStars¼ Version≤ 2.26¼ 3.0╪ anΣ 3.3X«  Bσ absolutel∙ certaiε tha⌠ ì
  12. yo⌡ carefull∙ makσ AL╠ substitution≤ fo≥ you≥ versioε oµ WordStar«  ì
  13. Therσ arσ severa∞ throughout«  Questions¼ comment≤ anΣ bug≤ shoulΣ bσ ì
  14. reporteΣ t∩ mσ a⌠ 680╕ Estrellß Ave.¼ Twentyninσ Palms¼ C┴ 92277¼ ì
  15. evening (619) 367-1090 (evenings).
  16.  
  17.      PLEASE!í  Givσ thi≤ articlσ ß looδ eveε iµ i⌠ seem≤ somewha⌠ ì
  18. complicated«  I⌠ i≤ ß useful¼ valuablσ modificatioε t∩ WordSta≥ anΣ i≤ ì
  19. quitσ simplσ iµ yo⌡ wil∞ takσ i⌠ ste≡ b∙ step«  
  20.  
  21. VALUE.  Make≤ WordSta≥ morσ powerfu∞ anΣ tex⌠ file≤ more flexiblσ anΣ ì
  22. portable«  ANYCODE doe≤ thi≤ withou⌠ enlarginτ thσ sizσ oµ thσ maiε ì
  23. WordSta≥ prograφ WS.COM« Thi≤ i≤ ß ver∙ importan⌠ point«  B∙ keeping ì
  24. WS.CO═ confineΣ t∩ it≤ "stockó size¼ i⌠ ma∙ installeΣ o≥ reinstalleΣ ì
  25. usinτ INSTALL.CO═ a⌠ wil∞ withou⌠ affectinτ o≥ havinτ t∩ reinstal∞ ì
  26. ANYCODE.
  27.  
  28. INTRODUCTION.
  29.  
  30.      Thσ EPSO╬ FX¼ M╪ (w/Graftrax⌐ anΣ R╪ series¼ a≤ wel∞ a≤ man∙ ì
  31. othe≥ brand≤ oµ printers¼ havσ man∙ morσ mode≤ oµ operatioε availablσ ì
  32. thaε caε bσ accesseΣ b∙ ß normall∙ installeΣ WordStar¼ eveε iµ onσ ì
  33. use≤ al∞ thσ built-iε anΣ use≥ defineΣ prin⌠ contro∞ codσ facilitie≤ ì
  34. available«  No⌠ onl∙ caε thesσ built-iε anΣ use≥ defineΣ code≤ NO╘ ì
  35. kee≡ pacσ witΦ thσ printer'≤ capability¼ oncσ installed¼ the∙ arσ no⌠ ì
  36. alterablσ withou⌠ usinτ DDT/SID.CO═ o≥ WordStar'≤ INSTALL.COM«  Therσ ì
  37. arσ severa∞ commerciall∙ availablσ program≤ tha⌠ wil∞ le⌠ yo⌡ senΣ al∞ ì
  38. thσ contro∞ code≤ ß printe≥ wil∞ accept«  The∙ diffe≥ froφ thσ onσ ì
  39. presenteΣ iε thi≤ articlσ iε tha⌠ thi≤ onσ i≤ free«  Thi≤ articlσ i≤ ì
  40. als∩ designeΣ t∩ servσ thσ dua∞ purposσ oµ displayinτ ho≈ mucΦ ì
  41. untappeΣ potentia∞ therσ i≤ iε standarΣ WordStar« 
  42.    
  43. USING ANYCODE.
  44.  
  45.      Beforσ gettinτ int∩ thσ codinτ anΣ installatioε oµ ANYCODE¼ i⌠ i≤ ì
  46. importan⌠ t∩ seσ wha⌠ thσ outcomσ oµ you≥ effort≤ wil∞ be«  Thi≤ will¼ ì
  47. it is hoped, piquσ you≥ interes⌠ anΣ kee≡ yo⌡ froφ givinτ up«  Iµ yo⌡ ì
  48. regularl∙ usσ ß WordSta≥ witΦ CHARTEC╚ o≥ simila≥ prograφ installed¼ ì
  49. yo⌡ alread∙ posses≤ thσ functioε tha⌠ ANYCOD┼ wil∞ perform«  You'rσ ì
  50. welcomσ t∩ continuσ anyway«  A≤ mentioneΣ earlier¼ ß nicσ featurσ oµ ì
  51. ANYCOD┼ i≤ tha⌠ i⌠ doe≤ no⌠ enlargσ thσ sizσ oµ WS.CO═ a≤ man∙ simila≥ ì
  52. commerciall∙ availablσ product≤ do.
  53. .paè     Oncσ installed¼ use of ANYCOD┼ code≤ ha≤ thσ samσ functiona∞ ì
  54. effec⌠ a≤ WordStar'≤ prin⌠ contro∞ codes«  InsteaΣ oµ embeddinτ theφ ì
  55. iε thσ tex⌠ witΦ ß prin⌠ contro∞ codσ sucΦ a≤ ^PS¼ however¼ yo⌡ ente≥ ì
  56. ANYCOD┼ ver∙ mucΦ a≤ thσ code≤ actuall∙ appear iε you≥ printer'≤ ì
  57. user'≤ manual«  ANYCOD┼ codes¼ however¼ arσ no⌠ invisiblσ t∩ thσ ì
  58. editor«  Iε othe≥ words¼ wheε yo⌡ placσ ANYCODE'≤ code≤ iε you≥ text¼ ì
  59. the∙ arσ treateΣ jus⌠ likσ norma∞ tex⌠ b∙ WordStar«  Thi≤ mean≤ the∙ ì
  60. wil∞ bσ includeΣ iε sucΦ function≤ a≤ wordwra≡ anΣ paragrapΦ ì
  61. reformatting«  Fo≥ thi≤ reason¼ i⌠ i≤ suggesteΣ tha⌠ yo⌡ ente≥ al∞ ì
  62. you≥ text¼ ge⌠ i⌠ formatteΣ jus⌠ thσ wa∙ yo⌡ want¼ theε g∩ bacδ anΣ ì
  63. inser⌠ thσ ANYCOD┼ codes«  Thi≤ ma∙ forcσ yo⌡ t∩ usσ thσ ^O╪ (releasσ ì
  64. margin⌐ commanΣ morσ thaε yo⌡ arσ useΣ t∩ (somσ line≤ wil∞ extenΣ fa≥ ì
  65. beyonΣ thσ margin)«  Thi≤ shoulΣ bσ oµ n∩ concerε t∩ yo⌡ thougΦ ì
  66. becausσ ANYCOD┼ code≤ arσ non-printinτ jus⌠ likσ WordStar'≤ prin⌠ ì
  67. contro∞ codes«  Thσ actua∞ linσ wil∞ fi⌠ withiε thσ margin≤ iµ i⌠ diΣ ì
  68. prio≥ t∩ codσ insertion.
  69.  
  70.      ANYCOD┼ code≤ wil∞ usuall∙ takσ onσ oµ thσ threσ form≤ showε ì
  71. below¼ jus⌠ a≤ mos⌠ printer≤ accep⌠ code≤ iε onσ oµ thesσ threσ forms.
  72.  
  73. straight hex code
  74. escape + hex code
  75. escapσ + he° codσ + traile≥ code 1 + traile≥ code 2....+ trailer code n
  76.  
  77. Belo≈ arσ ANYCOD┼ example≤ oµ eacΦ typσ fo≥ EPSO╬ printers:
  78.  
  79. `0F     Would transmit 0Fh (turn condensed print mode on).
  80. ~45     Would transmit <ESC>,45h (turn emphasized print on).
  81. ~2D`0▒  WoulΣ transmi⌠ <ESC>,2Dh,0▒ (turε oε continuou≤ ì
  82.         underline).
  83.  
  84. As a further example, a short section of text, first without 
  85. codes and then with ANYCODE codes embedded.
  86.  
  87.  
  88. Dear Bob,
  89.  
  90.      Just wanted to let you know I was thrilled with the modified 
  91. BIOS you sent me.  It worked SUPER.
  92.  
  93. Dear Bob,
  94.  
  95.      Just wanted to let you know I was ~34thrilled~35 with the modified 
  96. ~2D`01BIOS~2D`00 you sent me.  It worked `0ESUPER!`14.
  97.  
  98. Iε thσ lowe≥ examplσ witΦ thσ embeddeΣ (agaiε EPSON⌐ codes¼ ~3┤ anΣ ì
  99. ~3╡ turε italic≤ on/off¼ ~2D`0▒ anΣ ~2D`0░ turn≤ underlinσ on/ofµ anΣ ì
  100. `0┼ anΣ `1┤ turε expandeΣ prin⌠ on/off.
  101.  
  102.      Noticσ ho≈ thσ firs⌠ linσ no≈ extend≤ pas⌠ thσ norma∞ margin«  ì
  103. Again¼ i⌠ WIL╠ NO╘ wheε thσ printinτ actuall∙ take≤ placσ sincσ ì
  104. ANYCOD┼ codσ i≤ non-printing«  Thσ tw∩ leaΣ character≤ fo≥ ANYCOD┼ ì
  105. codσ werσ pickeΣ especiall∙ fo≥ thσ Osbornσ computer«  Yo⌡ wil∞ no⌠ ì
  106. finΣ theφ oε you≥ keyboard«  T∩ makσ ß "~"¼ typσ ^½  (contro∞ +)«  T∩ ì
  107. placσ ß "`ó oε thσ screen¼ typσ ß ^┐ (contro∞ ?)«  è     Iµ yo⌡ haven'⌠ seeε thσ obviou≤ advantagσ t∩ sendinτ thσ printe≥ ì
  108. code≤ iε thσ ANYCOD┼ forma⌠ ove≥ WordStar'≤ code≤ yet¼ herσ arσ two«  ì
  109. First¼ yo⌡ caε senΣ an∙ codσ t∩ thσ printer«  (Okay¼ thσ cat≤ ou⌠ oµ ì
  110. thσ bag¼ no≈ yo⌡ kno≈ wherσ thσ namσ oµ thσ prograφ camσ from.⌐ ì
  111. Second¼ sa∙ yo⌡ takσ WordSta≥ anΣ ß documen⌠ disδ witΦ yo⌡ somewherσ ì
  112. (likσ froφ homσ t∩ work⌐ anΣ want/neeΣ t∩ prin⌠ ß filσ usinτ anothe≥ ì
  113. compute≥ (obviousl∙ anothe≥ Osbornσ o≥ Osbornσ disδ forma⌠ ì
  114. compatible)«  Yo⌡ prepareΣ thσ documen⌠ oε you≥ Osbornσ whicΦ i≤ ì
  115. installeΣ witΦ Prin⌠ Control≤ t∩ senΣ EPSO╬ codes«  Thσ compute≥ a⌠ ì
  116. work¼ however¼ i≤ drivinτ ß NE├ printer«  WitΦ ANYCOD┼ code≤ embeddeΣ ì
  117. iε thσ text¼ wouldn'⌠ i⌠ bσ eas∙ t∩ usσ thσ FinΣ anΣ Replacσ (^QA⌐ ì
  118. commanΣ t∩ finΣ thσ EPSO╬ code≤ anΣ substitutσ NE├ codes┐  Answe≥ ye≤ ì
  119. so we can continue.
  120.  
  121.      Therσ arσ ß fe≈ cautions¼ anΣ yo⌡ ma∙ a≤ wel∞ kno≈ theφ now«  
  122.  
  123.           1«  Usσ al∞ capita∞ letter≤  (`0A¼ NO╘ `0a)(anΣ that'≤ zer∩ ì
  124. not o).
  125.           2«  EacΦ he° codσ mus⌠ bσ tw∩ digits« (╡ entereΣ a≤ 05¼ 
  126. ┼ entereΣ a≤ 0E¼ etc.)
  127.           3«  Duσ t∩ spacσ limitation≤ anΣ ß desirσ oε thσ par⌠ oµ thσ ì
  128. autho≥ t∩ kee≡ ANYCOD┼ confineΣ t∩ thσ MORPAT║ areß (explaineΣ later)¼ ì
  129. n∩ provision≤ werσ madσ t∩ bσ ablσ t∩ prin⌠ thσ lead-iε character≤ α ì
  130. anΣ ~«  Iµ yo⌡ usσ eithe≥ oµ thesσ character≤ frequentl∙ iε you≥ worΣ ì
  131. processinτ operations¼ yo⌡ shoulΣ conside≥ pickinτ othe≥ character≤ ì
  132. tha⌠ yo⌡ d∩ no⌠ usσ often«  Thσ comment≤ t∩ ANYCODE.AS═ belo≈ indicatσ ì
  133. wherσ t∩ makσ substitution≤ t∩ thσ defaul⌠ lead-iε characters.
  134.           4«  Thσ MORPAT║ areß mus⌠ bσ free«  Late≥ iε thσ articlσ ì
  135. DDT.CO═ i≤ useΣ t∩ makσ somσ modification≤ t∩ WordSta≥ anΣ checδ t∩ ì
  136. seσ tha⌠ thσ MORPAT║ areß i≤ clear«  Iµ i⌠ i≤ not¼ ABORTí  
  137.           5«  ANYCOD┼ a≤ installeΣ belo≈ i≤ fo≥ WordStar'≤ installeΣ ì
  138. t∩ usσ thσ CP/═ Primar∙ Lis⌠ Device«  Yo⌡ caε checδ thi≤ wheε yo⌡ ì
  139. firs⌠ boo⌠ WordSta≥ anΣ observσ thσ sign-oε messagσ (Als∩ wheε runninτ ì
  140. INSTALL.CO═ oε WordStar¼ checδ thσ labe∞ CSWTCH:«  I⌠ mus⌠ bσ 0░ fo≥ ì
  141. ANYCOD┼ t∩ bσ guaranteeΣ t∩ work)«  
  142.  
  143.      Herσ arσ ß wrong¼ theε ß righ⌠ examplσ oµ ANYCOD┼ syntax.
  144.  
  145. WRONG
  146.  
  147. `FNo≈ i≤ thσ timσ fo≥ ......« thσ aiΣ oµ thei≥ countries.`12
  148.  
  149. Meaninτ t∩ turε compresseΣ prin⌠ on/off«  N∩ zer∩ ░ betweeε thσ α anΣ ì
  150. ╞ a⌠ beginninτ oµ thσ sentence«  PROMISEí Thi≤ wil∞ no⌠ work.
  151.  
  152. RIGHT
  153.  
  154. `0FNo≈ i≤ thσ timσ fo≥ ......« thσ aiΣ oµ thei≥ countries.`12
  155.   
  156. PROMISEí Thi≤ wil∞ work.
  157.  
  158.      Follo≈ thσ simplσ rule≤ laiΣ ou⌠ above¼ anΣ yo⌡ wil∞ havσ n∩ 
  159. problem«  No≈ fo≥ thσ work.
  160.  
  161. èWHA╘ D╧ W┼ MODIF┘ AN─ WHER┼ D╧ TH┼ MODIFICATION╙ GO?
  162.  
  163.      MicroPr∩ and/o≥ Osborne¼ iε thei≥ infinitσ wisdom¼ decideΣ t∩ ì
  164. includσ INSTALL.CO═ witΦ WordStar¼ bu⌠ no⌠ t∩ includσ thσ completσ ì
  165. termina∞ anΣ printe≥ patcΦ areas« (Earl∙ Osbornσ ▒ user'≤ diΣ receivσ ì
  166. thi≤ trea⌠ beforσ Osbornσ converteΣ t∩ thσ "improvedó referencσ ì
  167. manuals)« Luckily¼ thσ autho≥ wa≤ ablσ t∩ finΣ ß completσ manua∞ fo≥ ì
  168. WordSta≥ 3.0«  A⌠ an∙ rate¼ therσ i≤ aε areß withiε WordStar¼ labeleΣ ì
  169. MORPAT║ tha⌠ contain≤ 12╢ empt∙ byte≤ anΣ exist≤ fo≥ thσ solσ purposσ ì
  170. oµ use≥ defineΣ sub-routines«  ANYCOD┼ wil∞ bσ installeΣ iε thi≤ ì
  171. MORPAT║ area« (B∙ enlarginτ thσ sizσ oµ WS.COM¼ eveε morσ areß caε bσ ì
  172. madσ availablσ fo≥ use≥ supplieΣ code« Stand-b∙ t∩ usσ somσ oµ i⌠ iε ß ì
  173. late≥ article.⌐  
  174.  
  175.      Wherσ i≤ thσ MORPAT║ area┐  Fo≥ threσ WordSta≥ version≤ 
  176. knowε t∩ havσ ANYCOD┼ successfull∙ installed¼ i⌠ reside≤ a⌠ thσ 
  177. addresse≤ showε below:
  178.  
  179.                         WordSta≥ Version
  180.  
  181.                 2.26           3.0            3.3
  182.  
  183.                 02DEh          02DEh          02BBh
  184.  
  185.    
  186. THE CODE AND ASSEMBLY.
  187.  
  188.      Thσ comment≤ t∩ thσ codσ ma∙ seeφ ß littlσ cryptiπ s∩ thi≤ ì
  189. narrativσ explanatioε i≤ supplieΣ iε advance«  Wσ wil∞ modif∙ onσ oµ ì
  190. WordStar'≤ printe≥ driver≤ t∩ diver⌠ al∞ character≤ t∩ bσ sen⌠ t∩ thσ ì
  191. CP/═ Primar∙ Lis⌠ Devicσ t∩ ou≥ ANYCOD┼ subroutine«  EacΦ characte≥ i≤ ì
  192. firs⌠ checkeΣ t∩ seσ iµ i⌠ i≤ aε ANYCOD┼ lead-iε character«  Iµ i⌠ is¼ ì
  193. i⌠ i≤ stored¼ ß flaτ i≤ se⌠ anΣ thσ nex⌠ characte≥ i≤ read« Iµ thi≤ ì
  194. characte≥ wasn'⌠ ß lead-iε character¼ i⌠ i≤ checkeΣ t∩ seσ iµ i⌠ i≤ ì
  195. thσ firs⌠ o≥ seconΣ characte≥ followinτ ß lead-iε character«  Iµ i⌠ ì
  196. wasn't¼ i⌠ i≤ sen⌠ ou⌠ t∩ thσ primar∙ lis⌠ devicσ normally«  Iµ thσ ì
  197. leaΣ characte≥ i≤ beinτ storeΣ anΣ thσ flaτ i≤ set¼ i⌠ mean≤ thσ ì
  198. curren⌠ characte≥ i≤ thσ firs⌠ characte≥ followinτ thσ leaΣ character«  ì
  199. Thσ flaτ i≤ lowered¼ anΣ thσ characte≥ processeΣ t∩ becomσ halµ oµ thσ ì
  200. tota∞ follow-oε code«  Theε thσ las⌠ characte≥ i≤ read«  I⌠ to∩ i≤ ì
  201. checkeΣ t∩ seσ iµ i⌠ i≤ ß lead-iε characte≥ o≥ i≤ thσ firs⌠ o≥ seconΣ ì
  202. follow-oε character«  Iµ i⌠ i≤ thσ seconΣ follow-oε character¼ i⌠ i≤ ì
  203. addeΣ t∩ thσ firs⌠ follow-oε character¼ anΣ thσ resul⌠ sen⌠ t∩ thσ ì
  204. lis⌠ devicσ (printer)«  Iµ yo⌡ didn'⌠ understanΣ mos⌠ oµ tha⌠ don'⌠ ì
  205. worr∙ abou⌠ it«  Understandinτ i≤ no⌠ ß requiremen⌠ fo≥ ANYCOD┼ t∩ ì
  206. work«  Herσ i≤ thσ code«  Bσ surσ t∩ usσ thσ "Nó non-documen⌠ modσ iµ ì
  207. yo⌡ usσ WordStar.
  208. .paè; ANYCODE.ASM - A program to allow printer codes to be 
  209. ;            transmitted to EPSON or other dot matrix 
  210. ;            printer from within WordStar text.
  211. ;
  212. ;            Author:  D. M. Hurst
  213. ;            Date:    April 23, 1984
  214. ;
  215.     ORG    XXXXh    ;Where XXXX is 02DEh for WS 2.26/3.0
  216.                         ;and 02BBh for WS 3.3
  217. mysub:    cpi    '`'    ;is it a code character?
  218.                         ;you may substitute another 
  219.                         ;character if you use the
  220.                         ;" ` " often in your text  
  221.     jnz    ncheck    ;no, so next check
  222.     sta    lead    ;yes, so store temporarily
  223.     mvi    a,1    ;get a 1 in accumulator
  224.     sta    fl    ;set fl flag
  225.     ret        ;get another character
  226.             ;without printing
  227. ncheck: cpi    '~'    ;is it a code character?   
  228.                         ;you may substitute another
  229.                         ;character if you use the  
  230.                         ;" ~ " often in your text  
  231.     jnz    hcheck    ;no, so check if part of
  232.             ;code sequence
  233.     sta    lead    ;yes so store temporarily 
  234.     mvi    a,1    ;get a 1 in accumulator
  235.     sta    fl    ;set fl flag
  236.     mvi    a,1bh    ;~ means escape required so 
  237.     jmp    pout    ;send it.
  238. hcheck: mov    b,a    ;set input char aside
  239.     lda    lead    ;get contents of lead
  240.     cpi    '`'    ;are we in a code seq?
  241.                         ;NOTE: if you changed this code
  242.                         ;above, change it here too. 
  243.     mov    a,b    ;char back in accumulator      
  244.     jz    flchk    ;yes, so check if flag set
  245.     mov    b,a    ;no, so char back to b
  246.     lda    lead    ;check lead again
  247.     cpi    '~'    ;are we in a code seq?
  248.                         ;NOTE: if you changed this code
  249.                         ;above, change it here too.    
  250.                         ;char back in accumulator      
  251.     mov    a,b    ;char back in accumulator
  252.     jz    flchk    ;yes, so check if flag set    
  253.     jmp    pout    ;no, so print char normally
  254. flchk:    mov    b,a    ;set char aside again
  255.     lda    fl    ;get fl flag
  256.     cpi    00h    ;1 if set set
  257.     mov    a,b    ;char back in accumulator
  258.     jz    addsnd    ;not set, so last char in seq
  259.     mov    b,a    ;yes, so set char aside again        
  260.     mvi    a,00h    ;no, so place 00h in accumulator
  261.     sta    fl    ;and lower the flag
  262.     mov    a,b    ;char back in accumulator    è        cpi    39h    ;is code char a letter?
  263.         jm    nolet1  ;no, so never mind 
  264.         sui    07h    ;yes, so make it a number
  265. nolet1:    sui    30h    ;now down it form ASCII
  266.     rlc        ;first char in code so 
  267.     rlc        ;move 4 low bits to high
  268.     rlc
  269.     rlc
  270.     ani    0f0h    ;0 4 lower bits
  271.     sta    first    ;store it
  272.     ret        ;go get second char code
  273. addsnd:    mov    b,a    ;set 2nd code char aside
  274.     mvi    a,00    ;0 the accumulator
  275.     lxi    h,lead    ;get lead addr pointer in hl
  276.     mov    m,a    ;0 out the lead
  277.     inx    h    ;up the hl
  278.     mov    m,a    ;also 0 the flag
  279.     mov    a,b    ;get char back
  280.     cpi    39h    ;was 2nd code char a letter?
  281.     jm    nolet2    ;so so skip it
  282.     sui    07h    ;yes so make it a number
  283. nolet2:    sui    30h    ;now down either from ASCII
  284.     lxi    h,first    ;point to first code char addr
  285.     mov    b,m    ;move actual char to b
  286.     add    b    ;add a to b (result in a)
  287. pout:    mvi    c,5    ;print full code char
  288.     mov    e,a
  289.     call    5
  290.     ret        ;back for next real char
  291. ;
  292. lead    ds    1    ;space for lead code
  293. fl    ds    1    ;flag space
  294. first    ds    1    ;store first code while
  295.             ;waiting for 2nd to pro-
  296.             ;cess.
  297.     end
  298.  
  299. Havinτ entereΣ ANYCODE.AS═ above¼ i⌠ mus⌠ bσ assembled«  Placσ you≥ ì
  300. CP/═ systeφ disδ iε drivσ ┴ anΣ thσ disδ containinτ ANYCODE.AS═ iε ì
  301. drivσ B«  Ente≥ thσ followinτ commanΣ linσ froφ thσ A╛ prompt:
  302.  
  303. A>ASM ANYCODE.BBB
  304.  
  305. Iµ therσ arσ n∩ errors¼ anothe≥ ste≡ complete«  Thσ autho≥ ha≤ ì
  306. successfull∙ assembleΣ thi≤ codσ exactl∙ a≤ i⌠ appear≤ iε thi≤ ì
  307. article«  Iε fact¼ thσ codσ wa≤ reaΣ int∩ thσ articlσ froφ ANYCODE.AS═ ì
  308. usinτ WordStar'≤ ^K╥ command«  Iµ therσ arσ error≤ iε assembly¼ g∩ ì
  309. bacδ anΣ checδ you≥ typing«  Iµ i⌠ diΣ assemblσ withou⌠ error¼ yo⌡ ì
  310. shoulΣ bσ lef⌠ witΦ ANYCODE.ASM¼ ANYCODE.HE╪ anΣ ANYCODE.PR╬ oε drivσ ì
  311. B«  D∩ no⌠ usσ LOAD.CO═ anΣ attemp⌠ t∩ loaΣ ANYCODE.HE╪ int∩ ß .CO═ ì
  312. file«  Thi≤ i≤ no⌠ necessar∙ anΣ woulΣ servσ n∩ usefu∞ purpose.
  313. .paèINSTALLATION:
  314.  
  315.      Very¼ ver∙ simple«  AlthougΦ havinτ al∞ thesσ file≤ presen⌠ isn'⌠ ì
  316. necessary¼ placσ WS.COM¼ WSMSGS.OVR¼ WSOVLY1.OVR¼ MAILMRGE.OV╥ ì
  317. (MRGEPRIN.OVR)¼ DDT.CO═ anΣ ANYCODE.HE╪ oε ß SYSGEN'Σ disδ iε drivσ ┴. ì
  318. (Singlσ densit∙ user'≤ leavσ thσ threσ .OV╥ program≤ ofµ fo≥ no≈ anΣ ì
  319. adΣ theφ afte≥ thσ installatioε oµ ANYCOD┼ anΣ thσ deletioε oµ DDT.CO═ ì
  320. anΣ ANYCODE.HEX⌐ (Remembe≥ ANYCODE.HE╪ wa≤ generateΣ durinτ thσ ì
  321. assembl∙ oµ ANYCODE.ASM)«  Wheε yo⌡ havσ performeΣ thi≤ task¼ ente≥ ì
  322. thσ following:
  323.  
  324. Version 2.26             Version 3.0              Version 3.30
  325.  
  326. A>DDT WS.COM<RETURN>     A>DDT WS.COM<RETURN>     A>DDT WS.COM<RETURN>
  327.  
  328. You should see:
  329.  
  330. A>DDT WS.COM             A>DDT WS.COM             A>DDT WS.COM         
  331. DDT Vers 2.2             DDT Vers 2.2             DDT Vers 2.2     
  332. NEXT  PC                 NEXT  PC                 NEXT  PC
  333. 400░ 010░                3F00 0100                4600 0100ì
  334. -                        -                        -
  335.  
  336. Thσ MORPAT║ areß mus⌠ bσ clear« So¼ froφ thσ "-ó promp⌠ typσ thσ ì
  337. following:
  338.  
  339. Version 2.26             Version 3.0              Version 3.30
  340.  
  341. -d2de<RETURN>            -d2de<RETURN>            -d2bb<RETURN>   
  342.  
  343. Yo⌡ shoulΣ seσ somethinτ likσ thσ followinτ provideΣ you≥ WS.CO═ ha≤ ì
  344. no⌠ beeε previousl∙ modifieΣ b∙ anothe≥ add-oε program«  Iµ therσ i≤ ì
  345. anythinτ beside≤ zero≤ iε thi≤ area¼ ABORT!«  You≥ WordSta≥ ha≤ ì
  346. alread∙ beeε modifieΣ b∙ someone«  Continuinτ wil∞ overwritσ thσ codσ ì
  347. iε thi≤ area« 
  348. 02BB 00 00 00 00 00 ..... (WS.COM 2.26 and 3.0 will start at 02DE)
  349. 02C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  350. 02D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  351. 02E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  352. 02F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  353. 0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  354. 0310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  355. 0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  356. 0330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  357. 0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  358. 0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  359. 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  360. -
  361.  
  362. Now, from the "-" prompt type the following:
  363.  
  364. -IANYCODE.HEX<RETURN>
  365. -R<RETURN>
  366.  
  367. èNow type:
  368.  
  369. -d2bb<RETURN>    (WS.COM 2.26 and 3.0 type -d2de<RETURN>) 
  370.  
  371. Yo⌡ shoulΣ seσ somethinτ likσ this║ (WS.CO═ 2.2╢ anΣ 3.░ wil∞ star⌠ a⌠ ì
  372. -d2de)
  373.  
  374. 02BB FE 60 C2 23 01 .`.#. 
  375. 02C0 32 92 01 3E 01 32 93 01 C9 FE 7E C2 35 01 32 92 2..>.2....~.5.2.
  376. 02D0 01 3E 01 32 93 01 3E 1B C3 8B 01 47 3A 92 01 FE .>.2..>....G:...
  377. 02E░ 6░ 7╕ C┴ 4├ 0▒ 4╖ 3┴ 9▓ 0▒ F┼ 7┼ 7╕ C┴ 4├ 0▒ C│ `x.L.G:...~x.L..
  378. 02F0 8B 01 47 3A 93 01 fE 00 78 CA 70 01 47 3E 00 32 ..G:....x.p.G>.2
  379. 0300 93 01 78 FE 39 FA 64 01 D6 07 D6 30 07 07 07 07 ..X.9.D....0....
  380. 031░ E╢ F░ 3▓ 9┤ 0▒ C╣ 4╖ 3┼ 0░ 2▒ 9▓ 0▒ 7╖ 2│ 7╖ 7╕ ..2...G>.!..w#wx
  381. 0320 FE 39 FA 81 01 D6 07 D6 30 21 94 01 46 80 C3 8B .9......0!..F...
  382. 0330 01 0e 05 5F CD 05 00 C9 00 00 00 00 00 00 00 00 ................
  383. 0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  384. 0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  385. 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  386.  
  387. Thσ codσ fo≥ ANYCOD┼ no≈ reside≤ iε thσ MORPAT║ areß previousl∙ ì
  388. occupied by all those 00's.
  389.  
  390. Thσ las⌠ modificatioε insidσ WS.CO═ i≤ t∩ alte≥ thσ printe≥ drive≥ t∩ ì
  391. jum≡ t∩ ou≥ sub-routinσ rathe≥ thaε simpl∙ senΣ eacΦ characte≥ ì
  392. directl∙ t∩ thσ primar∙ lis⌠ device«  Wσ d∩ thi≤ b∙ overwritinτ thσ ì
  393. assembl∙ languagσ startinτ a⌠ thσ addres≤ correspondinτ t∩ you≥ ì
  394. versioε oµ WS.COM.
  395.  
  396. Version 2.26             Version 3.0              Version 3.30
  397.  
  398. -a71d                    -a71d                    -a71c              
  399. 071D  call     2de       071D  call     2de       071C  call     2bb 
  400. 0720  jmp      723       0720  jmp      723       071f  jmp      722 
  401. 0723  <RETURN>           0723  <RETURN>           0722  <RETURN>     
  402. -                        -                        -                  
  403. To close out, type:
  404.  
  405. -G0<RETURN>  or  -^C
  406.  
  407. Then type 
  408.  
  409. A>save XX WS.COM         (Wherσ X╪ i≤ 63 fo≥ versioε 2.26¼ 62 fo≥ ì
  410. ááááááááááááááááááááááááá versioε 3.0 anΣ 69 fo≥ versioε 3.30)
  411.  
  412. That'≤ ití  Yo⌡ ma∙ no≈ erasσ ANYCODE.HE╪ anΣ DDT.CO═ froφ thσ disδ ì
  413. containinτ thσ WS.CO═ yo⌡ jus⌠ modified«   (Singlσ densit∙ user'≤ ì
  414. shoulΣ PI╨ WSMSGS.OVR¼ WSOVLY1.OV╥ anΣ MAILMRGE.OV╥ (MRGEPRIN.OVR⌐ ì
  415. bacδ ont∩ thσ disδ containinτ thσ modifieΣ WS.COM.
  416.  
  417. Belo≈ i≤ ß tes⌠ filσ fo≥ EPSO╬ printers«  Iµ yo⌡ havσ ß differen⌠ ì
  418. printe≥ type¼ consul⌠ you≥ user'≤ manua∞ anΣ substitutσ simila≥ ì
  419. workablσ codes.
  420.  
  421. è*******************************************************************
  422.  
  423. `0FCompressed print`12        (All)
  424.  
  425. `0EExpanded print`14            "
  426.  
  427. ~45Emphasized~46                "
  428.  
  429. ~34Italic print mode~35       (MX w/Graftrax ,FX, RX only)
  430.  
  431. ~2D`01Continuous underline~2D`00          "
  432.  
  433. ~53`01Sub~48~54`01script                  "   
  434.  
  435. ~53`00Super~48~54`01script                "
  436.  
  437. *******************************************************************
  438.  
  439. Doug Hurst
  440. Hi-Desert Osborne Group (HOGS)
  441. 6808 Estrella Ave.
  442. 29 Palms, CA 92277  
  443. (619) 367-1090 (evenings)
  444.