home *** CD-ROM | disk | FTP | other *** search
- ZCPR2 Resident Commands
- The DIR Command
- The ERA Command
- The REN Command
- The TYPE and LIST Commands
- The SAVE Command
- The GET Command
- The GO Command
- The JUMP Command
- The DU Form for Changing Disk and User
- :ZCPR2 Resident Commands
-
- Likσ thσ CP/═ 2.▓ CCP¼á ZCPR▓ contain≤ somσ command≤á withiε ì
- itself«á I⌠ contain≤ al∞ oµ thσ CC╨ command≤ (excep⌠ USER¼ whicΦ ì
- isn'⌠á needeΣá anymore⌐á anΣ ß fe≈ more¼á bu⌠ al∞á oµá thσá ZCPR▓ ì
- residen⌠á command≤á arσ differen⌠ witΦ logica∞ extension≤ t∩á thσ ì
- CC╨ commands.
-
- Thσáá followinτá discussioεá applie≤á t∩áá thσáá recommendeΣ ì
- configuratioε oµ ZCPR2«á Therσ arσ man∙ way≤ t∩ configurσ ZCPR2¼ ì
- anΣá thi≤ discussioε canno⌠ possibl∙ cove≥ al∞ oµ them¼á s∩ ╔á aφ ì
- coverinτá thσ recommendeΣ configuratioε wherσ al∞ oµ thσ residen⌠ ì
- command≤ arσ enableΣ witΦ al∞ oµ thei≥ option≤ turneΣ on.
-
- Iεá thσá followinτá discussion¼á "afnó refer≤á t∩á thσá CP/═ ì
- ambiguou≤á filσ namσ forφ (containinτ "?ó and/o≥ "*óá characters⌐ ì
- anΣ "ufnó refer≤ t∩ thσ CP/═ unambiguou≤ filσ namσ forφ (doe≤ no⌠ ì
- contaiε thσ ambiguou≤ characters).
-
-
- Thσ DU║ prefi° ma∙ bσ useΣ wheneve≥ ß filσ namσ i≤ used« B∙ ì
- attachinτá thi≤ prefix¼á thσ filσ i≤ identifieΣ t∩ residσ iεá thσ ì
- indicateΣá director∙á (disδ anΣ use≥ area)«á T∩ revie≈á thσá DU║ ì
- form¼áá i⌠á i≤á ßá logica∞á extensioεá t∩á thσá D║á prefi°á unde≥ ì
- conventional CP/M. The user number is added, however.
-
- Iµá ß prefi° oµ D║á i≤ used¼á i⌠ refer≤ t∩ thσ curren⌠á use≥ ì
- areß oε thσ indicateΣ disk« Iµ ß prefi° oµ U║ i≤ used¼ i⌠ refer≤ ì
- t∩ thσ indicateΣ use≥ areß oε thσ curren⌠ disk«á DU:¼ oµ course¼ ì
- refers to the indicated user area on the indicated disk.
-
- Fo≥ example¼ iµ yo⌡ arσ loggeΣ int∩ Disδ B¼ Use≥ 1¼ theε thσ ì
- following is true:
-
- A:MYFILE.TX╘ -- refer≤ t∩ MYFILE.TX╘ oε Disδ A¼ Use≥ 1
- 4:MYFILE.TXT -- refers to MYFILE.TXT on Disk B, User 4
- A4:MYFILE.TXT -- refers to MYFILE.TXT on Disk A, User 4
- MYFILE.TXT -- refers to MYFILE.TXT on Disk B, User 1
-
- :The DIR Command
-
- Thσ DI╥ commanΣ i≤ useΣ t∩ displa∙ thσ name≤ oµ thσ file≤ iε ì
- the current directory. It has three basic forms --
-
- Display $DIR File Names DIR DU:afn
- Display $SYS File Names DIR DU:afn S
- Display All File Names DIR DU:afn A
-
- Assume you are logged into Disk B, User 1. Examples:
-
- DIR 4: <-- Gives all non-System files
- on B4
- DIR 4: A <-- Gives all files on B4
- DIR A4:*.HLP A <-- Gives all files of type
- HLP on A4
- DIR *.* S <-- Gives all System files on B1
-
- :The ERA Command
-
- Thσá ER┴ commanΣ i≤ useΣ t∩ erasσ files«á I⌠ i≤ no⌠ ablσ t∩ ì
- erasσ Read/Onl∙ files¼ bu⌠ i⌠ caε erasσ Systeφ files« I⌠ ha≤ tw∩ ì
- basic forms --
-
- Erase Specified Files ERA DU:afn
- Erase with Verify ERA DU:afn V
-
- ER┴á print≤ thσ name≤ oµ thσ file≤ i⌠ erases«á Iµ yo⌡á havσ ì
- selecteΣ thσ Verif∙ option¼á i⌠ als∩ prompt≤ yo⌡ beforσ i⌠ erase≤ ì
- them (or aborts, if you desire).
-
- :The REN Command
-
- Thσá RE╬ commanΣ i≤ useΣ t∩ changσ thσ namσ oµ onσá filσá t∩ ì
- another«á Again¼ i⌠ caε no⌠ changσ thσ namσ oµ ß Read/Onl∙ file« ìèIt has only one basic form --
-
- Renamσ Filσ RE╬ DU:ufn1=ufn▓
-
- Like ERA, REN can "see" System files as well as DIR files.
-
- Iµ ufn▒ alread∙ exists¼ RE╬ wil∞ asδ thσ use≥ iµ hσ want≤ t∩ ì
- Erase it (with the prompt "Erase ufn1?").
-
- :The TYPE and LIST Commands
-
- TYP┼á anΣ LIS╘ arσ useΣ t∩ displa∙ file≤ oε thσ consolσá anΣ ì
- printer¼á resp« TYP┼ page≤ b∙ default¼ stoppinτ afte≥ thσ screeε ì
- is filled. These two commands have three basic forms --
-
- Print File on Console TYPE DU:ufn P
- Without Paging
- Print File on Console TYPE DU:ufn
- With Paging
- Print File on Printer LIST DU:ufn
-
- The file may be either System or DIR.
-
- :The SAVE Command
-
- Thσá SAV┼á commanΣ i≤ useΣ t∩ savσ thσ content≤ oµá thσá TP┴ ì
- ont∩ disδ a≤ ß file«á I⌠ accept≤ tw∩ arguments║á ß numbe≥ anΣ ß ì
- filσá name«á Thσá filσá namσ ma∙ bσ optionall∙ followeΣá b∙á thσ ì
- lette≥ "Só t∩ indicatσ tha⌠ thσ numbe≥ i≤ thσ numbe≥ oµá 128-bytσ ì
- Sector≤á (Blocks⌐á t∩ bσ saved¼á and¼á iµ thi≤ optioεá lette≥á i≤ ì
- omitted¼ thσ numbe≥ i≤ assumeΣ t∩ bσ thσ numbe≥ oµ 256-bytσ Page≤ ì
- to be saved. The SAVE command has two basic forms --
-
- Save Memory into File SAVE n DU:ufn
- Save Memory into File SAVE n DU:ufn S
- and Specify Number of
- Blocks
-
- Iµ thσ number¼á n¼ i≤ followeΣ b∙ thσ suffi° "H"¼ a≤ iε "FHó ì
- o≥á "2DH"¼á theεá ε i≤ takeε t∩ bσ ß hexadecima∞á value«á Iµá n∩ ì
- suffi°á i≤ given¼á ε i≤ assumeΣ t∩ bσ decimal«á Thi≤ hexadecima∞ ì
- optioεá eliminate≤á thσá neeΣá fo≥á conversioεá froφá thσá value≤ ì
- supplied by debuggers, like DDT.
-
-
- Iµ thσ indicateΣ filσ alread∙ exists¼ SAV┼ wil∞ asδ thσ use≥ ì
- if he wishes to erase it with the prompt "Erase ufn?".
-
- :The GET Command
-
- GE╘á i≤á useΣá t∩ loaΣ ßá filσá anywherσá int∩á memory«á I⌠ ì
- require≤ tw∩ arguments║á ß numbe≥ (assumeΣ t∩ bσ hexadecimal⌐ oµ ì
- thσá 256-bytσá pagσ iε memor∙ a⌠ whicΦ t∩ star⌠ thσ loaΣ anΣá thσ ì
- name of the file.
-
- Load File Into Memory GET adr DU:ufn
-
- Notσá tha⌠ thi≤ "adró i≤ ß pagσ number¼á s∩ adr=▒ refer≤á t∩ ì
- 100H, adr=2d refers to 2D00H, etc.
-
- :The GO Command
-
- Thσ G╧ commanΣ i≤ useΣ t∩ reexecutσ thσ las⌠ prograφá loadeΣ ì
- into the TPA without having to reload it.
-
- Reexecute Last Transient GO params
- Without Reloading It
-
- Thσ parameter≤ arσ parseΣ a≤ witΦ an∙ transien⌠ command¼ anΣ ì
- thσá appropriatσ buffer≤ arσ loadeΣ b∙ ZCPR2«á A≤á usual¼á ZCPR▓ ì
- "callsó thσ prograφ loadeΣ a⌠ 100╚ afte≥ i⌠ ha≤ finisheΣ witΦ thσ ì
- parsing and buffer loading.
-
- :The JUMP Command
-
- JUM╨ i≤ useΣ t∩ brancΦ t∩ anywherσ iε memory« I⌠ take≤ onl∙ ì
- onσá argument¼á whicΦá i≤á thσ addres≤ a⌠ whicΦá t∩á jump«á Thi≤ ì
- addres≤á caεá bσá t∩á an∙ bytσ iε memor∙ (i⌠á i≤á ßá ful∞á 16-bi⌠ ì
- address), and it is assumed to be a hexadecimal number.
-
- Call Subroutine Anywhere in JUMP adr
- Memory
-
- :The DU Form for Changing Disk and User
-
- Thσá D╒ forφ standinτ alonσ i≤ useΣ t∩ loτ int∩ ßá differen⌠ ì
- directory. There are three basic forms of this command --
-
- Change Disk D:
- Change User U:
- Change Disk and User at DU:
- Same Time
-
-