BNAMEb SJCCP - SJ Research Console Control Program BSYNOPSISb SJCCP BDESCRIPTIONb SJCCP is the CCP supplied with the ZNOS Econet Operation System interface written by SJ Research. ZNOS resides in sideways ROM or RAM, and the CCP is entered when ZNOS starts up, or when the BDOS is restarted. ZNOS responds to *FX63 to start up the CCP. SJCCP can also be used without ZNOS. BDefinitionsb A file is of the form [d:]name[.ext] where d is a drive letter, name is a sequence of one to eight non-blank characters and ext is a sequence of one, two or three non-blank characters. Name and ext cannot include the characters B=b, B,b or blank. A B*b char- acter will match to any number of characters, and a B?b will match to any one character. An addr is a 16 bit hexadecimal address. If none is given, it defaults to &0100. A num is an 8-bit decimal number. Params are any parameters, which could be files, or plain text, or both. BPromptingb The CCP prompts with the current drive letter, followed by the drive letter and then either B]b if the ZNOS BDOS is present or B>b if it is not. BCommandsb A CP/M command can be either a built-in command or a disk-based command of the form [d:][name [params...]] where d is a drive specifier, name is the command name and params is any supplied parameters. If a drive is given, then the CCP searches for a file nameB.COMb on that drive, otherwise the current drive is searched. If the file cannot be found on the current drive, then drive A: is also searched. BBuilt-in Commandsb Before a command is searched for on a disk, the CCP first checks if it is a built-in command. The built-in commands are as follows: B;b A line starting with a B;b is treated as a comment, and is ignored. B*bname A line starting with a B*b is sent to OSCLI as an OS command. During the duration of the command, the BESCAPEb key generates escapes. dB:b Selects drive d. BDIRb [file] This produces a directory of the files. If file is given, only the files that match are listed. If the drive is ? then all files in all user areas will be listed with their user numbers. BERAb file The specified file or files are erased. If the file given is B*.*b then you are prompted with BErase all files (Y/N)?b before being allowed to erase them. BGOb [addr] Calls the addr, or &0100 if the addr is not supplied. BLOADb file [addr] Loads a file into memory, starting at addr. If addr is not supplied, then the load will be to &0100. BOLDb [params...] Jumps to the program at location &0100 with the params in the parameter buffers. BPRINTb num... The nums are send to PRN: as VDU codes. BRENb file1=file2 Renames file1 to have the name file2. If file1 does not exist or file2 already exists, the command will fail. BRESETb Resets the CCP as though from a warm start, but preserving the current drive. BRUNb [file [params...]] Loads the file from disk to &0100 and calls it, passing it any params. If there are no parameters, then the program already at &0100 is called. BSAVEb num file [addr] Save a number of pages of memory num to disk, starting at addr, or &0100 if addr is not supplied. BTYPEb file The file is typed to CON:. All four possible end of line sequences generate a single newline. BUSERb num Sets the user number to the supplied num. BVERSb The version string of the CCP is displayed, and the version string of the BDOS, if any is supplied. The current version of the CCP is Version 1.40. BVDUb num... The nums are sent to CON: as VDU codes. BParametersb A command may have parameters after the command name. The text of the parameters is stored in the default DMA buffer at &0080, as a length byte followed by the actual text. If the first two parameters can be parsed as filenames, then they are stored in the default FCBs at &005C and &006C. BDIAGNOSTICSb B* Aborted *b An answer other than 'Y' was given to an BERA *.*b command. BBad numberb A num can only be a valid 8-bit decimal number, and an addr can only be a valid 16-bit hex number. BCatalogue fullb There is no more space in the catalogue when trying to create a new file with BSAVEb. BDisk fullb There is no more room on the disk when trying to create a new file with BSAVEb. BFile already existsb The new name of a BRENb command already exists. BIllegal filenameb A file cannot have non-valid characters, the name cannot be more than 8 characters and the ext cannot be more than three characters. File1 in BRENb cannot include B?b or B*b. file Bnot foundb An attempt to BDIRb, BERAb, BLOADb, BRENb, BRUNb, BTYPEb a file or to run a command when file does not exist. BSyntax errorb Compulsary file ommitted, or too many files supplied, or the files in BRENb not separated by B=b.