CONFIG Configures an OS-9 system diskette config Description Config provides menus of all I/O options and all system commands. You select the device drivers and commands you want to include on a new system diskette from these menus. Selecting only the device drivers and commands you and your system require lets you make the most efficient use of computer memory and system diskette storage. The config utility is on a separate CONFIG/BOOT Diskette. Make a copy of this diskette using the OS-9 backup command and use the copy as your working diskette. Keep the original CONFIG/BOOT Diskette in a safe place to use for future backups. You can use the CONFIG/BOOT Diskette for booting OS-9 from &make; Disk BASIC from Drive /D0. Config requires no initial parameters. You establish parameters during the operation of config. Be sure that the execution directory is at /D0/CMDS before executing the command. Examples: CONFIG [ENTER] Config executes and a prompt asks you to indicate whether you wish to use one or two disk drives. Press [1] for single- or [2] for two-drive operation. Next, config builds a list of the various devices from the MODULES directory. When the list is complete, a screen menu appears. Use the up and down arrow keys to move to a device. Then, press [S] to either select or exclude a particular device. Press [S] once to display an X to the right of the selected device. Press [S] again to erase the X. The device is selected only when the "X" appears. Information about each device is available with a special help command. To display the information on the current device (the device indicated by the right arrow [->]), press [H]. If there are more than ten devices in a CONFIG menu, use [->] to move ahead page-by-page and [<-] to move back. The devices you can select are: term32 The computer keyboard and standard TV display term80 The computer keyboard and optional 80 column video display d0 Disk Drive 0 d1 Disk Drive 1 d2 Disk Drive 2 d3 Disk Drive 3 h0_15 A 15 meg hard disk drive 0 h1_15 A 15 meg hard disk drive 1 h0_35 A 35 meg hard disk drive 0 h1_35 A 35 meg hard disk drive 1 p A printer using the RS-232 serial port t1 A terminal port using the standard RS-232 port t2 A terminal port using the optional RS-232 communications pak t3 A terminal port using the optional RS-232 communications pak m1 A modem m2 A modem ssc Speech/Sound Cartridge To use your computer keyboard and video display, you must select one term. You must select d0 as your first disk drive. Select d1, d2, and d3 for additional floppy disk drives. Select /p to use a printer with OS-9, select ssc to use a Speech/Sound Cartridge from a Multi-Pak slot, and so forth. After selecting the devices you desire, press [D]. The screen displays, ARE YOU SURE (Y/N) ? If you are satisfied with your selections, press [Y]. If you wish to make further changes, press [N]. When the driver selection is complete, a screen prompt requests that you select among the &make; terminal I/O subroutines. Select these subroutines in the same manner that you selected the device drivers. You have the following modules from which to make your selections: CO32 A video output module for a 32 column TV display CO80 A video output module for a 80 column video display GRFO A graphics module for TV display When choosing subroutine modules, you must select the video output module that matches the terminal module you previously selected for your console device. Config builds a boot list from the selected devices and their associated drivers and managers. "Bootlist" is created in the ROOT directory of Drive 0. Config next displays two clock options: 1 - 60Hz (American) 2 - 50Hz (European) If you live in the United States, Canada, or other country with 60Hz electrical power, press [1]. If you live in a country with 50Hz power, press [2]. If you have a single disk drive, a screen prompt asks you to swap diskettes and press [C]. When asked to isnert the SOURCE diskette, insert the CONFIG/BOOT Diskette. When asked to insert the DESTINATION diskette, insert the diskette on which you wish to create the new OS-9 System. If you have more than one drive, a screen prompt asks you to insert a blank formatted diskette (the DESTINATION diskette) in /D1. The rest of the boot file creation is automatic. Following the boot file generation, a menu lets you select the commands you wish to include on your system diskette. You have the following choices: [N]o Commands, Stop Now - Do not add any commands [B]asic Command Set - Adds the basic OS-9 commands [F]ull COmmand Set - Add all OS-9 commands [I]ndividually Select - Select desired commands one by one [?] Receive Help - Get help on the command set Press [N] if you want to create a boot file, but do not wish to add any commands to the new system diskette. Use this option to create a new boot file on a diskette on which you have prefviously copied the OS-9 system. If you have only one disk drive, this procedure is quicker than using the config utility to complete the entire system transfer, as less diskette swaps are required. Press [B] if you wish to add a basic command set (the most commonly used commands) to your new diskette. This selection does not copy the following: Assembly language development tools, asm, debug, and edit and the DEFS directory Timesharing utilities, tsmon, login, and the SYS/motd and SYS/password files The system maintenance utilites, such as dsave, dcheck, and cobbler Press [F] to copy all of the commands (an exact copy of the standard OS-9 system diskette, with a new boot file). Press [I] to individually select commands to copy on the new diskette. This option displays a selection similar to the device selection screen. Again, press [S] to select or exclude commands, and use the arrow keys to move among the commands in the menu. Commands marked with an X are selected. If a command does not have an X beside it, it is excluded on the new system diskette. If you have a multi-drive system, a prompt appears asking you to insert your OS-9 system diskette in /D0. Press the spacebar. The process finishes the config operation and returns to OS-9. If you have a single-drive system, you swawp diskettes during the final process. This time, the SOURCE diskette is the OS-9 System Diskette, instead of the CONFIG/BOOT Diskette. The DESTINATION diskette is the new system diskette you are creating. The number of swaps in this procedure, as well as in the boot file creation procedure, depends on the number of options you select. It would be quicker and easier to use BACKUP to create a system disk, use config to create a new bootfile, then delete unwanted commands. However, this process causes fragmentation of diskette space. Fragmentation results in slower diskette access, and free memory is broken into segments that might not be large enough for some OS-9 operations. Config causes no fragmentation. The MODULES directory of the CONFIG/BOOT diskette contains all the device drivers and descriptors supported by OS-9. The filename extension describes the type of file, as noted in the following table: Extension Module Type .dd Device Descriptor module .dr Device Driver module .io Input/Output subroutine module .hp Help file