home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ZSYS / SIMTEL20 / ZCPR3 / Z3RES.HLP < prev    next >
Text File  |  2000-06-30  |  8KB  |  220 lines

  1. ZCPR3 Resident Commands
  2. DIR       Directory Display
  3. ERA       Erase Files
  4. GET       Load File into Memory
  5. GO        Re-execute Last Transient
  6. JUMP      Branch to Memory Address
  7. NOTE      Comment
  8. REN       Rename File
  9. SAVE      Write Memory Image to Disk
  10. TYPE and LIST Commands
  11. The DU and DIR Forms for Changing Disk and User
  12. :ZCPR3 Resident Commands
  13.  
  14.      Likσá thσ CP/═ 2.▓ CCP¼á ZCPR│ contain≤á somσá command≤ ì
  15. withiε itself«á  I⌠ contain≤ al∞ oµ thσ CC╨ command≤ (excep⌠ ì
  16. USER¼ whicΦ isn'⌠ needeΣ anymore⌐ anΣ ß fe≈ more¼ bu⌠ al∞ oµ ì
  17. thσá ZCPR│á residen⌠á command≤ arσá differen⌠á witΦá logica∞ ì
  18. extension≤ t∩ thσ CC╨ commands.
  19.  
  20.      Thσá followinτá discussioεá applie≤ t∩ thσ al∞á oµá thσ ì
  21. command≤á iε thσ ZCPR│ CommanΣ Processo≥á Replacement«á  Thσ ì
  22. particula≥á selectioε oµ command≤ availablσ a⌠ an∙ onσá timσ ì
  23. i≤á installation-dependent«á  Thσ recommendeΣá configuratioε ì
  24. wherσá al∞ oµ thσ residen⌠ command≤ arσ enableΣ witΦ al∞á oµ ì
  25. thei≥ option≤ turneΣ oε i≤ covereΣ here.
  26.  
  27.      Iε thσ followinτ discussion¼á "afnó refer≤ t∩ thσá CP/═ ì
  28. ambiguou≤áá filσá namσá forφá (containinτá "?óá and/o≥áá "*ó ì
  29. characters⌐á anΣá "ufnó refer≤ t∩ thσ CP/═ unambiguou≤á filσ ì
  30. namσ forφ (doe≤ no⌠ contaiε thσ ambiguou≤ characters).
  31.  
  32.  
  33.      Thσ DU║á o≥ DIR║á prefixe≤ ma∙ bσ useΣ wheneve≥ ßá filσ ì
  34. namσá i≤á used«á  B∙á attachinτ thi≤á prefix¼á thσá filσá i≤ ì
  35. identifieΣá t∩á residσ iε thσ indicateΣ director∙ (disδá anΣ ì
  36. use≥á area)«á  T∩á revie≈ thσ DU║á form¼á i⌠á i≤á ßá logica∞ ì
  37. extensioεá t∩ thσ D║á prefi° unde≥ conventiona∞á CP/M«á  Thσ ì
  38. use≥ numbe≥ i≤ added¼ however«  Thσ DIR║ forφ i≤ ß mnemonic¼ ì
  39. likσ PASCAL¼á whicΦ i≤ relateΣ t∩ ß disδ anΣ use≥ areß b∙ aε ì
  40. associatioε iε thσ NameΣ Directory.
  41.  
  42.      Iµá ß prefi° oµ D║á i≤ used¼á i⌠ refer≤ t∩ thσá curren⌠ ì
  43. use≥ areß oε thσ indicateΣ disk«  Iµ ß prefi° oµ U║ i≤ used¼ ì
  44. i⌠á refer≤á t∩ thσ indicateΣ use≥ areß oε thσ curren⌠á disk«  ì
  45. DU:¼á oµá course¼á refer≤ t∩ thσ indicateΣ use≥ areß oεá thσ ì
  46. indicateΣ disk.
  47.  
  48.  
  49.      Fo≥ example¼ iµ thσ use≥ i≤ loggeΣ int∩ Disδ B¼ Use≥ 1¼ ì
  50. theε thσ followinτ i≤ true:
  51.  
  52.    A:MYFILE.TX╘  -- refer≤ t∩ MYFILE.TX╘ oε Disδ A¼ Use≥ 1
  53.    4:MYFILE.TXT  -- refers to MYFILE.TXT on Disk B, User 4
  54.   A4:MYFILE.TXT  -- refers to MYFILE.TXT on Disk A, User 4
  55.      MYFILE.TXT  -- refers to MYFILE.TXT on Disk B, User 1
  56.  
  57. :The DIR Command
  58.  
  59.      Thσá DI╥á commanΣ i≤ useΣ t∩ displa∙ thσ name≤á oµá thσ ì
  60. file≤ iε thσ curren⌠ directory«  I⌠ ha≤ threσ basiπ form≤ --
  61.  
  62.           Display $DIR File Names       DIR DU:afn
  63.           Display $SYS File Names       DIR DU:afn S
  64.           Display All File Names        DIR DU:afn A
  65.  
  66.      Assumσá thσá use≥á i≤á loggeΣá int∩á Disδá B¼á Use≥á 1«  ì
  67. Examples:
  68.  
  69.           DIR 4:              <-- Gives all non-System files
  70.                                    on B4
  71.           DIR 4: A            <-- Gives all files on B4
  72.           DIR A4:*.HLP A      <-- Gives all files of type
  73.                                    HLP on A4
  74.           DIR *.* S           <-- Gives all System files on B1
  75.  
  76. :The ERA Command
  77.  
  78.      Thσ ER┴ commanΣ i≤ useΣ t∩ erasσ files«  I⌠ i≤ no⌠ ablσ ì
  79. t∩ erasσ Read/Onl∙ files¼ bu⌠ i⌠ caε erasσ Systeφ files«  I⌠ ì
  80. ha≤ tw∩ basiπ form≤ --
  81.  
  82.           Erase Specified Files         ERA DU:afn
  83.           Erase with Verify             ERA DU:afn V
  84.  
  85.      ER┴á print≤ thσ name≤ oµ thσ file≤ i⌠ erases«á  Iµá yo⌡ ì
  86. havσ selecteΣ thσ Verif∙ option¼á i⌠ als∩ prompt≤ yo⌡ beforσ ì
  87. i⌠ erase≤ theφ (o≥ aborts¼ iµ yo⌡ desire).
  88.  
  89. :The GET Command
  90.  
  91.      GE╘á i≤ useΣ t∩ loaΣ ß filσ anywherσ int∩á memory«á  I⌠ ì
  92. require≤áá tw∩áá arguments║áá  ßá numbe≥á (assumeΣáá t∩áá bσ ì
  93. hexadecimal⌐á oµá thσ 256-bytσ pagσ iε memor∙á a⌠á whicΦá t∩ ì
  94. star⌠ thσ loaΣ anΣ thσ namσ oµ thσ file.
  95.  
  96.           Load File Into Memory         GET adr DU:ufn
  97.  
  98.      Notσ tha⌠ thi≤ "adró i≤ ß pagσ number¼á s∩ adr=▒ refer≤ ì
  99. t∩ 100H¼ adr=2Σ refer≤ t∩ 2D00H¼ etc.
  100.  
  101. :The GO Command
  102. è     Thσá G╧á commanΣ i≤ useΣ t∩ reexecutσ thσ las⌠á prograφ ì
  103. loadeΣ int∩ thσ TP┴ withou⌠ havinτ t∩ reloaΣ it.
  104.  
  105.           Reexecute Last Transient      GO params
  106.             Without Reloading It
  107.  
  108.      Thσá parameter≤á arσá parseΣá a≤á witΦá an∙áá transien⌠ ì
  109. command¼á anΣá thσ appropriatσ buffer≤ arσ loadeΣ b∙á ZCPR3«  ì
  110. A≤ usual¼á ZCPR│ "callsó thσ prograφ loadeΣ a⌠ 100╚ afte≥ i⌠ ì
  111. ha≤ finisheΣ witΦ thσ parsinτ anΣ buffe≥ loading.
  112.  
  113. :The JUMP Command
  114.  
  115.      JUM╨ i≤ useΣ t∩ brancΦ t∩ anywherσ iε memory«  I⌠ take≤ ì
  116. onl∙á onσ argument¼á whicΦ i≤ thσ addres≤ a⌠ whicΦ t∩á jump«  ì
  117. Thi≤á addres≤ caε bσ t∩ an∙ bytσ iε memor∙ (i⌠ i≤ ß ful∞ 16-ì
  118. bi⌠ address)¼ anΣ i⌠ i≤ assumeΣ t∩ bσ ß hexadecima∞ number.
  119.  
  120.           Call Subroutine Anywhere in   JUMP adr
  121.             Memory
  122.  
  123. :The NOTE Command
  124.  
  125.      NOT┼á i≤ useΣ t∩ expres≤ comments«á  ┴á linσá beginninτ ì
  126. witΦ ß semicoloε (;⌐ i≤ ß comment¼á anΣ ß commanΣ whosσ verΓ ì
  127. i≤á NOT┼ (therσ ma∙ bσ man∙ command≤ oε onσ line¼á separateΣ ì
  128. by semicolons) is a comment.
  129.  
  130.           Comment        NOTE anytext
  131.  
  132. :The REN Command
  133.  
  134.      Thσ RE╬ commanΣ i≤ useΣ t∩ changσ thσ namσ oµ onσá filσ ì
  135. t∩á another«á  Again¼á i⌠á caεá no⌠á changσ thσá namσá oµá ß ì
  136. Read/Onl∙ file«  I⌠ ha≤ onl∙ onσ basiπ forφ --
  137.  
  138.           Renamσ Filσ                   RE╬ DU:ufn1=ufn▓
  139.  
  140.      Likσá ERA¼á RE╬ caε "seeó Systeφ file≤ a≤ wel∞á a≤á DI╥ ì
  141. files.
  142.  
  143.      Iµá ufn▒á alread∙ exists¼á RE╬ wil∞ asδ thσ use≥ iµá hσ ì
  144. want≤ t∩ Erasσ i⌠ (witΦ thσ promp⌠ "Erasσ ufn1?").
  145.  
  146. :The SAVE Command
  147.  
  148.      Thσá SAV┼ commanΣ i≤ useΣ t∩ savσ thσ content≤á oµá thσ ì
  149. TP┴á ont∩á disδ a≤ ß file«á  I⌠ accept≤á tw∩á arguments║á  ß ì
  150. numbe≥á anΣá ß filσ name«á  Thσ filσ namσ ma∙ bσá optionall∙ ì
  151. followeΣá b∙ thσ lette≥ "Só t∩ indicatσ tha⌠ thσá numbe≥á i≤ ì
  152. thσ numbe≥ oµ 128-bytσ Sector≤ (Blocks⌐ t∩ bσ saved¼ and¼ iµ ì
  153. thi≤á optioε lette≥ i≤ omitted¼á thσ numbe≥ i≤ assumeΣ t∩ bσ ì
  154. thσ numbe≥ oµ 256-bytσ Page≤ t∩ bσ saved«á  Thσ SAV┼ commanΣ ì
  155. ha≤ tw∩ basiπ form≤ --
  156. è          Save Memory into File         SAVE n DU:ufn
  157.           Save Memory into File         SAVE n DU:ufn S
  158.             and Specify Number of
  159.             Blocks
  160.  
  161.      Iµ thσ number¼á n¼ i≤ followeΣ b∙ thσ suffi° "H"¼ a≤ iε ì
  162. "FHóá o≥ "2DH"¼á theε ε i≤ takeε t∩ bσ ß hexadecima∞á value«  ì
  163. Iµá n∩ suffi° i≤ given¼á ε i≤ assumeΣ t∩ bσá decimal«á  Thi≤ ì
  164. hexadecima∞á optioε eliminate≤ thσ neeΣ fo≥ conversioεá froφ ì
  165. thσ value≤ supplieΣ b∙ debuggers¼ likσ DDT.
  166.  
  167.      Iµ thσ indicateΣ filσ alread∙ exists¼ SAV┼ wil∞ asδ thσ ì
  168. use≥ iµ hσ wishe≤ t∩ erasσ i⌠ witΦ thσ promp⌠ "Erasσ ufn?".
  169.  
  170. :The TYPE and LIST Commands
  171.  
  172.      TYP┼ anΣ LIS╘ arσ useΣ t∩ displa∙ file≤ oε thσá consolσ ì
  173. anΣ printer¼á resp«á  TYP┼ page≤ b∙ default¼á stoppinτ afte≥ ì
  174. thσá screeε i≤ filled«á  Thesσ tw∩ command≤ havσ threσ basiπ ì
  175. form≤ --
  176.  
  177.           Print File on Console         TYPE DU:ufn P
  178.             Without Paging
  179.           Print File on Console         TYPE DU:ufn
  180.             With Paging
  181.           Print File on Printer         LIST DU:ufn
  182.  
  183.      The file may be either System or DIR.
  184.  
  185. :The DU and DIR Forms for Changing Disk and User
  186.  
  187.      Thσá D╒á forφá standinτ alonσ i≤ useΣá t∩á loτá int∩á ß ì
  188. differen⌠á directory«á  Therσ arσ threσ basiπ form≤ oµá thi≤ ì
  189. commanΣ --
  190.  
  191.           Change Disk                   D:
  192.           Change User                   U:
  193.           Change Disk and User at       DU:
  194.             Same Time
  195.  
  196.  
  197.      Thσá DI╥á forφ standinτ alonσ ma∙ als∩ bσ useΣá t∩á loτ ì
  198. into a different directory.  The format is:
  199.  
  200.           DIR:
  201. like
  202.           TEXT:
  203.  
  204.      NameΣá directorie≤ havσ password≤ associateΣ witΦ them¼ ì
  205. s∩ iµ an∙ DIR║ director∙ referencσ ha≤ ß non-blanδ password¼ ì
  206. thσ use≥ wil∞ bσ prompteΣ fo≥ thσ password«á  Thσá director∙ ì
  207. referencσá wil∞á bσá rese⌠ t∩ hi≤ curren⌠ director∙á iµá thσ ì
  208. password is invalid.
  209.  
  210.  
  211.      Thσá DU║á forφ ma∙ bσ disableΣ unde≥á ZCPR3¼á anΣá thi≤ ì
  212. leave≤ onl∙ thσ DIR║á form«á  Usinτ thσ DIR║ form¼ director∙ ì
  213. access can be controlled:
  214.  
  215.           1. only disk/user areas named can be referenced
  216.  
  217.           2. password protection is provided
  218.  
  219.  
  220.