I aneously; the CAPS LOCK value is the value produced when in COMMODORE mode. (COMMODORE mode is entered by typing the COMMODORE key and remains in effect until this key is typed again. This value is therefore typically documented as the COMMODOR eyboard is defined for CP/M as follows: Each key has 4 values associated with it. These are defined as the unshifted, value, the shifted value, the control value and the CAPS LOCK value. The UNSHIFTED value is basically the key as labelled, urrently being read or written ss=the sector number currently being read or written Normally, the track and sector number are separated by a space. If the disk is formatted MFM, and the track and sector are separated by a '-', the second ‰ïgh this command string to edit. This is useful for correcting typing mistakes in lengthy command sequences. ///2Disk_Status  Selectively Displayed Disk Status Line There is an optional disk status displayed at the bottom right c‰ ïber of additional functions/characters that are assigned to various keys. ///2Command_Line  Keys For Processing CP/M Command Line The key labelled CRSR with up and down arrows (bottom right on keyboard) generates the ‰¬XREF ‘ $ ë$ uëU$ ð¹$ è)C$ < u$ Ãèâ$ < s///1C128_CP/M  CP/M On The Commodore 128 Some miscellaneous keyboard and screen features/functions‰ÝOPTIONS ýGEXAMPLE QSAVE oEXAMPLE SET }LABEL TEXAMPLES _PASSWORDS WMODES ATTRIBUTES EXAMPLES $DEFAULT )NTIME-STAMPS *zOPTIONS -"EXAMPLES 4SDRIVES 5)‰öEDITING_KEYS/=EDIT_COLORS 6 EDIT_HEX ;vEDIT_SPECIALA{EDIT_STRINGSDFINISHING_UPJOFOR_EXPERTS PKEY_VALUES YLOG/PHY_CLRS_&SELECT_A_KEYeSETTING_UP kEWHAT_TO_DO pnLIB wOPTIONS <MODIFIERS ƒEXAMPLES ˆ,‰ÛCNTRLCHARS paCOPYSYS 1DATE „MEXAMPLES †DEVICE ˆ#OPTIONS mEXAMPLES ’uC128_DEVICESCDIR ŸuBUILT-IN ¢wEXAMPLES ¦4WITHOPTIONS ®JOPTIONS ²EXAMPLES à DUMP Ë2ED Ìl‰1  $ž‰åE value.) ///3AlphNum_Kys  AlphaNumeric Keys The alpha keys generate the standard lower case, upper case and control values. The COMMODORE value is merely the upper case value. The numeric keys (the row of  and is produced by typing the key; the SHIFTED value represents the key, as labelled, when typed with one of the SHIFT keys on either side of the space bar; the CONTROL value is the value produced by typing the key and the CONTROL key simult‰æside of the disk is currently being accessed. You can toggle this status to be displayed or not by typing the RUNSTOP key and the control key simultaneously. ///2Keybrd_Defs  Keyboard Definitions The Commodore 128 K‰Úorner of the screen. The format of this status line is as follows: # O Dtt ss where O =Operation, either R or W indicating a Read or Write  D =the physical drive address (A,B,C,D)  tt=the track number c value 17 (same as 'CONTROL w') and causes the latest CP/M command line to be displayed on the screen. The key next to this (CRSR with right and left arrows) allows you to move right and left (unshifted and shifted, respectively) throu  are provided with CP/M on the Commodore 128. These include such things as a selectively displayed disk status line, a virtual disk drive, local/remote handling of keyboard codes, programmable function keys (strings), and a num‰ÛSETDEF 6BEXAMPLES <bSHOW BLEXAMPLES EeSID JwCOMMANDS NWEXAMPLES rZUTILITIES tjSUBMIT {)SUBFILE }EXECUTE PROFILE.SUB ƒTYPE ‡EXAMPLES ‹<USER >EXAMPLES O‰ ÖLINK ’OPTIONS –dEXAMPLES ¬ MAC ³EXAMPLES ·QOPTIONS ¸PATCH ÂRPIP (COPY) Å8EXAMPLES Ì+OPTIONS ÓPUT ÜOPTIONS âBEXAMPLES ë"RENAME ñ.EXAMPLES ô RMAC ûk‰ÙCOMMANDS ÎXEXAMPLES à ERASE áOPTION äEXAMPLES æ FILESPEC ê*GENCOM ÷OPTIONS ú9EXAMPLES þGET 2OPTIONS EXAMPLES 8HELP  HEXCOM #{INITDIR '?KEYFIG *J C128_CP/M  COMMAND_LINE`DISK_STATUS KEYBRD_DEFS 6ALPHNUM_KYS $ARROW_KEYS *EXTRA_KEYS 1MFM_FORMATS 8IRT_SHFT_FNCTC\MODE_TOGGLE IBSTRING_EDIT QHEX_EDIT VBSPECIAL_FNCTZVIRTUAL_DISKaaCOMMANDS ekCONVENTIONS i keys above the alpha keys) produce the appropriate number as the unshifted value and the COMMODORE value, the symbol above the number on the key as the shifted value and the color on the side of the key (the top one of the two colors shown) as een 80 and ff. These are defined as follows: 80-9f identify function strings a0-af identify 80 column foreground colors b0-bf identify 80 column background colors c0-cf identify 40 column foreground colors d0-df identify 40 column background colorsŠítiate replacement of key values with a hexadecimal value. The last 2 functions allow you to edit key definitions directly, without using the KEYFIG program. ///3Mode_Toggle  Mode Toggle T ght SHIFT Functions There are 3 functions which are selected by typing the CONTROL key, the RIGHT SHIFT key (the SHIFT key to the right of the space bar) and the appropriate key for the desired function simultaneously. The 3 keys to enable the e you are accessing. The system requires you to select the specific disk type by scrolling through the choices given in this window. Note: The choices are given one at a time; scroll through using the right and left arrow keys. Type return whŠ ï10 sectors per track) KayPro IV (512 byte sectors, double sided, 10 sectors per track) Osborne DD (1024 byte sectors, single sided, 5 sectors per track) When you insert one of these diskettes into the disk drive and try to accesŠÜme as 'CONTROL v' is generated as the control value. ///2MFM_Formats  MFM Disk Formats A variety of double density MFM disk formats is supported (for reading and/or writing) including: Epson QX10 (512 by  the unshifted and COMMODORE values. The '=' key generates the character '=' as the unshifted, shifted and COMMODORE values; the character '~' is generated as the control value. The '/' key generates the character '/' as the unŠéfted, shifted and COMMODORE values; it executes the 40 column screen right functions as the control value. ///3Extra_Keys  Additional Key Characters The key labelled as a British pound sign generates the character '#' rol value. The down arrow key generates the hexadecimal value 18 (same as 'CONTROLx') as the unshiftd, shifted and COMMODORE values; it generates the value 03 (same as 'CONTROLc') as the control value. The left arrow key generates the hexade the control value. These colors are defined as 80 column foreground colors. The control value produced by the numbers on the numeric keypad are defined the same as those on the numeric keys, except that they generate 80 column background colo  e0-ef identify 40 column border colors f0-ff identify special functions The default mode is that these keycodes are handled locally. In this mode, the functions as defined above are executed. If remote handling of these codes is selecte he key labelled ALT is used to toggle between handling certain functions at the keyboard level or passing the appropriate key code to a remote application for processing. These functions include all hexadecimal key values betw desired functions are: the key labelled ALT, which is used to select between remote and local handling of certain key values, the right arrow key which is used to initiate editing function keys, and the left arrow key, which is used to iniŠëen the disk type that you know is in the disk drive is displayed. Typing CONTROL RETURN will lock this disk format so that you will not be forced to reselect each time you access the disk drive. ///2Rt_SHFT_Fnct  Control/Ri s it, the system senses the type of disk with respect to the number of bytes per sector and the number of sectors per track. If the disk format is not unique, a box is displayed near the bottom left corner of the screen, showing which disk typŠ÷te sectors, double sided, 10 sectors per track) IBM-8 SS (CP/M 86) (512 byte sectors, single sided, 8 sectors per track) IBM-8 DS (CP/M 86) (512 byte sectors, double sided, 8 sectors per track) KayPro II (512 byte sectors, single sided, shifted, shifted and COMMODORE values; the character '\' is generated as the control value. The key labelled 'INST DEL' generates the hexadecimal value 7f (ASCII rubout) as the unshifted, shifted and COMMODORE values; the hexadecimal value 16 (sa as the unshifted, shifted and COMMODORE values; the character '`' is generated as the control value. The up arrow key next to the RESTORE key generates the character '^' as the shifted and control values; the character '|' is generated as cimal value 14 (same as 'CONTROLs') as the unshifted, shifted and COMMODORE values; it executes the 40 column screen left function as the control value. The right arrow key generates the value 04 (same as 'CONTROLd') as the unshiŠ árs. ///3Arrow_Keys " Arrow Keys The up arrow key generates the value 05 (same as 'CONTROLe') as the unshifted, shifted and COMMODORE values; it generates the hexadecimal 12 (same as 'CONTROLr') as the cont‹çd, the appropriate keycode (80-ff) is passed along to a remote application which processes it however it wishes. ///3String_Edit  String Edit To edit a string type the CONTROL KEY, the R‹ õe of a line. Banked system only. CTRL-I same as the TAB key. CTRL-H delete character to the left of cursor. CTRL-J moves cursor to the left of the command line and sends command to CP/M 3. Line feed, has same ef‹ìmoves cursor from beginning to end of command line and back without affecting command. Banked system only. CTRL-C stops executing program when entered at the system prompt or after CTRL-S. CTRL-E forces a SYS System attribute - opposite of DIR DIR Directory attribute - opposite of SYS ... preceding element can be repeated as many times as desired. * wildcard: replaces all or part of a filename and/or filetype. ? wildcard: replaces any s‹û an optional item. | separates alternative items in a command line. indicates a carriage return. ^ indicates the Control Key. n substitute a number for n. s substitute a string (group) of characters for s. o substitute‹ ûFormat:  A>COMMAND {command tail} A CP/M 3 command line is composed of a command, an optional command tail, and a carriage return. The command is the name or filename of a program to be executed. The optional command tai  Virtual Disk Drive The physical disk drive A can be used as drive A or as virtual disk drive E. Whenever you access drive E (for example by doing DIR E:), the system will prompt you to put a diskette in drive E (respond by putting whatever pectively (40 column screen tracking) as their unshifted, shifted and COMMODORE values. The key labelled ENTER generates a Carriage Return as the unshifted, shifted and COMMODORE values. The control value initiates the special function boot, ‹í the key. ///2Special_Fnct  Keys Initiating Special Functions The key labelled NO SCROLL executes a PAUSE function. This has the same effect as typing control-s for pausing to read screen dumps. The control value of th‹íor - to insert or delete a character respectively. ///3Hex_Edit  Editing the Hexadecimal Value of a Key To assign a single hex value, type CONTROL,RIGHT SHIFT and LEFT ARROW key simultaneously. Tyoe the key you want IGHT SHIFT key and the RIGHT ARROW key simultaneously, then type the key to which you want to assign the string. Note that the key you pick must already have a string value (80- 9F) assigned to it. A window will pop up at the bottom‹êfect as carriage return. CTRL-K deletes character at cursor and all characters to the right. CTRL-M same as carriage return. CTRL-P echoes console output to the list device. CTRL-Q restarts screen‹ãphysical carriage return without sending command to CP/M 3. CTRL-F moves cursor one character to the right. Banked system only. CTRL-G deletes character at current cursor position if in the middl‹Þingle character  in the same position of a filename and/or filetype. ///1cntrlchars Control Character Function CTRL-A moves cursor one character to the left. Banked system only. CTRL-B  an option or option list for o. [] type square brackets to enclose an option list. () type parens to enclose a range of options within an option list. RW Read-Write attribute - opposite of RO RO Read-Only attribute - opposite of RW ‹ôl can consist of a drive specification, one or more file specifications, and some options or parameters. ///2conventions  COMMAND CONVENTIONS The following special symbols define command syntax. {} surrounds diskette you want into physical drive A, then type RETURN). The next time you access drive A, the system will prompt you to put a diskette in drive A. Again, insert the desired diskette and type return. ///1commands CP/M 3 Command ‹æ which reboots the system. The key labelled RUN STOP is undefined as its unshifted, shifted and COMMODORE values, and toggles the display/nondisplay of the disk status line as its control value. ///2Virtual_Disk  e NO SCROLL key toggles between two modes (on/off) of automatically tracking the CP/M screen on a 40 column monitor. The right and left arrows at the top of the keyboard initiate the special functions screen right and screen left res to modify. A window will pop up at the bottom of the screen showing the current hex value, per the current mode (unshifted, shifted, COMMODORE or control). Enter the new hex value. NOTE that any illegal key will abort the edit without modifying of the screen, in which you will edit. Type the string and type CONTROL, RIGHT SHIFT, RETURN to exit. For editing, you can use CONTROL, RIGHT SHIFT, RIGHT ARROW or LEFT ARROW to move right or left through the string and CONTROL RIGHT SHIFT + Œô scrolling after a CTRL-S. CTRL-R retypes the characters to the left of the cursor on a new line; updates the command line buffer. CTRL-S stops screen scrolling. CTRL-U updates the command line buffer to contaiŒ ëIR command displays the names of files and the characteristics associated with the files. The DIR command has three distinct references: DIR DIRS DIR with Options DIR and DIRS are built-in utilŒêe current console page width in columns and  length in lines. A>DEVICE CONSOLE [COLUMNS=40 LINES=16]  Sets the screen size to 40 columns and 16 lines. ///2C128_Devices  Devices on C128 CP/M Implementation TŒ ôICE AUXIN:=CRT2 [XON,9600]  Assigns the auxiliary logical input device (AUXIN:) to  the physical device CRT using protocol XON/XOFF and  sets the transmission rate for the device at 9600. A>DEVICE LST:=NULL ŒðICE NAMES  Lists the physical devices with a summary of the device  characteristics. A>DEVICE VALUES  Displays the current logical device assignments. A>DEVICE 80COL  Displays the attributes of the phŒ ¬eive it. baud-rate is the speed of the device. The system  accepts the following baud rates:  50 75 110 134  150 300 600 1200  Œõical devices to peripheral devices attached to the computer. DEVICE also sets the communications protocol and speed of a peripheral device, and displays or sets the current console screen size. ///2Options  [ŒÇe and time entries. ///1DEVICE Syntax: DEVICE { NAMES | VALUES | physical-dev | logical-dev} DEVICE logical-dev=physical-dev {option} ' {,physical-dev {option},...} DEVICE lŒêA>FORMAT  A>PIP E:=A:CPM+.SYS  A>PIP E:=A:CCP.COM ///1DATE Syntax:  DATE {CONTINUOUS}  DATE {time-specification}  DATE SET Explanation: The DATE command lets you display and set the date and time her CP/M systems. To create a diskette with the CP/M system on it, you must: 1) Format the diskette using the FORMAT program, as either C128 single sided or C128 double sided diskette. 2) Use PIP to copy the files CPM+.SYS and CCP.COM to ŒÛn the characters to the left of the cursor; deletes current line. CTRL-W recalls previous command line if current line is empty; otherwise moves cursor to end of line. CTRL-J,-M,-R,-U and RETŒäities. DIR with Options is a transient utility and must be loaded into memory from the disk. ///2Built-in Syntax: DIR {d:} DIR {filespec} DIRS {d:} DIRS {filespec} Explanation: he following are legal devices under the C128 CP/M implementation: 40COL = 40 column monitor 80COL = 80 column monitor PTR1 = Commodore Serial Printer (Serial Bus Device 4) PTR2 = Commodore Serial Printer (Serial Bus Device 5) ///1DIR The DŒñ Disconnects the list output logical device (LST:). A>DEVICE LPT [XON,9600]  Sets the XON/XOFF protocol for the physical device LPT  and sets the transmission speed at 9600. A>DEVICE CONSOLE [PAGE]  Displays thŒóysical device 80COL. A>DEVICE CON  Displays the assignment of the logical device CON:  Assigns the system console output (CONOUT:) to the  40 column monitor (40COL) and the 80 column monitor (80COL). A>DEVŒÉ 1800 2400 3600 4800  7200 9600 19200 ///2Examples A>DEVICE  Displays the physical devices and current assignments of  the logical devices in the system. A>DEVŒà XON | NOXON | baud-rate ] XON refers to the XON/XOFF communications protocol. NOXON indicates no protocol and the computer sends data to  the device whether or not the device is ready to  recŒòogical-dev = NULL DEVICE physical-dev {option} DEVICE CONSOLE [ PAGE | COLUMNS = columns | LINES = lines] Explanation: DEVICE displays current logical device assignments and physical device names. DEVICE assigns logŒ ðof day. ///2Examples A>DATE  Displays the current date and time. A>DATE C  Displays the date and time continuously. A>DATE 08/14/82 10:30:0  Sets the date and time. A>DATE SET  Prompts for datŒõthe newly formatted  diskette. NOTE: Only diskettes that you intend to use to boot CP/M need  these two files on them. It is not recommended, for the purpose of  saving space, that they be put on every diskette. Example:  Œ öURN update the command line buffer for recall with CTRL-W. Banked system only. CTRL-X deletes all characters to the left of the cursor. ///1COPYSYS Explanation: This command is not implemented the same as it is in ot The DIR and DIRS Built-in commands display the names of files cataloged in the directory of an on-line disk. DIR lists the names of files in the current user number that have the Directory (DIR) attribute. DIR accepts the * and ? wildc ñze,rw] D:  DIR lists each Read-Write file that resides on Drive D,  with its size in kilobytes. Note that D: is equivalent to  D:*.*. ///1DUMP Syntax:  DUMP filespec Explanation: DUMP displays the ð files in all user numbers (0-15) in all on-  line drives. B6>DIR [exclude] *.DAT  Lists all the files on drive B in user 6 that do not have a  filetype of .DAT. 3B>DIR [SIZE] *.PLI *.COM *.ASM  Displays all the f îin the user number specified by n. USER=(0,1,...,15) displays files under the user numbers specified. ///3Examples A>DIR C: [FULL]  Displays full set of characteristics for all files in user 0  on drive C. æfiles in the order it finds them on the disk. RO displays only the files that have the Read-Only attribute. RW displays only the files that are set to Read-Write. SIZE displays the filename and si Ø line, omitting the password and time stamp columns. The display is alphabetically sorted. (See SET for a description of file attributes, directory labels, passwords and protection modes.) ß specified in the command line. FF sends an initial form feed to the printer device if the printer has been activated by CTRL-P. FULL shows the name, size, number of 128-byte records, and attribuàquare bracket. ///3Options Option Function ATT displays the file attributes. DATE displays date and time stamps of files. DIR displays only files that have the DIR attribute. DRIVE=ALL ò and from any drive in the search chain (see SETDEF). ///2withOptions Syntax: DIR {d:} [options] DIR {filespec} {filespec} ... [options] Explanation: The DIR command with options is an enhanced version of the ðdrive B whose filename  begins with the letter X, and whose three character filetype  contains the first character C and last character D. A>DIRS  Displays all files for user 0 on drive A that have the  system (SYôards in the file specification. ///3Examples A>DIR  Displays all files in user 0 on drive A that have the  Directory attribute. A>DIR B:  Displays all DIR files in user 0 on drive B. 2A>DIR C:ZIPPY.Dùcontents of a file in hexadecimal and ASCII format. Example:  A>DUMP ABC.TEX ///1ed Format:  ED input-filespec {d:|output-filespec} Explanation: Character file editor. To redirect or rename the new version ôiles of type PLI, COM, and ASM in user  3 on drive B in size display format. A>DIR [drive=all user=all] TESTFILE.BOB  DIR displays the filename TESTFILE.BOB if it is found on  any drive in any user number. A>DIR [sið A>DIR C: [DATE]  Lists the files on drive C and their dates. A>DIR D: [RW,SYS]  Displays all files in user 0 on drive D with Read-Write  and System attributes. 3A>DIR [USER=ALL, DRIVE=ALL]  Displays all theåze in kilobytes (1024 bytes). SYS displays only the files that have the SYS attribute. USER=ALL displays all files in all user numbers for the default or specified drive. USER=n displays the files é LENGTH=n displays n lines of printer output before inserting a table heading. n is a number between 5 and 65536. MESSAGE displays the names of drives and user numbers DIR is searching. NOSORT displays âtes of the files. If there is a directory label on the drive, DIR shows the password protection mode and the time stamps. If there is no directory label, DIR displays two file entries on a ðdisplays files on all on-line drives. DRIVE=(A,B,C,...,P) displays files on the drives specified. DRIVE=d displays files on the drive specified by d. EXCLUDE displays files that DO NOT MATCH the files  DIR built-in command and displays your files in a variety of ways. DIR can search for files on any or all drives, for any or all user numbers. One or two letters is sufficient to identify an option. You need not type the right hand sðS) attribute. A>DIRS *.COM  Displays all SYS files with filetype COM on drive A in user  0. A command (.COM) file in user 0 with the system  attribute can be accessed from any user number on that  drive, ìAT  Displays the name ZIPPY.DAT if the file is in user 2 on  drive C. 4A>DIR *.BAS  Displays all DIR files with filetype BAS in user 4 on drive  A. B3>DIR X*.C?D  Displays all DIR files in user 3 on ŽÕ of the file specify the destination drive or destination filespec. ///2commands  ED Command Summary Command Action nA  append n lines from original file to memory buffer 0A   not include a drive specifier, CP/M 3 automatically uses the default drive. Some CP/M 3 commands accept wildcard (* and ?) characters in the filename and/or filetype parts of the command tail. A wildcard in the command line can in oneŽêrs and/or numbers typ filetype optional 0-3 letters and/or numbers password password optional 0-8 letters and/or numbers Valid combinations of the elements of a CP/M 3 file specification are:  filename  nd the password. The term "filespec" indicates any valid combination of the four parts of a file specification, all separated by their appropriate delimiters. A colon must follow a drive letter. A period must precede a fileŽô Each file on drive A with a filename that begins with MY is  displayed with a question mark for confirmation. Type Y to  erase the file displayed, N to keep the file. A>ERA B:*.* Confirm (Y/N)?Y  All files on drive B arŽ Ö. ///2Option  [CONFIRM] option informs the system to prompt for  verification before erasing each file that  matches the filespec. CONFIRM can be  abbreviated to C. Žì///2Examples  A>ED TEST.DAT  A>ED TEST.DAT B:  A>ED TEST.DAT TEST2.DAT  A>ED TEST.DAT B:TEST2.DAT ///1erase Syntax:  ERASE {filespec} {[CONFIRM]} Explanation: The ERASE command removes one or Žãw file 0W  write until buffer is half empty nX  write or append n lines to X$.LIB nXfilespec{^Z}  write n lines to filespec;  append if previous xcommand applied to same file 0x{^Z}  delete fileŽèriginal file nP, -nP  move CP 23 lines forward and display 23 lines at console Q  abandon new file, return to CP/M-86 R{^Z}  read X$.LIB file into buffer Rfilespec{^Z}  read filespec into buffer Žç I  enter insert mode Istring{^Z}  insert string at CP Jsearch_str^Zins_str^Zdel_to_str  juxtapose strings nK, -nK  delete (kill) n lines from the CP nL, -nL, 0L  move CP n lines nMcommanŽñappend file until buffer is one half full #A  append file until buffer is full (or end of file) B, -B  move CP to the beginning (B) or bottom (-B) of buffer nC, -nC  move CP n characters forward (C) or back (-C) throuŽç command reference many matching files on the default or specified user number and drive. (See Commands). ///1GENCOM Syntax: GENCOM {COM-filespec} {RSX-filespec} ...  {[LOADER | NULL | SCB=(offset,vaŽ¥ d:filename  filename.typ  d:filename.typ  filename;password  d:filename;password  filename.typ;password  d:filename.typ;password If you do Žætype. A semicolon must precede a password. The symbols and rules for the parts of a file specification follow: d: drivespec optional single alpha character (A-P) filename filename 1-8 letteŽèe removed from the disk. ///1filespec  FILESPEC FORMAT CP/M 3 identifies every file by its unique file specification, which can consist of four parts: the drive specification, the filename, the filetype aŽó ///2Examples A>ERASE X.PAS  Removes the file X.PAS from the disk in drive A. A>ERA *.PRN Confirm (Y/N)?Y  All files with the filetype PRN are removed from the disk  in drive A. B>ERA A:MY*.* [CONFIRM]   more files from the directory of a disk. Wildcard characters are accepted in the filespec. Directory and data space are automatically reclaimed for later use by another file. The ERASE command can be abbreviated to ERAŽæ X$.LIB 0xfilespec{^Z}  delete filespec nZ  wait n seconds Note: CP points to the current character being referenced in the edit buffer. Use {^Z} to separate multiple commands on the same line. Ž â Sdelete string^Zinsert string  substitute string nT, -nT, 0T  type n lines U, -U  upper-case translation V, -V  line numbering on/off 0V  display free buffer space nW  write n lines to neŽâds  execute commands n times n, -n  move CP n lines and display that line n:  move to line n :ncommand  execute command through line n Nstring{^Z}  extended find string O  return to oŽ ìgh buffer nD, -nD  delete n characters before (-D) or from (D) the CP E  save new file and return to CP/M-86 Fstring{^Z}  find character string H  save new file, reedit, use new file as original file lue)]} Explanation: The GENCOM command creates a special COM file with attached RSX files. The GENCOM command can also restore a previously GENCOMed file to the original COM file without the header and RSX's. GENCOM can  opics. After HELP displays information for your topic, it displays the special prompt HELP> on your screen, followed by a list of subtopics. - Enter ? to display list of main topics. - Enter a period and subtopic öinput. It is used to re-direct the  console input back to the console before the end-of-file  is reached. ///1HELP Syntax:  HELP {topic} {subtopic1 ... subtopic8} {[NOPAGE|LIST]} Explanation: HELP displays a ðTEM  option. The system reverts back to the console for  console input when it reaches the end of file in XIN2. Or  XIN2 may redirect the system back to the console if it  contains a GET CONSOLE command. ïate the GET utility. Since SYSTEM  is not specified, the system reads the next input line from  the console and executes MYPROG. If MYPROG program  requires console input, it is taken from the file XINPUT.  When M ám prompts are not affected by this option and are still echoed to the console. SYSTEM specifies that all system input is immediately taken from the disk file specified in the command line. GET  onsole input. The system reverts to the console for input when it reaches the end of file. Re-direct the system to the console for console input with the GET CONSOLE INPUT FROM CONSOLE command as a command line in the input the next system command or user program entered at the console. Console input is taken from a file until the program terminates. If the file is exhausted before program input is terminated, the program looks for subseðNCOMed file MYPROG.COM to see  if PROG1.RSX and PROG2.RSX are already attached RSX files in  the module. If either one is already attached, GENCOM  replaces it with the new RSX module. Otherwise, GENCOM  appends theôset,value). ///2Examples A>GENCOM MYPROG PROG1 PROG2  Generates a new COM file MYPROG.COM with attached RSX's  PROG1 and PROG2. A>GENCOM PROG1 PROG2 [NULL]  Creates a COM file PROG1.COM with RSX's PROG1 and PRíalso attach header records to COM files. ///2Options LOADER sets a flag to keep the program loader active. NULL indicates that only RSX files are specified. GENCOM  creates a dummy COM file for the RSX files.name to access subtopics. - Enter a period to redisplay what you just read. - Press the RETURN key to return to the CP/M 3 system prompt. - [NOPAGE] option disables the 24 lines per page console display. - Press any key to exit a displa list of topics and provides summarized information for CP/M 3 commands. HELP topic displays information about that topic. HELP topic subtopic displays information about that subtopic. One or two letters is enough to identify the tð A>GET CONSOLE  Tells the system to get console input from the console.  This command may be used in a file (previously specified in  a GET FILE command), which is already being read by the  system for console òYPROG terminates, the system reverts back to the  console for console input. A>GET FILE XIN2 [SYSTEM]  Immediately directs the system to get subsequent  console input from file XIN2 because it includes the SYSç takes system and program input from the file until the file is exhausted or until GET reads a GET console command from the file. ///2Examples A>GET FILE XINPUT A>MYPROG  Tells the system to activëfile. ///2Options ECHO specifies that input is echoed to the console. This is the default option. NO ECHO specifies that file input is not echoed to the console. The program output and the systequent input from the console. If the program terminates before exhausting all its input, the system reverts back to the console for console input. With the SYSTEM option, the system immediately goes to the specified file for c specified RSX files to the COM file. ///1GET Syntax: GET {CONSOLE INPUT FROM} FILE filespec{[{ECHO|NO ECHO} | SYSTEM]} GET {CONSOLE INPUT FROM} CONSOLE Explanation: GET directs the system to take console input from a file for ðOG2. A>GENCOM MYPROG  GENCOM takes MYPROG.COM, strips off the header and  deletes all attached RSX's to restore it to its original COM  format. A>GENCOM MYPROG PROG1 PROG2  GENCOM looks at the already-GE Ô The  output COM filename is taken from the filename of the  first RSX-filespec. SCB=(offset,value)  sets the System Control Block from the program by  using the hex values specified by (offÜy and return to the HELP> prompt. Examples:  A>HELP  A>HELP DATE  A>HELP DIR OPTIONS  A>HELP>.OPTIONS  HELP>SET  HELP>SET PASSWORD  HELP>.PASSWORD  HELP>.  HELP> ///1HEXCOM  cial function or a second string (warning - the remainder of the string will be deleted if you insert a second string.) You can also use the left and right arrow keys and the insert and delete keys. When you are done, select tho perform. ///3Edit_Strings Assigning/Editing Strings Once you have chosen to assign a string, you will be given a list of 32 available strings (some of which may already be defined.) Scroll through and select the one you want to assi shed. Note: The value you type when the four key values are displayed will not be displayed as hex, but as what the hex value represents. WARNING: This mode should only be used by those familiar with hexadecimal data. ///3Edit_Special ö Assigning/Editing Hexadecimal Values Once you have chosen to assign a hex value to a key, you will be prompted for the value to assign. Only charactersfrom 0-9 and a-f (upper or lower case) will be accepted. As you type charact color, a 40 column background color or a 40 column border color. Scroll through and select the one you want to assign. At this point, a color map consisting of 16 boxes labelled 'a' through 'p' will be displayed. Type the letter fromÊhich allows you to assign a function from a list  of currently available special functions. ASSIGN a HEX value - which allows you to replace the key value with a  single hex value. ///â selected a specific key value to edit, you will be given a choice of 5 ways of modifying the key: ASSIGN a new character - which allows you to do a 'one-for-one'  replacement of the key. ASSIGN a STRING SHIFT LOCK key, the CONTROL key, the 40/80 DISPLAY key and the COMMODORE key. At each step, options are presented in menu form. You can scroll through the options in the menus by using the up and down arrow keys at the top of the keyboard; pressiúITDIR Command initializes a disk directory to allow date and time stamping of files on that disk. INITDIR can also recover time/date directory space. Example:  A>INITDIR C:  INITDIR WILL ACTIVATE TIME-STAMPS FOR SPECIFIED DRIV Syntax: HEXCOM filename Explanation: The HEXCOM Command generates a command file (filetype .COM) from a .HEX input file. It names the output file with the same filename as the input file but with filetype .COM. HEXCOM alíe menu choice "exit string edit and save assigned string". ///2Finishing_Up  Finishing Up-Saving Your Work File Once you have loaded your workfile and completed any editing you wanted to do, you will be given three choices asgn to this key. At this point, the one you choose will be displayed near the top of the screen for editing. You can edit by typing keys and/or by choosing one of the menu options presented - insert a color, insert a hex value, insert a speñ Assigning/Editing Special Functions Once you have chosen to assign a special function you will be given a list of 16 currently available special functions. Scroll through the list and assign the function that you want this key ters, the current value is shifted left one nibble and the new value is ORed into the lst nibble. You can type as many characters as you want, but the last 2 you type will be the value assigned to the key. Type return when you are finiû the box representing the color that you want to assign. (NOTE that one letter (usually 'a') will appear to be missing, because it blends with the background color - assume ALL boxes are lettered sequentially!) ///3Edit_Hex  ë3Edit_Colors  Assigning/Editing Color Values Once you have chosen to assign a color, you will be given a choice of 5 color types to assign: an 80 column foreground color, an 80 column background color, a 40 column foreground Ç - which allows you to assign/edit a string (more  than 1 character) to the key ASSIGN a COLOR - which allows you to assign an 80 or a 40 column  color ASSIGN a special function - w âng the return key selects the choice that is highlighted. At almost any point, you can exit the program by typing 'CTRL c' (the CONTROL key and C simultaneously.) ///2Editing_Keys ! Editing Keys Once you have E. Do you want to re-format the directory on C: (Y/N)?Y ///1KEYFIG The purpose of the KEYFIG program is to allow you to alter the definition of almost ANY key on the keyboard. The only keys that you CANNOT modify are: the SHIFT keys, the õways looks for a file with filetype .HEX. Example: A>HEXCOM B:PROGRAM  Generates a command file PROGRAM.COM from the input hex file  PROGRAM.HEX. ///1INITDIR Syntax:  INITDIR {d:} Explanation: The IN