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
/
SYSRCP.HLP
< prev
next >
Wrap
Text File
|
2000-06-30
|
6KB
|
229 lines
The Commands in SYSRCP
CP Copy a File
DIR Display Directory
ECHO Echo Command Tail
ERA Erase Files
LIST/TYPE Display a File on Printer/CRT
NOTE Comment
PEEK/POKE Display/Alter Memory
PROT Protect Files
REG ZCPR3 Register Display/Alter
REN Rename a File
WHL Set/Reset Wheel Byte
:The Commands in SYSRCP
Thσá standarΣá ZCPR│á Systeφ Residen⌠á CommanΣá Packagσ ì
(RCP⌐ distributeΣ witΦ thσ ZCPR│ systeφ contain≤ ß numbe≥ oµ ì
command≤á whicΦá ma∙á bσ enableΣ a⌠ thσá discretioεá oµá thσ ì
installer. These commands are described in the HELP file.
Al∞á command≤ anΣ option≤á arσá installation-dependent« ì
Thσá SHO╫á commanΣ ma∙ bσ useΣ t∩ displa∙ thσ name≤á oµá thσ ì
available commands in the currently-loaded RCP.
:CP Command
Transient Counterpart: MCOPY
Thσá C╨á commanΣá copie≤ onσ filσá froφá onσá D╒á t∩ ì
anothe≥á o≥á int∩ thσ samσ D╒ unde≥ ß differen⌠á name«á Thσ ì
synta° is:
CP dir:ufn=dir:ufn
Examples:
CP f1.txt=f2.txt
CP a15:=f1.txt
CP a15:f2.txt=c5:f1.txt
:DIR Command
Transient Counterpart: DIR, XD, XDIR
Thσá DI╥ commanΣ display≤ thσ director∙ oµ file≤á iε ì
alphabetica∞ orde≥ acros≤ thσ line≤ t∩ thσ user« Thσ synta° ì
is:
DIR dir:afn o
Options are:
S - Display System Files Only
A - Display Both Non-System and System Files
Examples:
DIR b7:
DIR root:*.com
:ECHO Commandè Transient Counterpart: ECHO
ECH╧á i≤á usefu∞ iε issuinτ botΦá message≤á (t∩á thσ ì
user¼ sa∙ withiε ß commanΣ filσ durinτ execution⌐ anΣ escapσ ì
sequences«á ECH╧á caεá senΣ it≤ outpu⌠ t∩ thσá consolσá (b∙ ì
default⌐ o≥ t∩ thσ printe≥ (iµ thσ firs⌠ non-blanδ characte≥ ì
i≤á ßá dolla≥ sign)«á I⌠ use≤ BIO╙ calls¼á s∩á al∞á contro∞ ì
character≤áá arσá passeΣá exactly«áá Hence¼áá console-leve∞ ì
programminτ oµ sucΦ device≤ (CRT≤ anΣ Printers⌐ i≤ possible.
Examples:
ECHO $this is a test
-- THIS IS A TEST is printed on printer
ECHO this is a test
-- THIS IS A TEST is printed on console
:ERA Command
Transient Counterpart: ERASE
Thσ ER┴ commanΣ erase≤ files« Thσ synta° is:
ERA dir:afn
or:
ERA dir:afn I -- Inspect files first
Examples:
ERA b7:*.bak
ERA text:*.tmp i
:LIST and TYPE Commands
Transient Counterpart: PRINT and PAGE
Thσá TYP┼á commanΣ display≤ ß grou≡ oµ file≤ oεá thσ ì
CR╘á whilσ thσ LIS╘ commanΣ print≤ ß grou≡ oµ file≤á oεá thσ ì
Printer« Thσ synta° is:
TYPE dir:afn o -or- LIST dir:afn
Option to TYPE:
P - Do NOT Page Output to CRT
Examples:
TYPE b7:*.asm
LIST text:*.txt
:NOTE Command
Transient Counterpart: NOTE
NOT┼ i≤ simpl∙ ß NO╨ (d∩ nothing⌐ commanΣ whicΦá caε ì
bσ useΣ t∩ placσ comment≤ int∩ multiplσ commanΣ lines«á Fo≥ ì
instance¼ iε thσ followinτ line:
dir *.comnote this is a dir displayera *.bakè
thσá DI╥ anΣ ER┴ command≤ perforφ normally¼á anΣ NOT┼ simpl∙ ì
doe≤ nothinτ ver∙ efficiently.
:PEEK and POKE Commands
Transient Counterpart: None (Subset of DDT)
Thσá PEE╦ commanΣ allow≤ thσ use≥ t∩ examinσ ß chunδ ì
oµá memory«á Iµ thσ use≥ simpl∙ type≤ "Pó witΦ n∩á address¼ ì
thσá nex⌠ 25╢ byte≤ oµ memor∙ arσ displayed«á Iµá thσá use≥ ì
type≤á "╨á address"¼á 25╢á byte≤ oµ memor∙ startinτá a⌠á thσ ì
indicateΣ addres≤ arσ displayed« Iµ thσ use≥ type≤ "╨ addr▒ ì
addr2"¼á memor∙á iε thi≤ addres≤ rangσá i≤á displayed«á Thσ ì
syntax:
P
or:
P address
or:
P addr1 addr2
Thσá POK┼á commanΣá allow≤ thσ use≥á t∩á changσá thσ ì
conten⌠á oµá memory«á Thσ use≥ mus⌠ specif∙ aεá addres≤á t∩ ì
POKE¼ anΣ tw∩ basiπ form≤ arσ allowed:
POKE address val1 val2 ... valn
and:
POKE address "character string
Thσá tw∩á form≤ ma∙ bσ intermixeΣ witΦ leadinτ value≤ anΣá ß ì
trailinτ characte≥ string:
POKE address val1 val2 ... valn "character string
Examples:
P
P f400
P f400 f425
POKE f400 0 1 2
POKE f400 "this is a test
POKE f400 1 2 3 "hello, world
:PROT Command
Transient Counterpart: PROTECT
Thσ PRO╘ commanΣ set≤ thσ filσ protectioε attribute≤ ì
fo≥ ß grou≡ oµ files«á Thσ R/╧ anΣ Systeφ attribute≤ ma∙ bσ ì
se⌠ witΦ thσ ╥ anΣ ╙ options¼á resp¼á giveε iε an∙ orde≥á a≤ ì
"RSó o≥ "SR"«á Omissioε oµ onσ oµ thesσ option≤ toggle≤ thσ ì
oppositσá (ie¼á omissioεá oµ ╥ make≤ thσá file≤á R/W)«á Thσ ì
syntax:
PROT dir:afn
or:
PROT dir:afn R
or:
PROT dir:afn S
or:
PROT dir:afn RS -or- PROT dir:afn SR
Examples:
PROT b7:*.com rs
PROT text:*.txt
:REG Command
Transient Counterpart: REG
The REG command forms are:
REG D or REG = display values of all registers
REG Mreg = subtract 1 from register (Minus)
REG Preg = add 1 to register (Plus)
REG Sreg value = set value of indicated register
┴ registe≥ i≤ ß ZCPR│ registe≥ buffer¼á indicateΣ b∙ ì
ß digi⌠ froφ ░ t∩ 9.
Examples:
REG S0 4 -- reg 0 = 4
REG S5 -- reg 5 = 0
REG P -- reg 0 = reg 0 + 1
REG P5 -- reg 5 = reg 5 + 1
REG M9 -- reg 9 = reg 9 - 1
REG D -- show values
REG -- show values
:REN Command
Transient Counterpart: RENAME
Thσá RE╬á commanΣá change≤ thσ namσ oµ onσá filσá t∩ ì
another« Thσ syntax:è
REN dir:ufn1=ufn2
Examples:
REN newfile.txt=oldfile.txt
REN root:sys.rcp=sys1.rcp
:WHL Command
Transient Counterpart: WHEEL
Thσá WH╠ commanΣ i≤ useΣ t∩ turε ofµ thσ Whee∞á Bytσ ì
(makσ thσ use≥ non-priveleged⌐ o≥ t∩ turε oε thσ Whee∞á Bytσ ì
(makσ thσ use≥ priveleged)« Thσ synta° is:
WHL -- make user non-priveleged
or:
WHL password -- make user priveleged
Also¼á thi≤á equatσ enable≤ thσ WHL╤ command¼á whicΦ ì
display≤ thσ statσ oµ thσ Whee∞ Byte« Thσ synta° is:
WHLQ
The Wheel password is built into the RCP.
Examples:
WHL
WHL mypass
WHLQ