home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol202 / anycode.dqc / ANYCODE.DOC
Encoding:
Text File  |  1985-02-10  |  19.3 KB  |  447 lines

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