The text of a manual · part 12 of 16
PDT 3200 Technical Reference Guide: Chapter 5 ROM-DOS Commands, pages 113 to 122
Pages 113 to 122 of 158, from PDT 3200 Technical Reference Guide
The original document is the PDF (941 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PDT-3200
Page 113
Chapter 5: ROM DOS Commands
Command Type Purpose
INSTALL CONFIG.SYS
The INSTALL command loads terminate-and-stay-resident (TSR) programs during CONFIG.SYS processing.
Syntax INSTALL = [d:\][path] TSR_Program TSR_Arguments
Remarks The TSR program is loaded much the same as if loaded from AUTOEXEC.BAT, except that an environment is not created. The lack of an environment may cause some programs to execute incorrectly. These programs must be loaded from the AUTOEXEC.BAT Þle.
Examples INSTALL = C:\BIN\FLASHDSK.EXE H:
This example causes the Datalight FLASH Disk File Manager to be loaded from CONFIG.SYS using INSTALL. The program is speciÞed with a full drive and path description, and also has an argument of ÒH:Ó.
5-61
Page 114
PDT 3200 Technical Reference Guide
Command Type Purpose
LASTDRIVE CONFIG.SYS
Set the maximum number of drives.
Syntax LASTDRIVE = letter
Remarks Letter may be any character between A and Z. It stands for the last drive letter that ROM-DOS will be able to access. The default value is E. The minimum number LASTDRIVE may be is the number of drives in your computer. If letter is less than the number of drives in your computer, then the LASTDRIVE command is ignored. LASTDRIVE is often used to cause ROM-DOS to make more space for nonstandard drives that are not in your system. These drives may be CD-ROM drives, FLASH Disk drives, or network drives.
Example LASTDRIVE = H
The above will cause ROM-DOS to allocate for eight drives. If your computer has Þve installed then there is room for three additional non-standard drives.
5-62
Page 115
Chapter 5: ROM DOS Commands
Command Type Purpose
LOADHIGH Internal
Loads an executable or terminate-and-stay-resident (TSR) program into the upper memory area if available. LOADHIGH can be run as a batch subcommand or from the DOS command line.
Syntax LOADHIGH = executable [arguments] or LH = executable [arguments]
Remarks An executable or TSR program can be loaded into the upper memory areas if they are available and there is enough free upper memory to accommodate the programÕs needs. To make high memory available, the EMM386.EXE and HIMEM.SYS utilities must be loaded. If these utilities are not loaded or there is not enough upper memory available, the program will load into conventional memory. The full drive path and Þle name of the device must be speciÞed. The arguments are different depending on the device driver.
Examples The following example installs an executable called CHECKIT with its command line arguments as speciÞed. The program will load into upper memory if available. LOADHIGH=C:\apps\checkit.exe /p
5-63
Page 116
PDT 3200 Technical Reference Guide
Command Type Purpose
MENUCOLOR CONFIG.SYS
The MENUCOLOR command allows you to set the text and background colors for the startup menu. This command can only be used in a menu block within your CONFIG.SYS Þle.
Syntax MENUCOLOR = text_color [,background_color]
Remarks The text_color argument selects the display color for the screen text. The color numbers 0 (black) and 7 (white) can be used. The background_color argument is optional. If a value is not entered, the default color 0 (black) will be used. Be sure to specify different colors for background and text and separate the numbers with a comma.
Examples The following example will display the menu text in white on a black background. MENUCOLOR=7,0
5-64
Page 117
Chapter 5: ROM DOS Commands
Command Type Purpose
MENUDEFAULT CONFIG.SYS
The MENUDEFAULT command allows you to set the default menu item choice and a time-out value for making a menu selection. This command can only be used with a menu conÞguration block in the CONFIG.SYS Þle.
Syntax MENUDEFAULT = blockname[,timeout]
Remarks The blockname argument speciÞes the default menu item. The value for blockname must match a conÞguration block name deÞned elsewhere in your CONFIG.SYS Þle. The optional timeout argument represents the number of seconds ROM-DOS will wait for a user input selection before initializing your system with the default conÞguration. The timeout period can be set to a value between 0 and 90. If you select 0, the default menu item will automatically be implemented without a wait. If you do not enter a timeout value, ROM-DOS will not continue until an Enter key is pressed. If your system BIOS does not support a video display directly, like Datalight's miniBIOS, please refer to the MENUCOLOR command for special instructions.
Examples [MENU] menuitem=Word_Proc, Word Processing menuitem=Network, Network menuitem=Research, Research and Development menucolor=15,1
5-65
Page 118
PDT 3200 Technical Reference Guide menudefault=Word_Proc,20
The above example makes the Word_Proc conÞguration block the default menu item. If the user fails to make a selection within 20 seconds, the Word_Proc block will be processed.
5-66
Page 119
Chapter 5: ROM DOS Commands
Command Type Purpose
MENUITEM CONFIG.SYS
The MENUITEM command allows you to specify an item on the startup menu. This command can only be used within a menu conÞguration block in the CONFIG.SYS Þle.
Syntax MENUITEM = blockname [,menu_text]
Remarks The blockname argument is a user deÞned label given to a conÞguration block deÞned elsewhere in the CONFIG.SYS Þle. If a user selects the menu item, all commands in the selected conÞguration block will be processed, along with the instructions that are common to all menu choices (denoted by block header [COMMON]). The block name can be up to 70 characters long and may contain most printable characters, including spaces, backslashes (\), forward slashes (/), commas, semicolons (;), equals signs (=). Square brackets ([]) cannot be used in block names. The menu_text argument is a descriptive statement that deÞnes the block name. The menu text will be displayed on the screen as a line item in the startup menu. The menu_text argument can be up to 70 characters long and can contain any characters. If this argument is left off, the block name will be used for the startup menu display. If your system BIOS does not support a video display directly, like Datalight's miniBIOS, please refer to the MENUCOLOR command for special instructions.
Examples [MENU] menuitem=Word_Proc, Word Processing menuitem=Network, Network menuitem=Research, Research and Development
5-67
Page 120
PDT 3200 Technical Reference Guide menudefault=Word_Proc,20
The above example deÞnes three menu items, Word_Proc, Network, and Research. Each of these has descriptive text and a set of commands deÞned later in the CONFIG.SYS Þle. At boot time, these menu items would be displayed in the startup menu as follows: ROM-DOS 6.22 STARTUP MENU 1. Word Processing 2. Network 3. Research and Development Enter a choice: 1
5-68
Page 121
Chapter 5: ROM DOS Commands
Command Type Purpose
MKDIR (Make DIRectory) Internal
Creates a new subdirectory.
Syntax MKDIR [d:][path]subdir or MD [d:][path]subdir
Where subdir is the name of the new subdirectory to be created. Note that MD may be used instead of the full MKDIR.
Remarks If no drive or path is speciÞed, the new subdirectory will be created within (one level below) the current default directory. If drive and/or path is speciÞed, everything speciÞed must exist or the command will display an error message.
Examples MKDIR TEMPDIR1
Creates a new subdirectory called TEMPDIR1 within the current default directory. MKDIR C:\UTIL\TOOLS
Assuming the UTIL subdirectory exists, this command creates a new subdirectory called TOOLS within it.
5-69
Page 122
PDT 3200 Technical Reference Guide
Command Type Purpose
NEWFILE CONFIG.SYS
The NEWFILE command allows you to continue CONFIG.SYS Þle processing from a new Þle. The Þle can be located on in another directory or even on a different drive.
Syntax NEWFILE=filename
Remarks The NEWFILE command is especially useful when the CONFIG.SYS Þle is located on an inaccessible drive or in ROM. Additional device drivers or instructions can be added easily to the new Þle and will be processed along with the main CONFIG.SYS Þle upon starting the system. When the NEWFILE= instruction is processed, control will be passed from the present Þle (the one containing the NEWFILE instruction) to the Þle speciÞed in the command. Any commands placed after the NEWFILE instruction in the original Þle will not be processed. If for some reason the speciÞed Þle name can not be located, CONFIG.SYS processing will be terminated (even if instructions were to be placed after the NEWFILE command) and the remainder of the startup process will be completed. NEWFILE commands can be nested. That is, your original CONFIG.SYS can call a second set of instructions via the NEWFILE command. The second Þle can in turn call a third Þle by using the NEWFILE command, and so on. Be sure that each Þlename in the successive steps has a unique name, otherwise, an inÞnite loop will be created as control is passed back to the same Þle repeatedly. Each Þlename given in a NEWFILE command line will have an environment variable of the same name.
Example The following example will cause instructions in the Þle NEWCFG.SYS, located in the C:\BIN directory, to be executed as part of the CONFIG.SYS Þle. The contents of NEWCFG.SYS may include any of the commands listed in this section. NEWFILE=C:\BIN\NEWCFG.SYS
5-70