home *** CD-ROM | disk | FTP | other *** search
- Note ZCPR3 Utilities
- CLEANDIR Physical Directory Cleanup
- CMD Input Command Line
- MU Memory Utility RCP
- SHSET Define Shell Sequence
- :Note ZCPR3 Utilities
-
- Thi≤á se⌠á oµá ZCPR│ utilitie≤ arσá general-purposσá iε ì
- naturσá anΣá havσá beeεá provideΣ witΦá thσá ZCPR│á Phasσá ▓ ì
- release« Al∞ utilitie≤ excep⌠ thσ RC╨ caε bσ installeΣ oε ß ì
- targe⌠ ZCPR│ Systeφ b∙ runninτ Z3INS.
-
- :CLEANDIR Physical Directory Cleanup
- Command: CLEANDIR 1.0
-
- Syntax:
- CLEANDIR dir: o
- or
- CLEANDIR o
-
- Function:
- CLEANDI╥ "cleansó ß physica∞ disδ directory«á I⌠ load≤ ì
- thσá director∙á oµ thσ targe⌠ disδá int∩á memory¼á sort≤á i⌠ ì
- alphabeticall∙á withiεá eacΦ use≥ areß (ascendinτá orde≥á b∙ ì
- default)¼á anΣá write≤ i⌠ ou⌠ t∩ disδ witΦ E╡ fil∞ oµ unuseΣ ì
- director∙ entries.
-
- ┴ DIR║á prefi° i≤ allowed¼á bu⌠ onl∙ thσ disδ referencσ ì
- i≤ meaningful¼á s∩ iµ "CLEANDI╥ ROOT:ó i≤ issueΣ wherσ ROOT║ ì
- is A15:, then disk A is cleaned.
-
- Options:
- D - sort user areas and files in Descending Order
-
- Comments:
-
- CLEANDIR'≤á sor⌠á oε thσ disδ director∙ buy≤á thσá use≥ ì
- several advantages:
-
- 1«á Utilitie≤ whicΦ sor⌠ thσ disδ director∙á afte≥ ì
- loadinτá it¼á likσ XDIR¼á ruε faste≥ sincσ thσ director∙á i≤ ì
- already sorted.
-
- 2«á Thσá possibilit∙ oµ recoverinτ file≤á b∙á thσ ì
- UNERAS┼ commanΣ i≤ increaseΣ iµ CLEANDI╥ ha≤ beeε ruε oε thσ ì
- director∙ recentl∙ beforσ thσ file≤ werσ erased«á Notσ tha⌠ ì
- an∙á eraseΣ file≤ absolutel∙ canno⌠ bσ recovereΣ b∙á UNERAS┼ ì
- iµá CLEANDI╥á wa≤ ruε betweeε thσ timσ the∙ werσ eraseΣá anΣ ì
- UNERASE was executed.
-
- 3«á Usσá oµ DU2/DU│ t∩ looδ a⌠ thσá director∙á i≤ ì
- facilitated if the directory is already sorted by CLEANDIR.
-
-
- Selected Error Messages:
-
- Self-Explanatory
-
- Examples of Use:
-
- CLEANDIR
- -- clean current disk in ascending order
-
- CLEANDIR A: D
- -- clean disk A in descending order
-
- CLEANDIR TEXT:
- -- clean the disk which the directory named TEXT
- is defined for in ascending order
-
- CLEANDIR D
- -- clean current disk in descending order
-
- :CMD Input Command Line
- Command: CMD 1.0
-
- Syntax:
-
- CMD cmd1;cmd2;...
- or
- CMD or CMD;cmd2;...
-
- Function:
-
- Iµá CM─ ha≤ aε argument¼á i⌠ build≤ ß ne≈ commanΣá linσ ì
- whicΦá begin≤ witΦ thi≤ argumen⌠ anΣ proceed≤ witΦ thσá res⌠ ì
- oµ thσ commanΣ line« Fo≥ example¼ thσ firs⌠ form:
-
- CMD cmd1;cmd2;...
-
- is translated into:
-
- cmd1;cmd2;...
-
-
- Thi≤á i≤á gooΣá becausσ source≤ sucΦá a≤á MENU¼á VMENU¼ ì
- anΣá VFILE╥á caεá ente≥ thσ "cmd1ó variablσá froφá thσá use≥ ì
- selection manually.
-
- Iµ CM─ ha≤ n∩ argument¼ thσ use≥ i≤ prompteΣ fo≥ input¼ ì
- anΣá thi≤ inpu⌠ i≤ inserteΣ int∩ thσ commanΣ streaφá a⌠á thσ ì
- poin⌠ oµ thσ CM─ command« Thi≤ i≤ mucΦ morσ useful¼ sucΦ a≤ ì
- wheεá SHSE╘á i≤ useΣ t∩ definσ ß shel∞á sequence¼á anΣá thi≤ ì
- sequencσá i≤ t∩ bσ exiteΣ a⌠ somσ time«á Fo≥á example¼á thσ ì
- second form:
-
- CMD;cmd2;...
-
- is translated into:
-
- mycmd;cmd2;...
-
- if the user typed in "mycmd" in response to the prompt.
-
- CM─ set≤ thσ erro≥ messagσ wheneve≥ i⌠ runs«á ERRO╥ i≤ ì
- turned on if no line was input to CMD.
-
- Options: None
-
- Comments:
-
- CM─á wa≤á buil⌠á fo≥ usσ specificall∙á witΦá thσá SHSE╘ ì
- command¼á alth∩ i⌠ ma∙ finΣ othe≥ applications« Thσ probleφ ì
- tha⌠ CM─ addresse≤ i≤ thσ casσ wherσ thσ maiε prograφ iε thσ ì
- shel∞ sequencσ know≤ nothinτ abou⌠ shells¼ anΣ i⌠ i≤ desireΣ ì
- to leave the sequence sometime. CMD provides this out.
-
- Fo≥á instance¼á iµ MU│ i≤ t∩ bσ useΣ a≤ thσ maiε shell¼ ì
- then:
- SHSET MU3;CMD
-
- wil∞ ruε MU3¼á allo≈ thσ use≥ t∩ d∩ wha⌠ hσ wants¼á anΣ theε ì
- reenter MU3. If the user entered the command
-
-
- SHCTRL POP
-
- thσ shel∞ stacδ woulΣ bσ poppeΣ anΣ thσ "MU3;CMDó loo≡ woulΣ ì
- be broken.
-
- Additionally¼á CM─ set≤ thσ ERRO╥ messagσ oµ ZCPR3¼á s∩ ì
- tha⌠á program≤á oε dowε thσ linσ caε determinσ iµ inpu⌠á wa≤ ì
- madσ wheε CM─ wa≤ run«á Iµ thσ use≥ simpl∙ strike≤ ß RETUR╬ ì
- iε responsσ t∩ thσ CM─ prompt¼ aε erro≥ i≤ indicated« Test≤ ì
- caε late≥ bσ made¼ likσ I╞ ERROR¼ t∩ checδ thi≤ anΣ makσ thσ ì
- command flow change depending on the outcome.
-
- Selected Error Messages:
-
- None - self-explanatory
-
- Examples of Use:
-
- See above
- :MU Memory Utility RCP
- Command: MU RCP 1.0A
-
- Syntax:
-
- MU <-- invoke MU at 100H
- or MU address <-- invoke MU at indicated address
-
- Function:
-
- M╒ i≤ identica∞ t∩ MU│ iε function¼á witΦ thσ exceptioε ì
- tha⌠áá thσá ╚á commanΣá (Hexadecima∞á Calculator⌐áá i≤áá no⌠ ì
- supported«á Thσá differencσá betweeε M╒ anΣ MU│ i≤ tha⌠á M╒ ì
- execute≤ a≤ aε RC╨ anΣ MU│ execute≤ a≤ ß transient«á A≤á aε ì
- RCP¼á M╒á allow≤ thσ use≥ t∩ examinσ thσ TP┴ withou⌠ concerε ì
- fo≥ sidσ effects¼á s∩ debugginτ transient≤ i≤ simplifieΣá b∙ ì
- thi≤ command«á I⌠ i≤ thσ onl∙ maiε commanΣ iε thσ DEBUG.RC╨ ì
- provided in the ZCPR3 release.
-
-
- Options: None
-
- Comments:
-
- M╒ ma∙ bσ invokeΣ a≤ ß Shel∞ b∙ thσ SHSE╘ command« Thσ ì
- ├á commanΣ caε bσ useΣ froφ withiε M╒ t∩ executσ an∙ desireΣ ì
- commanΣ line¼á includinτ thσ "SHCTR╠ POPó commanΣ whicΦ pop≤ ì
- M╒á froφá thσ Shel∞ Stack¼á terminatinτ it≤ operatioεá a≤á ß ì
- Shell.
-
- Selected Error Messages: None
-
- Examples of Use:
-
- MU <-- run MU
- MU 0F400 <-- run MU but position at 0F400H
-
- :SHSET Define Shell Sequence
- Command: SHSET 1.0
-
- Syntax:
-
- SHSET cmd1;cmd2;...
-
- Function:
-
- SHSE╘á define≤á thσá command≤ whicΦ follo≈á i⌠á a≤á thσ ì
- commanΣ sequencσ t∩ bσ placeΣ oε thσ to≡ oµ thσ shel∞ stack« ì
- I⌠ place≤ thi≤ sequencσ there«á Consequently¼ oncσ SHSE╘ i≤ ì
- executeΣá oε ß sequencσ oµ commands¼á thesσ command≤ wil∞ bσ ì
- cycleΣá thr⌡á timσ anΣ timσ agaiε unti∞ thσ shel∞á stacδá i≤ ì
- cleared or popped.
-
- Options:
-
- None
-
-
- Comments:
-
- SHSE╘á provide≤ aε eas∙ mechanisφ t∩ makσá an∙á commanΣ ì
- sequencσá int∩ ß shell«á Consequently¼á non-ZCPR│ programs¼ ì
- likσá MBASIC¼á DBAS┼ II¼á WOR─ STAR¼á anΣ other≤ caεá becomσ ì
- shells under ZCPR3.
-
- Carσá shoulΣ bσ takeε witΦ SHSE╘ iε allowinτ thσá shel∞ ì
- t∩á bσá exiteΣá iµ i⌠ i≤ s∩ desired«á Thσá utilit∙á CM─á i≤ ì
- sometimes useful for this.
-
- Selected Error Messages:
-
- None - self-explanatory
-
-
- Examples of Use:
-
- SHSET MBASIC;CMD
- -- define the sequence MBASIC;CMD to be a shell
-
- SHSET WS
- -- define Word Star to be a shell
-