page ; Library: RCPCMD for Z34RCP ; Author: Carson Wilson ; Version: 1.0 ; Date: June 15, 1988 ; Description: Command Table and Custom Commands for Z34-RCP ; This is the customization file for the ZCPR Version 3.4 resident command ; package. Use it to add your own custom commands to the RCP. ; Give each of your custom commands a unique label and command name. Then ; add the command name(s) to the macro CUSTTBL, below, and append the code ; for the commands to the end of this file. ; CUSTTBL - Custom commands table. ; ; Add one line to CUSTTBL for each of your custom commands. Each line ; must be of the form: ; ; COMMAND name, TRUE, wheel, label ; ; Where COMMAND and TRUE appear as-is, and "name", "wheel", and "label" ; are created by the user. "Name" is a name of four characters or less used ; to invoke the command, in upper case. "Wheel" is "true" to protect the ; command from non-wheel users, "false" otherwise. "Label" marks the ; beginning of the custom code. For example, to create a wheel- ; protected command named "DIR" which calls the code at label "directory", ; CUSTTBL appears as follows: ; ;custtbl macro ; command DIR, true, true, directory ; endm custtbl macro ;; command ____, true, ____, _______ ; Template for custom commands endm ; ------------------------------ ; RCP command dispatch table db cmdsize ; Length of each command name cmdtbl ; Dispatch table from Z34RCP.LIB custtbl ; Optional custom commands db 0 ; Marks end of command jump table ; -------------------------------------------------- ; Insert label(s) and code for custom RCP commands here: ; ; END RCPCMD.LIB