Useful information for Z88 users
Here is the stuff you may have forgotten!
Specifying Z88 file names in full
The full form of a file name is
:DEVICE/DIRECTORY/DIRECTORY/ ....
where DIRECTORY
and filename
are each of the form
name.extension
consisting of a name of up to 12 letters or digits, followed by an optional extension of up to three letters or digits,
The following extensions are used for system functions:
Extensions | |
---|---|
.sgn | For +K and +S CLI files. |
.CLI | For BOOT.CLI file. |
.L | For PipeDream multi-file List file |
DIRECTORY is a directory name subject to the same constraints as filename
In addition the following symbols can be used:
Symbols | |
---|---|
../name | Parent directory of name Current directory |
Z88 Device specifications
DEVICE can be specified as one of the following:
Specification | Effect |
---|---|
:RAM.0 | RAM in slot 0 (internal memory) |
:RAM.1 | RAM in slot 1 (external memory) |
:RAM.2 | RAM in slot 2 (external memory) |
:RAM.3 | RAM in slot 3 (external memory) |
:RAM.- | Any RAM memory; ie 0, 1, 2, or 3. |
:ROM.0 | ROM |
:SCR.0 | Screen |
:PRT.0 | Printer; via printer driver |
:COM.0 | Communications; via serial port |
:INP.0 | Standard input |
:OUT.0 | Standard output |
:NUL.0 | Null: absorbs output, and acts like an empty file on input |
Note
RAM. - files must be deleted before a soft reset is performed with Operating Systems up to and including 3.0.
Using Wildcards
The device, directory and file name can contain the following wildcards:
Wildcard | |
---|---|
* | Matches any number of characters (or none) |
? | Matches a single character |
// | Matches any number of directories (or none) |
For example, | |
:*//letter | Finds the file called |
doc* | Finds: |
* * | Finds only files with extensions. |
.. /fred* | Finds all files beginning with |
Note that the characters '/' and '\' may be used interchangeably.