home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol103 / z2res.hlp < prev   
Encoding:
Text File  |  1985-02-10  |  6.6 KB  |  178 lines

  1. ZCPR2 Resident Commands
  2. The DIR Command
  3. The ERA Command
  4. The REN Command
  5. The TYPE and LIST Commands
  6. The SAVE Command
  7. The GET Command
  8. The GO Command
  9. The JUMP Command
  10. The DU Form for Changing Disk and User
  11. :ZCPR2 Resident Commands
  12.  
  13.      Likσ thσ CP/═ 2.▓ CCP¼á ZCPR▓ contain≤ somσ command≤á withiε ì
  14. itself«á  I⌠ contain≤ al∞ oµ thσ CC╨ command≤ (excep⌠ USER¼ whicΦ ì
  15. isn'⌠á needeΣá anymore⌐á anΣ ß fe≈ more¼á bu⌠ al∞á oµá thσá ZCPR▓ ì
  16. residen⌠á command≤á arσ differen⌠ witΦ logica∞ extension≤ t∩á thσ ì
  17. CC╨ commands.
  18.  
  19.      Thσáá followinτá discussioεá applie≤á t∩áá thσáá recommendeΣ ì
  20. configuratioε oµ ZCPR2«á  Therσ arσ man∙ way≤ t∩ configurσ ZCPR2¼ ì
  21. anΣá thi≤ discussioε canno⌠ possibl∙ cove≥ al∞ oµ them¼á s∩ ╔á aφ ì
  22. coverinτá thσ recommendeΣ configuratioε wherσ al∞ oµ thσ residen⌠ ì
  23. command≤ arσ enableΣ witΦ al∞ oµ thei≥ option≤ turneΣ on.
  24.  
  25.      Iεá thσá followinτá discussion¼á "afnó refer≤á t∩á thσá CP/═ ì
  26. ambiguou≤á filσ namσ forφ (containinτ "?ó and/o≥ "*óá characters⌐ ì
  27. anΣ "ufnó refer≤ t∩ thσ CP/═ unambiguou≤ filσ namσ forφ (doe≤ no⌠ ì
  28. contaiε thσ ambiguou≤ characters).
  29.  
  30.  
  31.      Thσ DU║ prefi° ma∙ bσ useΣ wheneve≥ ß filσ namσ i≤ used«  B∙ ì
  32. attachinτá thi≤ prefix¼á thσ filσ i≤ identifieΣ t∩ residσ iεá thσ ì
  33. indicateΣá director∙á (disδ anΣ use≥ area)«á  T∩ revie≈á thσá DU║ ì
  34. form¼áá i⌠á i≤á ßá logica∞á extensioεá t∩á thσá D║á prefi°á unde≥ ì
  35. conventional CP/M.  The user number is added, however.
  36.  
  37.      Iµá ß prefi° oµ D║á i≤ used¼á i⌠ refer≤ t∩ thσ curren⌠á use≥ ì
  38. areß oε thσ indicateΣ disk«  Iµ ß prefi° oµ U║ i≤ used¼ i⌠ refer≤ ì
  39. t∩ thσ indicateΣ use≥ areß oε thσ curren⌠ disk«á  DU:¼ oµ course¼ ì
  40. refers to the indicated user area on the indicated disk.
  41.  
  42.      Fo≥ example¼ iµ yo⌡ arσ loggeΣ int∩ Disδ B¼ Use≥ 1¼ theε thσ ì
  43. following is true:
  44.  
  45.           A:MYFILE.TX╘  -- refer≤ t∩ MYFILE.TX╘ oε Disδ A¼ Use≥ 1
  46.           4:MYFILE.TXT  -- refers to MYFILE.TXT on Disk B, User 4
  47.          A4:MYFILE.TXT  -- refers to MYFILE.TXT on Disk A, User 4
  48.             MYFILE.TXT  -- refers to MYFILE.TXT on Disk B, User 1
  49.  
  50. :The DIR Command
  51.  
  52.      Thσ DI╥ commanΣ i≤ useΣ t∩ displa∙ thσ name≤ oµ thσ file≤ iε ì
  53. the current directory.  It has three basic forms --
  54.  
  55.           Display $DIR File Names       DIR DU:afn
  56.           Display $SYS File Names       DIR DU:afn S
  57.           Display All File Names        DIR DU:afn A
  58.  
  59.      Assume you are logged into Disk B, User 1.  Examples:
  60.  
  61.           DIR 4:              <-- Gives all non-System files
  62.                                    on B4
  63.           DIR 4: A            <-- Gives all files on B4
  64.           DIR A4:*.HLP A      <-- Gives all files of type
  65.                                    HLP on A4
  66.           DIR *.* S           <-- Gives all System files on B1
  67.  
  68. :The ERA Command
  69.  
  70.      Thσá ER┴ commanΣ i≤ useΣ t∩ erasσ files«á  I⌠ i≤ no⌠ ablσ t∩ ì
  71. erasσ Read/Onl∙ files¼ bu⌠ i⌠ caε erasσ Systeφ files«  I⌠ ha≤ tw∩ ì
  72. basic forms --
  73.  
  74.           Erase Specified Files         ERA DU:afn
  75.           Erase with Verify             ERA DU:afn V
  76.  
  77.      ER┴á print≤ thσ name≤ oµ thσ file≤ i⌠ erases«á  Iµ yo⌡á havσ ì
  78. selecteΣ thσ Verif∙ option¼á i⌠ als∩ prompt≤ yo⌡ beforσ i⌠ erase≤ ì
  79. them (or aborts, if you desire).
  80.  
  81. :The REN Command
  82.  
  83.      Thσá RE╬ commanΣ i≤ useΣ t∩ changσ thσ namσ oµ onσá filσá t∩ ì
  84. another«á  Again¼ i⌠ caε no⌠ changσ thσ namσ oµ ß Read/Onl∙ file«  ìèIt has only one basic form --
  85.  
  86.           Renamσ Filσ                   RE╬ DU:ufn1=ufn▓
  87.  
  88.      Like ERA, REN can "see" System files as well as DIR files.
  89.  
  90.      Iµ ufn▒ alread∙ exists¼ RE╬ wil∞ asδ thσ use≥ iµ hσ want≤ t∩ ì
  91. Erase it (with the prompt "Erase ufn1?").
  92.  
  93. :The TYPE and LIST Commands
  94.  
  95.      TYP┼á anΣ LIS╘ arσ useΣ t∩ displa∙ file≤ oε thσ consolσá anΣ ì
  96. printer¼á resp«  TYP┼ page≤ b∙ default¼ stoppinτ afte≥ thσ screeε ì
  97. is filled.  These two commands have three basic forms --
  98.  
  99.           Print File on Console         TYPE DU:ufn P
  100.             Without Paging
  101.           Print File on Console         TYPE DU:ufn
  102.             With Paging
  103.           Print File on Printer         LIST DU:ufn
  104.  
  105.      The file may be either System or DIR.
  106.  
  107. :The SAVE Command
  108.  
  109.      Thσá SAV┼á commanΣ i≤ useΣ t∩ savσ thσ content≤ oµá thσá TP┴ ì
  110. ont∩ disδ a≤ ß file«á  I⌠ accept≤ tw∩ arguments║á  ß numbe≥ anΣ ß ì
  111. filσá name«á  Thσá filσá namσ ma∙ bσ optionall∙ followeΣá b∙á thσ ì
  112. lette≥ "Só t∩ indicatσ tha⌠ thσ numbe≥ i≤ thσ numbe≥ oµá 128-bytσ ì
  113. Sector≤á (Blocks⌐á t∩ bσ saved¼á and¼á iµ thi≤ optioεá lette≥á i≤ ì
  114. omitted¼ thσ numbe≥ i≤ assumeΣ t∩ bσ thσ numbe≥ oµ 256-bytσ Page≤ ì
  115. to be saved.  The SAVE command has two basic forms --
  116.  
  117.           Save Memory into File         SAVE n DU:ufn
  118.           Save Memory into File         SAVE n DU:ufn S
  119.             and Specify Number of
  120.             Blocks
  121.  
  122.      Iµ thσ number¼á n¼ i≤ followeΣ b∙ thσ suffi° "H"¼ a≤ iε "FHó ì
  123. o≥á "2DH"¼á theεá ε i≤ takeε t∩ bσ ß hexadecima∞á value«á  Iµá n∩ ì
  124. suffi°á i≤ given¼á ε i≤ assumeΣ t∩ bσ decimal«á  Thi≤ hexadecima∞ ì
  125. optioεá eliminate≤á thσá neeΣá fo≥á conversioεá froφá thσá value≤ ì
  126. supplied by debuggers, like DDT.
  127.  
  128.  
  129.      Iµ thσ indicateΣ filσ alread∙ exists¼ SAV┼ wil∞ asδ thσ use≥ ì
  130. if he wishes to erase it with the prompt "Erase ufn?".
  131.  
  132. :The GET Command
  133.  
  134.      GE╘á i≤á useΣá t∩ loaΣ ßá filσá anywherσá int∩á memory«á  I⌠ ì
  135. require≤ tw∩ arguments║á  ß numbe≥ (assumeΣ t∩ bσ hexadecimal⌐ oµ ì
  136. thσá 256-bytσá pagσ iε memor∙ a⌠ whicΦ t∩ star⌠ thσ loaΣ anΣá thσ ì
  137. name of the file.
  138.  
  139.           Load File Into Memory         GET adr DU:ufn
  140.  
  141.      Notσá tha⌠ thi≤ "adró i≤ ß pagσ number¼á s∩ adr=▒ refer≤á t∩ ì
  142. 100H, adr=2d refers to 2D00H, etc.
  143.  
  144. :The GO Command
  145.  
  146.      Thσ G╧ commanΣ i≤ useΣ t∩ reexecutσ thσ las⌠ prograφá loadeΣ ì
  147. into the TPA without having to reload it.
  148.  
  149.           Reexecute Last Transient      GO params
  150.             Without Reloading It
  151.  
  152.      Thσ parameter≤ arσ parseΣ a≤ witΦ an∙ transien⌠ command¼ anΣ ì
  153. thσá appropriatσ buffer≤ arσ loadeΣ b∙ ZCPR2«á  A≤á usual¼á ZCPR▓ ì
  154. "callsó thσ prograφ loadeΣ a⌠ 100╚ afte≥ i⌠ ha≤ finisheΣ witΦ thσ ì
  155. parsing and buffer loading.
  156.  
  157. :The JUMP Command
  158.  
  159.      JUM╨ i≤ useΣ t∩ brancΦ t∩ anywherσ iε memory«  I⌠ take≤ onl∙ ì
  160. onσá argument¼á whicΦá i≤á thσ addres≤ a⌠ whicΦá t∩á jump«á  Thi≤ ì
  161. addres≤á caεá bσá t∩á an∙ bytσ iε memor∙ (i⌠á i≤á ßá ful∞á 16-bi⌠ ì
  162. address), and it is assumed to be a hexadecimal number.
  163.  
  164.           Call Subroutine Anywhere in   JUMP adr
  165.             Memory
  166.  
  167. :The DU Form for Changing Disk and User
  168.  
  169.      Thσá D╒ forφ standinτ alonσ i≤ useΣ t∩ loτ int∩ ßá differen⌠ ì
  170. directory.  There are three basic forms of this command --
  171.  
  172.           Change Disk                   D:
  173.           Change User                   U:
  174.           Change Disk and User at       DU:
  175.             Same Time
  176.  
  177.  
  178.