home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / uploads / z3help43.lbr / EDZCM.HZP / EDZCM.HLP
Encoding:
Text File  |  1993-06-07  |  11.3 KB  |  235 lines

  1. ;
  2.                                                   
  3.                             ---  E D Z C M  ---          
  4.                                                   
  5.                                 Version 1.0
  6.  
  7.                         A Screen-oriented Editor for
  8.                      NZCOM ZCM System Descriptor Files
  9.  
  10.  
  11.                        I -->  Installation            
  12.                        O -->  Overview                
  13.                        S -->  Syntax                  
  14.                        E -->  Editing               
  15.                        R -->  Recalculation         
  16.                        W -->  Writing to a File     
  17.                        A -->  Ampro Systems          
  18.                        M -->  MKZCM Standard System 
  19. :I                       
  20. Installation
  21.  
  22. EDZC═ run≤ unde≥ ZPCR│ anΣ require≤ aε extendeΣ VLIB4D½ Z3CAP«  Thσ ì
  23. distributioε versioε oµ EDZC═ i≤ supplieΣ witΦ ß Z3EN╓ addres≤ oµ 0000H¼ ì
  24. read∙ fo≥ usσ iε ZCPR33½ environments«  ZCPR3░ user≤ shoulΣ instal∞ EDZC═ ì
  25. usinτ thei≥ regula≥ installatioε methods«  
  26. :O
  27. Overviewì
  28.  
  29. EDZC═ i≤ ß screen-orienteΣ NZCO═ ZC═ systeφ descripto≥ filσ editor«  I⌠ i≤ ì
  30. morσ flexiblσ thaε MKZC═ and¼ withiε ß fe≈ limitations¼ allow≤ yo⌡ t∩ placσ ì
  31. you≥ systeφ element≤ whereve≥ yo⌡ wan⌠ them¼ eveε iε above-CBIO╙ location≤ ì
  32. sucΦ a≤ standarΣ AMPR╧ ZCPR│ buffe≥ locations«  NZCO═ systeφ element≤ arσ ì
  33. displayeΣ iε sorteΣ orde≥ baseΣ oε address¼ witΦ thσ highes⌠ addresse≤ ì
  34. appearinτ first.  Thσ effectivσ system TP┴ i≤ als∩ displayed.
  35.  
  36. EDZC═ caε producσ ß ZC═ filσ froφ aε editeΣ ZC═ filσ o≥ directl∙ froφ thσ ì
  37. extendeΣ environment«  I⌠ caε producσ ß systeφ tha⌠ exactl∙ reflect≤ you≥ ì
  38. specificatioε oµ systeφ elemen⌠ location≤ anΣ sizes¼ allowinτ yo⌡ t∩ creatσ ì
  39. ß systeφ witΦ non-standarΣ gap≤ fo≥ variou≤ purposes«  Whilσ mos⌠ NZCO═ ì
  40. user≤ wil∞ bσ quitσ happ∙ usinτ MKZCM¼ EDZC═ provide≤ ß morσ flexiblσ ì
  41. systeφ editinτ too∞ fo≥ thosσ user≤ witΦ specia∞ system≤ o≥ requirements.
  42.  
  43. Iε thσ basiπ editinτ mode¼ thσ EDZC═ displa∙ wil∞ reflec⌠ thσ exac⌠ elemen⌠ ì
  44. addresse≤ anΣ size≤ tha⌠ arσ specified«  I⌠ doe≤ n∩ checkinτ t∩ makσ surσ ì
  45. element≤ don'⌠ overla≡ o≥ arσ correctl∙ sized«  Oε exi⌠ froφ thσ edi⌠ mode¼ ì
  46. i⌠ wil∞ resor⌠ thσ systeφ element≤ baseΣ oε thσ currentl∙ specifieΣ ì
  47. addresse≤ anΣ redispla∙ theφ iε sorteΣ order« 
  48.  
  49. EDZC═ als∩ ha≤ ß powerfu∞ 'Recalculationº commanΣ tha⌠ ma∙ bσ useΣ t∩ ì
  50. recalculatσ thσ systeφ elemen⌠ addresse≤ beginninτ witΦ thσ star⌠ oµ thσ ì
  51. CBIO╙ anΣ workinτ down«  Element≤ locateΣ abovσ thσ CBIO╙ wil∞ no⌠ bσ ì
  52. affected║  EDZC═ assume≤ tha⌠ yo⌡ alread∙ kno≈ wha⌠ you'rσ doinτ wheε yo⌡ ì
  53. placσ element≤ abovσ thσ CBIOS«  Seσ thσ sectioε oε 'Recalculationº fo≥ ì
  54. morσ information.
  55.  
  56. EDZC═ caε savσ thσ currentl∙ displayeΣ systeφ configuratioε a≤ ß 'ZCMº ì
  57. file«  Thσ inpu⌠ filenamσ i≤ thσ defaul⌠ outpu⌠ filename¼ bu⌠ yo⌡ wil∞ bσ ì
  58. askeΣ iµ yo⌡ wisΦ t∩ specif∙ anothe≥ filenamσ beforσ thσ filσ i≤ written«  ì
  59. Thσ outpu⌠ filσ wil∞ automaticall∙ overwritσ an∙ existinτ filσ oµ thσ samσ ì
  60. name«  Unlikσ MKZCM¼ EDZC═ does not produce an '.ENVº file.
  61. :R
  62. Recalculation
  63.  
  64. EDZC═ allow≤ yo⌡ t∩ recalculatσ thσ elemen⌠ addresse≤ oµ thσ currentl∙ ì
  65. displayeΣ system¼ beginning witΦ thσ CBIO╙ anΣ workinτ down«  EDZC═ ì
  66. calculate≤ thσ startinτ addres≤ oµ eacΦ systeφ elemen⌠ baseΣ oε it≤ sizσ ì
  67. anΣ oε thσ starting addres≤ oµ thσ elemen⌠ locateΣ jus⌠ abovσ it«  
  68.  
  69. Wheε recalculatinτ ß system¼ EDZC═ fixe≤ severa∞ parameters«  Thσ star⌠ oµ ì
  70. thσ Use≥ Memor∙ Areß i≤ fixeΣ t∩ jus⌠ belo≈ thσ CBIOS«  Thσ locatioε oµ thσ ì
  71. DO╙ i≤ fixeΣ t∩ jus⌠ belo≈ thσ NZCO═ BIO╙ anΣ thσ locatioε oµ thσ CC╨ i≤ ì
  72. fixeΣ t∩ jus⌠ belo≈ thσ DOS«  Whilσ thσ addresse≤ oµ thesσ element≤ arσ ì
  73. displayed¼ yo⌡ can'⌠ directl∙ edi⌠ them« 
  74.  
  75. Thσ sizσ oµ thσ NZCO═ BIO╙ i≤ adjusted¼ iµ required¼ t∩ kee≡ it≤ startinτ ì
  76. addres≤ anΣ thosσ oµ thσ DO╙ anΣ CC╨ oε pagσ boundarie≤ (xx00H)«  Thi≤ caε ì
  77. causσ thσ NZCO═ BIO╙ sizσ t∩ gro≈ iε somσ case≤ iµ yo⌡ arσ addinτ anΣ ì
  78. removinτ element≤ witΦ size≤ tha⌠ arσ aε odΣ numbe≥ oµ records«  I⌠ pay≤ t∩ ì
  79. alway≤ checδ thσ sizσ oµ thσ NZCO═ BIO╙ afte≥ recalculatioε t∩ makσ surσ i⌠ ì
  80. i≤ stil∞ thσ sizσ yo⌡ wisΦ (usuall∙ ▓ records⌐ o≥ n∩ morσ thaε onσ recorΣ ì
  81. greater«  If it's grown, redi⌠ thσ sizσ anΣ recalculatσ thσ system.
  82.  
  83. Recalculatioε make≤ i⌠ eas∙ fo≥ yo⌡ t∩ usσ thσ edi⌠ modσ t∩ forcσ ß desireΣ ì
  84. systeφ elemen⌠ orde≥ withou⌠ usinτ ß calculator«  Ente≥ 'dummyº elemen⌠ ì
  85. addresse≤ that¼ fo≥ example¼ fi⌠ aε elemen⌠ betweeε tw∩ othe≥ elements«  ì
  86. Thesσ dumm∙ addresse≤ ma∙ diffe≥ froφ eacΦ othe≥ b∙ an∙ convienien⌠ numbe≥ ì
  87. oµ bytes¼ eveε one«  Thσ purposσ i≤ jus⌠ t∩ pu⌠ theφ iε thσ prope≥ orde≥ ì
  88. rather than set actual starting addresses.
  89.  
  90. Oε returε t∩ thσ maiε menu¼ thσ systeφ element≤ wil∞ bσ displayeΣ iε thσ ì
  91. ne≈ order«  Wheε yo⌡ havσ thσ element≤ iε thσ desireΣ order¼ thσ actua∞ ì
  92. systeφ elemen⌠ addresse≤ ma∙ bσ obtaineΣ usinτ thσ Recalculatioε command.
  93. :W
  94. Writing to a File
  95.  
  96. Thσ 'Wº commanΣ allow≤ yo⌡ t∩ writσ ß ZC═ filσ froφ thσ displayeΣ systeφ ì
  97. data«  Thσ defaul⌠ outpu⌠ filenamσ i≤ thσ inpu⌠ filenamσ oε thσ inpu⌠ ì
  98. filenamσ director∙ or¼ wheε displayinτ thσ environment¼ Z3ENV.ZCM«  EDZC═ ì
  99. ask≤ yo⌡ t∩ specif∙ aε outpu⌠ filenamσ anΣ display≤ thσ curren⌠ defaul⌠ ì
  100. filename¼ whicΦ yo⌡ caε selec⌠ b∙ enterinτ RETURN«  Otherwisσ yo⌡ caε ì
  101. selec⌠ ß ne≈ dir:filename«  N∩ wildcard≤ arσ permitteΣ iε outpu⌠ filenamσ ì
  102. specifications«  
  103.  
  104. Wheε writinτ aε outpu⌠ file¼ EDZC═ automaticall∙ overwrite≤ an∙ existinτ ì
  105. file of the same name.
  106.  
  107. Unlike MKZCM, EDZCM does not produce an '.ENV' file.
  108. :S
  109. Syntaxì
  110.  
  111. The command line synta° is:
  112.  
  113.      EDZCM [[dir:]zcmfile[.ZCM]]
  114.  
  115. Yo⌡ ma∙ specif∙ aε inpu⌠ filenamσ iµ desired«  Iµ n∩ filetypσ i≤ specified¼ ì
  116. '.ZCMº i≤ assumed«  Wildcard≤ arσ permitted«  EDZC═ wil∞ displa∙ thσ firs⌠ ì
  117. filσ founΣ tha⌠ matche≤ thσ wildcarΣ filename«  Iµ n∩ inpu⌠ filσ i≤ ì
  118. specified¼ EDZC═ wil∞ displa∙ thσ curren⌠ systeφ configuratioε datß ì
  119. containeΣ iε thσ ZCPR│ environment.
  120.  
  121. EDZC═ doe≤ ß simplσ checδ oµ thσ inpu⌠ filσ content≤ t∩ tr∙ t∩ avoiΣ ì
  122. problem≤ wheε thσ wronτ typσ oµ filσ i≤ accidentall∙ loaded«  Iµ i⌠ doe≤ ì
  123. no⌠ finΣ thσ strinτ 'CBIOSº startinτ a⌠ bytσ ╡ iε thσ inpu⌠ file¼ i⌠ wil∞ ì
  124. abor⌠ witΦ ß 'Filσ Errorº message.
  125. :E
  126. Editing
  127.  
  128. EDZC═ use≤ thσ WordSta≥ diamonΣ curso≥ movemen⌠ command≤ or thσ ZCPR│ ì
  129. arro≈ ke∙ character≤ t∩ contro∞ curso≥ movement«  Thσ curso≥ movemen⌠ ì
  130. command≤ are:
  131.  
  132.                                     ^E
  133.                                 ^A ^S ^D ^F
  134.                                     ^X
  135.  
  136.      ^E     - Move up one element
  137. è     ^A     - Move left one field (if at left field, move up one element)
  138.      ^S     - Move left one character
  139.      ^D     - Move right one character
  140.      ^F/RET - Move right one field (if at right field, move down one element)
  141.      ^X     - Move down one element
  142.  
  143.      ^T/^Y  - Erase from cursor to end of field with space fill
  144.  
  145. EDZC═ allow≤ yo⌡ t∩ edi⌠ al∞ field≤ tha⌠ arσ displayeΣ iε standou⌠ video«  ì
  146. Sincσ thσ Use≥ Memor∙ Area¼ fo≥ example¼ i≤ fixeΣ iε relativσ locatioε t∩ ì
  147. jus⌠ belo≈ thσ star⌠ oµ thσ CBIOS¼ i⌠ i≤ displayeΣ iε norma∞ vide∩ anΣ it≤ ì
  148. actua∞ addres≤ i≤ calculateΣ b∙ EDZC═ wheε thσ Recalculatioε commanΣ i≤ ì
  149. executed«  Thσ DO╙ anΣ CC╨ addresse≤ arσ als∩ calculateΣ b∙ EDZC═ t∩ ì
  150. enforcσ thei≥ relationshi≡ witΦ thσ NZBIO╙ anΣ witΦ eacΦ other«  
  151.  
  152. Whilσ thσ CBIO╙ sizσ i≤ no⌠ ß par⌠ oµ thσ ZC═ file¼ fo≥ informationa∞ ì
  153. purpose≤ EDZC═ calculate≤ aε assumeΣ CBIO╙ sizσ baseΣ oε thσ locatioε oµ ì
  154. thσ CBIO╙ iε thσ systeφ anΣ display≤ i⌠ iε norma∞ video.
  155.  
  156. Address Editing
  157.  
  158. Al∞ address field≤ arσ editeΣ iε hex«  ┴ ^╘ o≥ ^┘ entereΣ a⌠ thσ firs⌠ ì
  159. character of a field will clear the field to spaces.  
  160.  
  161. Wheε makinτ extensivσ changes¼ yo⌡ ma∙ finΣ i⌠ easie≥ t∩ makσ onl∙ ß fe≈ ì
  162. change≤ a⌠ ß time¼ exi⌠ thσ edi⌠ modσ t∩ redispla∙ thσ newl∙ sorteΣ system¼ ì
  163. vie≈ thσ results¼ anΣ returε t∩ thσ edi⌠ modσ t∩ makσ an∙ morσ desireΣ ì
  164. changes.
  165. Size Editing
  166.  
  167. Al∞ sizσ field≤ arσ editeΣ iε decimal«  EDZC═ consider≤ ß spacσ t∩ bσ aε ì
  168. acceptablσ decima∞ leadinτ o≥ terminatinτ character«  Sizσ unit≤ arσ ì
  169. displayeΣ afte≥ thσ sizσ fields¼ anΣ thσ actua∞ tota∞ he° elemen⌠ sizσ i≤ ì
  170. displayeΣ iε thσ righ⌠ hanΣ fielΣ fo≥ reference«  ┴ ^╘ o≥ ^┘ entereΣ a⌠ an∙ ì
  171. characte≥ iε ß fielΣ wil∞ clea≥ thσ res⌠ oµ thσ fielΣ t∩ spaces«  
  172.  
  173. Exiting the Edit Mode
  174.  
  175. Yo⌡ ma∙ exi⌠ thσ edi⌠ modσ anΣ returε t∩ thσ maiε men⌡ usinτ thσ command≤ ì
  176. ^╫ anΣ ES├ o≥ b∙ movinτ thσ curso≥ pas⌠ thσ to≡ o≥ bottoφ oµ thσ display«  ì
  177. Al∞ change≤ wil∞ bσ saved¼ thσ element≤ wil∞ bσ resorteΣ iε editeΣ addres≤ ì
  178. orde≥ anΣ thσ screeε displa∙ wil∞ bσ refreshed«  
  179.  
  180. Yo⌡ ma∙ exi⌠ froφ thσ edi⌠ modσ directl∙ t∩ thσ operatinτ systeφ usinτ thσ ì
  181. command ^Q.  The edited system will not be saved.
  182.  
  183. Wheε yo⌡ exi⌠ thσ edi⌠ mode¼ EDZC═ wil∞ accep⌠ withou⌠ questioε al∞ you≥ ì
  184. editeΣ addresses«  I⌠ wil∞ resor⌠ thσ systeφ element≤ b∙ addres≤ anΣ ì
  185. redispla∙ them«  Whilσ thσ ne≈ elemen⌠ orde≥ wil∞ bσ correc⌠ a≤ displayed¼ ì
  186. n∩ recalculatioε wil∞ automaticall∙ bσ performeΣ oε exi⌠ froφ thσ edi⌠ ì
  187. mode«  Thi≤ allow≤ yo⌡ t∩ creatσ non-standarΣ gap≤ betweeε systeφ element≤ ì
  188. iµ yo⌡ wish«  I⌠ als∩  allow≤ yo⌡ t∩ ente≥ simplσ 'dummyº addresse≤ t∩ ì
  189. forcσ thσ element≤ int∩ thσ prope≥ orde≥ prio≥ t∩ usinτ thσ 'Rº commanΣ t∩ ì
  190. calculatσ thσ actua∞ addresses«  Seσ thσ sectioε oε 'Recalculationº fo≥ ì
  191. morσ information.
  192. :A
  193. Ampro Systems
  194.  
  195. Unles≤ you≥ Ampr∩ basσ systeφ need≤ t∩ havσ ever∙ bi⌠ oµ TP┴ space¼ wh∙ usσ ì
  196. ß CP/═ basσ systeφ anΣ givσ u≡ al∞ thosσ wonderfu∞ ZCPR│ amenitie≤ you'vσ ì
  197. comσ t∩ lovσ anΣ expect┐  Yo⌡ caε no≈ usσ EDZC═ t∩ creatσ aε NZCO═ systeφ ì
  198. tha⌠ use≤ thσ standarΣ Ampr∩ ZCPR│ buffer≤ alread∙ locateΣ abovσ thσ Ampr∩ ì
  199. CBIOS«  Thi≤ allow≤ yo⌡ t∩ usσ ß standarΣ Ampr∩ ZCPR│ systeφ a≤ you≥ basσ ì
  200. systeφ withou⌠ reducinτ you≥ TP┴ b∙ thσ 300╚ byte≤ oµ existinτ above-CBIO╙ ì
  201. ZCPR│ buffe≥ space«  ì
  202.  
  203. Thσ samplσ file¼ AMPRO.ZCM¼ i≤ aε examplσ oµ aε actua∞ Ampro NZCO═ systeφ ì
  204. tha⌠ ha≤ thσ prope≥ above-CBIO╙ Ampr∩ ZCPR│ buffe≥ location≤ anΣ sizes«  ì
  205. Notσ tha⌠ thσ Whee∞ bytσ anΣ thσ PatΦ havσ beeε relocateΣ froφ pagσ ░ t∩ ì
  206. addresse≤ iε thσ above-CBIO╙ ZCPR│ buffer≤ tha⌠ havσ alway≤ beeε reserveΣ ì
  207. fo≥ them«  
  208.  
  209. Edi⌠ thσ CBIO╙ address¼ iµ necessary¼ t∩ tha⌠ oµ you≥ owε Ampr∩ system«  Iµ ì
  210. yo⌡ reducσ thσ CBIO╙ address¼ makσ surσ yo⌡ als∩ reducσ thσ addresse≤ oµ ì
  211. everythinτ belo≈ thσ CBIO╙ b∙ thσ samσ amoun⌠ s∩ thing≤ don'⌠ ge⌠ ou⌠ oµ ì
  212. order«  Edi⌠ thσ desireΣ NZCO═ elemen⌠ addresse≤ and/o≥ size≤ t∩ creatσ ß ì
  213. ne≈ Ampr∩ NZCO═ ZC═ systeφ file.
  214. :M
  215. MKZCM Standard System
  216.  
  217. MKZC═ create≤ system≤ witΦ the following standard fixeΣ order:ì
  218.  
  219.           Custom BIOS                   CBIOS
  220.           User Memory Area              UMA
  221.           External Stack                EXTSTK
  222.           Multiple Command Line         Z3CL
  223.           Wheel Byte                    Z3WHL
  224.           External Path                 EXPATH
  225.           External FCB                  EXTFCB
  226.           Message Buffer                Z3MSG
  227.           Environment Descriptor        Z3ENV
  228.           Shell Stack                   SHSTK
  229.           Named Directory               Z3NDIR
  230.           Flow Control Package          FCP
  231.           Resident Command Package      RCP
  232.           Input/Output Package          IOP
  233.           NZCOM BIOS                    BIO
  234.           Disk Operating System         DOS
  235.           Command Processor             CCP
  236.