home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / a / anycode.lbr / ANYCODE.DZC / ANYCODE.DOC
Encoding:
Text File  |  1993-10-26  |  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. è
  165.      MicroPr∩ and/o≥ Osborne¼ iε thei≥ infinitσ wisdom¼ decideΣ t∩ ì
  166. includσ INSTALL.CO═ witΦ WordStar¼ bu⌠ no⌠ t∩ includσ thσ completσ ì
  167. termina∞ anΣ printe≥ patcΦ areas« (Earl∙ Osbornσ ▒ user'≤ diΣ receivσ ì
  168. thi≤ trea⌠ beforσ Osbornσ converteΣ t∩ thσ "improvedó referencσ ì
  169. manuals)« Luckily¼ thσ autho≥ wa≤ ablσ t∩ finΣ ß completσ manua∞ fo≥ ì
  170. WordSta≥ 3.0«  A⌠ an∙ rate¼ therσ i≤ aε areß withiε WordStar¼ labeleΣ ì
  171. MORPAT║ tha⌠ contain≤ 12╢ empt∙ byte≤ anΣ exist≤ fo≥ thσ solσ purposσ ì
  172. oµ use≥ defineΣ sub-routines«  ANYCOD┼ wil∞ bσ installeΣ iε thi≤ ì
  173. MORPAT║ area« (B∙ enlarginτ thσ sizσ oµ WS.COM¼ eveε morσ areß caε bσ ì
  174. madσ availablσ fo≥ use≥ supplieΣ code« Stand-b∙ t∩ usσ somσ oµ i⌠ iε ß ì
  175. late≥ article.⌐  
  176.  
  177.      Wherσ i≤ thσ MORPAT║ area┐  Fo≥ threσ WordSta≥ version≤ 
  178. knowε t∩ havσ ANYCOD┼ successfull∙ installed¼ i⌠ reside≤ a⌠ thσ 
  179. addresse≤ showε below:
  180.  
  181.                         WordSta≥ Version
  182.  
  183.                 2.26           3.0            3.3
  184.  
  185.                 02DEh          02DEh          02BBh
  186.  
  187.  
  188. THE CODE AND ASSEMBLY.
  189.  
  190.      Thσ comment≤ t∩ thσ codσ ma∙ seeφ ß littlσ cryptiπ s∩ thi≤ ì
  191. narrativσ explanatioε i≤ supplieΣ iε advance«  Wσ wil∞ modif∙ onσ oµ ì
  192. WordStar'≤ printe≥ driver≤ t∩ diver⌠ al∞ character≤ t∩ bσ sen⌠ t∩ thσ ì
  193. CP/═ Primar∙ Lis⌠ Devicσ t∩ ou≥ ANYCOD┼ subroutine«  EacΦ characte≥ i≤ ì
  194. firs⌠ checkeΣ t∩ seσ iµ i⌠ i≤ aε ANYCOD┼ lead-iε character«  Iµ i⌠ is¼ ì
  195. i⌠ i≤ stored¼ ß flaτ i≤ se⌠ anΣ thσ nex⌠ characte≥ i≤ read« Iµ thi≤ ì
  196. characte≥ wasn'⌠ ß lead-iε character¼ i⌠ i≤ checkeΣ t∩ seσ iµ i⌠ i≤ ì
  197. thσ firs⌠ o≥ seconΣ characte≥ followinτ ß lead-iε character«  Iµ i⌠ ì
  198. wasn't¼ i⌠ i≤ sen⌠ ou⌠ t∩ thσ primar∙ lis⌠ devicσ normally«  Iµ thσ ì
  199. leaΣ characte≥ i≤ beinτ storeΣ anΣ thσ flaτ i≤ set¼ i⌠ mean≤ thσ ì
  200. curren⌠ characte≥ i≤ thσ firs⌠ characte≥ followinτ thσ leaΣ character«  ì
  201. Thσ flaτ i≤ lowered¼ anΣ thσ characte≥ processeΣ t∩ becomσ halµ oµ thσ ì
  202. tota∞ follow-oε code«  Theε thσ las⌠ characte≥ i≤ read«  I⌠ to∩ i≤ ì
  203. checkeΣ t∩ seσ iµ i⌠ i≤ ß lead-iε characte≥ o≥ i≤ thσ firs⌠ o≥ seconΣ ì
  204. follow-oε character«  Iµ i⌠ i≤ thσ seconΣ follow-oε character¼ i⌠ i≤ ì
  205. addeΣ t∩ thσ firs⌠ follow-oε character¼ anΣ thσ resul⌠ sen⌠ t∩ thσ ì
  206. lis⌠ devicσ (printer)«  Iµ yo⌡ didn'⌠ understanΣ mos⌠ oµ tha⌠ don'⌠ ì
  207. worr∙ abou⌠ it«  Understandinτ i≤ no⌠ ß requiremen⌠ fo≥ ANYCOD┼ t∩ ì
  208. work«  Herσ i≤ thσ code«  Bσ surσ t∩ usσ thσ "Nó non-documen⌠ modσ iµ ì
  209. yo⌡ usσ WordStar.
  210.  
  211. ; ANYCODE.ASM - A program to allow printer codes to be 
  212. ;            transmitted to EPSON or other dot matrix 
  213. ;            printer from within WordStar text.
  214. ;
  215. ;            Author:  D. M. Hurst
  216. ;            Date:    April 23, 1984
  217. ;
  218.     ORG    XXXXh    ;Where XXXX is 02DEh for WS 2.26/3.0
  219. è                        ;and 02BBh for WS 3.3
  220. mysub:    cpi    '`'    ;is it a code character?
  221.                         ;you may substitute another 
  222.                         ;character if you use the
  223.                         ;" ` " often in your text  
  224.     jnz    ncheck    ;no, so next check
  225.     sta    lead    ;yes, so store temporarily
  226.     mvi    a,1    ;get a 1 in accumulator
  227.     sta    fl    ;set fl flag
  228.     ret        ;get another character
  229.             ;without printing
  230. ncheck: cpi    '~'    ;is it a code character?   
  231.                         ;you may substitute another
  232.                         ;character if you use the  
  233.                         ;" ~ " often in your text  
  234.     jnz    hcheck    ;no, so check if part of
  235.             ;code sequence
  236.     sta    lead    ;yes so store temporarily 
  237.     mvi    a,1    ;get a 1 in accumulator
  238.     sta    fl    ;set fl flag
  239.     mvi    a,1bh    ;~ means escape required so 
  240.     jmp    pout    ;send it.
  241. hcheck: mov    b,a    ;set input char aside
  242.     lda    lead    ;get contents of lead
  243.     cpi    '`'    ;are we in a code seq?
  244.                         ;NOTE: if you changed this code
  245.                         ;above, change it here too. 
  246.     mov    a,b    ;char back in accumulator      
  247.     jz    flchk    ;yes, so check if flag set
  248.     mov    b,a    ;no, so char back to b
  249.     lda    lead    ;check lead again
  250.     cpi    '~'    ;are we in a code seq?
  251.                         ;NOTE: if you changed this code
  252.                         ;above, change it here too.    
  253.                         ;char back in accumulator      
  254.     mov    a,b    ;char back in accumulator
  255.     jz    flchk    ;yes, so check if flag set    
  256.     jmp    pout    ;no, so print char normally
  257. flchk:    mov    b,a    ;set char aside again
  258.     lda    fl    ;get fl flag
  259.     cpi    00h    ;1 if set set
  260.     mov    a,b    ;char back in accumulator
  261.     jz    addsnd    ;not set, so last char in seq
  262.     mov    b,a    ;yes, so set char aside again        
  263.     mvi    a,00h    ;no, so place 00h in accumulator
  264.     sta    fl    ;and lower the flag
  265.     mov    a,b    ;char back in accumulator    
  266.         cpi    39h    ;is code char a letter?
  267.         jm    nolet1  ;no, so never mind 
  268.         sui    07h    ;yes, so make it a number
  269. nolet1:    sui    30h    ;now down it form ASCII
  270.     rlc        ;first char in code so 
  271.     rlc        ;move 4 low bits to high
  272.     rlc
  273.     rlc
  274. è    ani    0f0h    ;0 4 lower bits
  275.     sta    first    ;store it
  276.     ret        ;go get second char code
  277. addsnd:    mov    b,a    ;set 2nd code char aside
  278.     mvi    a,00    ;0 the accumulator
  279.     lxi    h,lead    ;get lead addr pointer in hl
  280.     mov    m,a    ;0 out the lead
  281.     inx    h    ;up the hl
  282.     mov    m,a    ;also 0 the flag
  283.     mov    a,b    ;get char back
  284.     cpi    39h    ;was 2nd code char a letter?
  285.     jm    nolet2    ;so so skip it
  286.     sui    07h    ;yes so make it a number
  287. nolet2:    sui    30h    ;now down either from ASCII
  288.     lxi    h,first    ;point to first code char addr
  289.     mov    b,m    ;move actual char to b
  290.     add    b    ;add a to b (result in a)
  291. pout:    mvi    c,5    ;print full code char
  292.     mov    e,a
  293.     call    5
  294.     ret        ;back for next real char
  295. ;
  296. lead    ds    1    ;space for lead code
  297. fl    ds    1    ;flag space
  298. first    ds    1    ;store first code while
  299.             ;waiting for 2nd to pro-
  300.             ;cess.
  301.     end
  302.  
  303. Havinτ entereΣ ANYCODE.AS═ above¼ i⌠ mus⌠ bσ assembled«  Placσ you≥ ì
  304. CP/═ systeφ disδ iε drivσ ┴ anΣ thσ disδ containinτ ANYCODE.AS═ iε ì
  305. drivσ B«  Ente≥ thσ followinτ commanΣ linσ froφ thσ A╛ prompt:
  306.  
  307. A>ASM ANYCODE.BBB
  308.  
  309. Iµ therσ arσ n∩ errors¼ anothe≥ ste≡ complete«  Thσ autho≥ ha≤ ì
  310. successfull∙ assembleΣ thi≤ codσ exactl∙ a≤ i⌠ appear≤ iε thi≤ ì
  311. article«  Iε fact¼ thσ codσ wa≤ reaΣ int∩ thσ articlσ froφ ANYCODE.AS═ ì
  312. usinτ WordStar'≤ ^K╥ command«  Iµ therσ arσ error≤ iε assembly¼ g∩ ì
  313. bacδ anΣ checδ you≥ typing«  Iµ i⌠ diΣ assemblσ withou⌠ error¼ yo⌡ ì
  314. shoulΣ bσ lef⌠ witΦ ANYCODE.ASM¼ ANYCODE.HE╪ anΣ ANYCODE.PR╬ oε drivσ ì
  315. B«  D∩ no⌠ usσ LOAD.CO═ anΣ attemp⌠ t∩ loaΣ ANYCODE.HE╪ int∩ ß .CO═ ì
  316. file«  Thi≤ i≤ no⌠ necessar∙ anΣ woulΣ servσ n∩ usefu∞ purpose.
  317.  
  318. INSTALLATION:
  319.  
  320.      Very¼ ver∙ simple«  AlthougΦ havinτ al∞ thesσ file≤ presen⌠ isn'⌠ ì
  321. necessary¼ placσ WS.COM¼ WSMSGS.OVR¼ WSOVLY1.OVR¼ MAILMRGE.OV╥ ì
  322. (MRGEPRIN.OVR)¼ DDT.CO═ anΣ ANYCODE.HE╪ oε ß SYSGEN'Σ disδ iε drivσ ┴. ì
  323. (Singlσ densit∙ user'≤ leavσ thσ threσ .OV╥ program≤ ofµ fo≥ no≈ anΣ ì
  324. adΣ theφ afte≥ thσ installatioε oµ ANYCOD┼ anΣ thσ deletioε oµ DDT.CO═ ì
  325. anΣ ANYCODE.HEX⌐ (Remembe≥ ANYCODE.HE╪ wa≤ generateΣ durinτ thσ ì
  326. assembl∙ oµ ANYCODE.ASM)«  Wheε yo⌡ havσ performeΣ thi≤ task¼ ente≥ ì
  327. thσ following:
  328.  
  329. èVersion 2.26             Version 3.0              Version 3.30
  330.  
  331. A>DDT WS.COM<RETURN>     A>DDT WS.COM<RETURN>     A>DDT WS.COM<RETURN>
  332.  
  333. You should see:
  334.  
  335. A>DDT WS.COM             A>DDT WS.COM             A>DDT WS.COM         
  336. DDT Vers 2.2             DDT Vers 2.2             DDT Vers 2.2     
  337. NEXT  PC                 NEXT  PC                 NEXT  PC
  338. 400░ 010░                3F00 0100                4600 0100ì
  339. -                        -                        -
  340.  
  341. Thσ MORPAT║ areß mus⌠ bσ clear« So¼ froφ thσ "-ó promp⌠ typσ thσ ì
  342. following:
  343.  
  344. Version 2.26             Version 3.0              Version 3.30
  345.  
  346. -d2de<RETURN>            -d2de<RETURN>            -d2bb<RETURN>   
  347.  
  348. Yo⌡ shoulΣ seσ somethinτ likσ thσ followinτ provideΣ you≥ WS.CO═ ha≤ ì
  349. no⌠ beeε previousl∙ modifieΣ b∙ anothe≥ add-oε program«  Iµ therσ i≤ ì
  350. anythinτ beside≤ zero≤ iε thi≤ area¼ ABORT!«  You≥ WordSta≥ ha≤ ì
  351. alread∙ beeε modifieΣ b∙ someone«  Continuinτ wil∞ overwritσ thσ codσ ì
  352. iε thi≤ area« 
  353.  
  354. 02BB 00 00 00 00 00 ..... (WS.COM 2.26 and 3.0 will start at 02DE)
  355. 02C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  356. 02D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  357. 02E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  358. 02F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  359. 0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  360. 0310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  361. 0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  362. 0330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  363. 0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  364. 0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  365. 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  366. -
  367.  
  368. Now, from the "-" prompt type the following:
  369.  
  370. -IANYCODE.HEX<RETURN>
  371. -R<RETURN>
  372.  
  373. Now type:
  374.  
  375. -d2bb<RETURN>    (WS.COM 2.26 and 3.0 type -d2de<RETURN>) 
  376.  
  377. Yo⌡ shoulΣ seσ somethinτ likσ this║ (WS.CO═ 2.2╢ anΣ 3.░ wil∞ star⌠ a⌠ ì
  378. -d2de)
  379.  
  380. 02BB FE 60 C2 23 01 .`.#. 
  381. 02C0 32 92 01 3E 01 32 93 01 C9 FE 7E C2 35 01 32 92 2..>.2....~.5.2.
  382. 02D0 01 3E 01 32 93 01 3E 1B C3 8B 01 47 3A 92 01 FE .>.2..>....G:...
  383. 02E░ 6░ 7╕ C┴ 4├ 0▒ 4╖ 3┴ 9▓ 0▒ F┼ 7┼ 7╕ C┴ 4├ 0▒ C│ `x.L.G:...~x.L..
  384. è02F0 8B 01 47 3A 93 01 fE 00 78 CA 70 01 47 3E 00 32 ..G:....x.p.G>.2
  385. 0300 93 01 78 FE 39 FA 64 01 D6 07 D6 30 07 07 07 07 ..X.9.D....0....
  386. 031░ E╢ F░ 3▓ 9┤ 0▒ C╣ 4╖ 3┼ 0░ 2▒ 9▓ 0▒ 7╖ 2│ 7╖ 7╕ ..2...G>.!..w#wx
  387. 0320 FE 39 FA 81 01 D6 07 D6 30 21 94 01 46 80 C3 8B .9......0!..F...
  388. 0330 01 0e 05 5F CD 05 00 C9 00 00 00 00 00 00 00 00 ................
  389. 0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  390. 0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  391. 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  392. -
  393.  
  394. Thσ codσ fo≥ ANYCOD┼ no≈ reside≤ iε thσ MORPAT║ areß previousl∙ ì
  395. occupied by all those 00's.
  396.  
  397. Thσ las⌠ modificatioε insidσ WS.CO═ i≤ t∩ alte≥ thσ printe≥ drive≥ t∩ ì
  398. jum≡ t∩ ou≥ sub-routinσ rathe≥ thaε simpl∙ senΣ eacΦ characte≥ ì
  399. directl∙ t∩ thσ primar∙ lis⌠ device«  Wσ d∩ thi≤ b∙ overwritinτ thσ ì
  400. assembl∙ languagσ startinτ a⌠ thσ addres≤ correspondinτ t∩ you≥ ì
  401. versioε oµ WS.COM.
  402.  
  403. Version 2.26             Version 3.0              Version 3.30
  404.  
  405. -a71d                    -a71d                    -a71c              
  406. 071D  call     2de       071D  call     2de       071C  call     2bb 
  407. 0720  jmp      723       0720  jmp      723       071f  jmp      722 
  408. 0723  <RETURN>           0723  <RETURN>           0722  <RETURN>     
  409. -                        -                        -                  
  410.  
  411.  
  412. To close out, type:
  413.  
  414. -G0<RETURN>  or  -^C
  415.  
  416. Then type 
  417.  
  418. A>save XX WS.COM         (Wherσ X╪ i≤ 63 fo≥ versioε 2.26¼ 62 fo≥ ì
  419. ááááááááááááááááááááááááá versioε 3.0 anΣ 69 fo≥ versioε 3.30)
  420.  
  421. That'≤ ití  Yo⌡ ma∙ no≈ erasσ ANYCODE.HE╪ anΣ DDT.CO═ froφ thσ disδ ì
  422. containinτ thσ WS.CO═ yo⌡ jus⌠ modified«   (Singlσ densit∙ user'≤ ì
  423. shoulΣ PI╨ WSMSGS.OVR¼ WSOVLY1.OV╥ anΣ MAILMRGE.OV╥ (MRGEPRIN.OVR⌐ ì
  424. bacδ ont∩ thσ disδ containinτ thσ modifieΣ WS.COM.
  425.  
  426. Belo≈ i≤ ß tes⌠ filσ fo≥ EPSO╬ printers«  Iµ yo⌡ havσ ß differen⌠ ì
  427. printe≥ type¼ consul⌠ you≥ user'≤ manua∞ anΣ substitutσ simila≥ ì
  428. workablσ codes.
  429.  
  430. *******************************************************************
  431.  
  432. `0FCompressed print`12        (All)
  433.  
  434. `0EExpanded print`14            "
  435.  
  436. ~45Emphasized~46                "
  437.  
  438. ~34Italic print mode~35       (MX w/Graftrax ,FX, RX only)
  439. è
  440. ~2D`01Continuous underline~2D`00          "
  441.  
  442. ~53`01Sub~48~54`01script                  "   
  443.  
  444. ~53`00Super~48~54`01script                "
  445.  
  446. *******************************************************************
  447.  
  448. Doug Hurst
  449. Hi-Desert Osborne Group (HOGS)
  450. 6808 Estrella Ave.
  451. 29 Palms, CA 92277  
  452. (619) 367-1090 (evenings)
  453.