The text of a manual · part 3 of 4
Trakker Antares 2400 Family ROM-DOS Instructions: Customizing DOS Drives and Commands
Pages 14 to 19 of 24, from Trakker Antares 2400 Family ROM-DOS Instructions
The original document is the PDF (208 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.
Filed in the catalog under the Intermec 2410, Intermec 2415, Intermec 2420, Intermec 2425, Intermec 2455, Intermec 2480, Intermec 2486, Intermec 2435, and 5 more models
Page 14
nugget
39 Using the PM.COM Command PM.COM is a Trakker Antares command that enables or disables the power management scheme used by the BIOS get keyboard key function and the BIOS check keyboard key function. When you enable power management (PM.COM), the BIOS progressively increases the wait interval when requesting key input from the keyboard. You can run PM.COM from AUTOEXEC.BAT or at the DOS prompt. The syntax for PM.COM is: PM data
Acceptable values for data are: 0 1
Disables BIOS power management Enables BIOS power management
Stopping DOS and Running a .BIN Application You stop or exit DOS by running a native Trakker Antares .BIN application. Once you run a .BIN application other than DOS.BIN, the terminal stops or exits DOS. There are two ways to run an application: • Use the Run Program reader command. For help, see Chapter 5, “Reader Command Reference,” in the 2400 Family system manual. • Use the TRAKKER Antares 2400 Menu System. For help, see your user’s manual.
Customizing DOS Drives and Commands You can customize DOS on your Trakker Antares terminal by: • changing AUTOEXEC.BAT or CONFIG.SYS and customizing drive A. • adding or removing external ROM-DOS commands that are available on drive B. • creating a DOS application or TSR for drive C. Intermec recommends that you create all the files on your PC, and then download the files to your terminal. The next section explains the DOS software tools that you need to customize drive A and B.
Trakker Antares DOS Software Tools The DOS software tools listed below are necessary for creating and downloading files to drives A and B.
14
Trakker Antares 2400 Family ROM-DOS Instructions
Page 15
nugget
39 DOS Software Tools Software Tool MAKE_A.BAT
Definition Creates a file named DRIVEA.BIN that contains the drive A image. The maximum size of drive A is 64K.
MAKE_B.BAT
Creates a DRIVEB.IMG file that contains the external ROMDOS commands for drive B. You can copy the DRIVEB.IMG file from the PC to drive C on the terminal.
PUT_A.BAT
Downloads the drive A image file (DRIVEA.BIN) from a PC to the terminal. This tool actually replaces all files on drive A.
Note: The Trakker Antares ROM-DOS CD includes the DOS software tools and support files, ROM-DOS commands, and drive A files. LISTFILE.DRV, PROMERGE.EXE, and ROMDISK.EXE are support files that are required to use MAKE_A.BAT, MAKE_B.BAT, and PUT_A.BAT.
Customizing Drive A Drive A is a 64K block of flash memory that is a read-only DOS drive. You can configure drive A, but you cannot write to it when you run an application.
Original Contents of Drive A The next table describes the files that are factory installed on drive A. Files on Drive A File ANTIFS.EXE
Definition Provides an Installable File System (IFS) for the Trakker Antares proprietary file system so that DOS can recognize and use drives C, D, and G. Removing the ANTIFS.EXE file from drive A may result in no drive C.
AUTOEXEC.BAT
Loads programs and defines paths. When you run DOS.BIN to start DOS, the AUTOEXEC.BAT file runs automatically.
COMMAND.COM
Supports internal ROM-DOS commands. It is required for user interface and batch file processing. COMMAND.COM is the default DOS command that displays the DOS prompt.
COMMAND.HLP
Provides help for ROM-DOS commands. You can type /? after most ROM-DOS commands to get help or information about a command.
CONFIG.SYS
Loads device drivers. For limitations, see “Limitations of ROM-DOS” on page 20.
Trakker Antares 2400 Family ROM-DOS Instructions
15
Page 16
nugget
39 Default AUTOEXEC.BAT File Command Lines Command Line @echo off
Definition The AUTOEXEC.BAT commands are not displayed on the terminal as they are executed.
antifs.exe
Installs the Installable File System (IFS) for the Trakker Antares proprietary file system so that DOS can recognize and use drives C, D, and G.
set dircmd=/p/a/o:gn
Directs the DIR command to list all files; include hidden files (/a) by pages (/p); group directories first (/o:g); and sort by filename (n).
set path=a:\;b:\;c:\
Directs DOS to look for commands and programs in the root directories of drives A, B, and C.
cls
Clears the screen.
ver
Displays the ROM-DOS version.
If exist c:\user.bat c:\user
If a file named USER.BAT is on drive C, the terminal runs that batch file. You can create a USER.BAT file that includes changes to modify drive A rather than having to recreate and reload the drive A image.
The default CONFIG.SYS file contains one command line: Default CONFIG.SYS File Command Line Command Line rem device=b:\vdisk.sys
Definition You can use the VDISK.SYS command to create a virtual ROM-DOS RAM drive. The command is remarked out in the CONFIG.SYS file so that there is no RAM drive. For help, see “Configuring a DOS RAM Drive” on page 19.
Changing DOS Files on Drive A The contents of drive A cannot be changed directly. The default AUTOEXEC.BAT file checks for a USER.BAT file on drive C that you can use to execute startup commands or files without changing drive A. To change or add files on drive A, you use the DOS software tools MAKE_A.BAT and PUT_A.BAT. These tools are available on the Trakker Antares 2400 Family ROM-DOS CD (P/N 073546). To add a file to drive A or change AUTOEXEC.BAT or CONFIG.SYS 1 On the PC, create a new directory or folder named DOSTOOLS and copy the DOS tools MAKE_A.BAT and PUT_A.BAT into this directory. 2 In the DOSTOOLS directory, create a subdirectory named DRIVEA that contains all the drive A files. For example, the directory may contain ANTIFS.EXE, AUTOEXEC.BAT, COMMAND.COM, COMMAND.HLP, and CONFIG.SYS. 16
Trakker Antares 2400 Family ROM-DOS Instructions
Page 17
nugget
39 Note: Make sure to include ALL drive A files on the DRIVEA subdirectory. The contents of this subdirectory will replace the contents of drive A. 3 Edit one of the existing drive A files such as the AUTOEXEC.BAT or CONFIG.SYS file. You can also create a new batch file or TSR to add to drive A and put the file in the DRIVEA subdirectory. 4 From the DOSTOOLS directory, type this command: MAKE_A.BAT
The batch file creates the image file named DRIVEA.BIN that contains all the files in the subdirectory DRIVEA. 5 Connect the PC to the terminal through a serial connection. 6 On the terminal, scan this bar code to access the TRAKKER Antares 2400 Menu System. TRAKKER Antares 2400 Menu System
*..-.* *..-.*
The Main Menu appears. 7 Choose System Menu and press Enter. The System Menu appears. 8 Choose Upgrade Firmware and press Enter. The Upgrade Firmware screen appears. 9 Choose OK to continue. The next screen appears prompting you to continue upgrading the firmware. In this case, you are not actually upgrading all the firmware. You will only be replacing the files on drive A. 10 Choose Yes to continue and upgrade drive A. The terminal reboots and displays the Loader Waiting screen. 11 On your PC, open an MS-DOS window and change to the DOSTOOLS directory. 12 On your PC, type this command: PUT_A.BAT
The Loader screen appears and the DRIVEA.IMG file is transferred to the terminal and used to replace the contents of drive A. Once the batch file is complete and drive A is replaced, the terminal boots and displays the DOS prompt. Note: When you use PUT_A.BAT, you are replacing all files on drive A.
Trakker Antares 2400 Family ROM-DOS Instructions
17
Page 18
nugget
39
Customizing Drive B Drive B is an optional read/write DOS drive. It contains an image of the external ROM-DOS commands that are available by default on the Trakker Antares terminal. Drive B resides as a subdirectory on drive C and is limited by the space available on drive C. As with drive A, the contents of drive B cannot be changed directly. To make configuration changes, you must use the DOS software tool MAKE_B.BAT. This tool is available on the Trakker Antares 2400 Family ROM-DOS CD (P/N 073546). To change drive B, you must recreate the file DRIVEB.IMG. When you do, you are replacing all files on drive B. The following files are the default files installed originally on drive B. • ATTRIB.COM
• MODE.COM
• SUBST.EXE
• CHOICE.COM
• MORE.COM
• TREE.COM
• DELTREE.EXE
• MOVE.COM
• VDISK.SYS
• DUMP.EXE
• PM.COM
• VERSION.COM
• FIND.COM
• SORT.COM
• XCOPY.COM
• MEM.EXE VDISK.SYS and PM.COM are ROM-DOS commands that were created for the Trakker Antares terminal. For help with VDISK.SYS, see “Configuring a DOS RAM Drive” on page 19. For help with PM.COM, see “Using the PM.COM Command” on page 14. For information on other ROM-DOS commands, see a DOS manual. Note: Make sure that you only use ROM-DOS commands provided by Intermec, because some of the ROM-DOS commands have been modified specifically for the Trakker Antares terminal. To change the contents of drive B 1 On the PC, create a new directory or folder named DOSTOOLS and copy the DOS tool MAKE_B.BAT into this directory. 2 In the DOSTOOLS directory, create a subdirectory named DRIVEB that contains all the files (including any external ROM-DOS commands) that you want to use on the terminal’s drive B. 3 From the DOSTOOLS directory, type this command: MAKE_B.BAT
The batch file creates the image file named DRIVEB.IMG that contains all the files in the subdirectory DRIVEB.
18
Trakker Antares 2400 Family ROM-DOS Instructions
Page 19
nugget
39 4 Transfer the DRIVEB.IMG file from the PC to drive C on the terminal. For help, see “How to Download Applications” in Chapter 3 of the 2400 Family system manual.
Configuring a DOS RAM Drive You have 380K total RAM that you can use for DOS .EXE application execution space. You can also configure a ROM-DOS RAM drive. If the RAM drive is configured, your application execution space is reduced by the size of the RAM drive. The remaining RAM is the Malloc/free memory pool. The contents of this drive are erased when you boot or reset the terminal. To configure a DOS RAM drive 1 On your PC, edit or create the CONFIG.SYS file. 2 Remove “rem” from the start of this line: rem device=b:\vdisk.sys
3 Add or set parameters for the DOS RAM drive using this syntax: device=vdisk [size [secs[dirs]]][/E] where: vdisk
VDISK is a device driver that partitions some of DOS memory as a RAM disk. Any data that is stored on the DOS RAM drive is lost when you reboot the Trakker Antares terminal. All data on the RAM drive is saved when you turn the terminal off and on (suspend and resume). The VDISK driver increases the resident size of DOS.
size
Sets the size in bytes of the DOS RAM drive. The default size is 64K. The memory or size that you set is allocated from the DOS memory pool and it will decrease the amount of memory available for applications.
secs
Sets the sector size in bytes. The default is 512 bytes per sector. You can set the sector size to: 128, 256, 512, or 1024. All other values are not valid and the sector size defaults to 512.
dirs
Sets the number of root directory entries. The default is 64 directory entries. You can set the root directory entries to any number from 2 to 1024. If you enter an odd number, it is rounded up to the nearest multiple of 16 to fill the entire sector.
/E
This parameter is not valid since the Trakker Antares terminal does not contain extended memory.
Trakker Antares 2400 Family ROM-DOS Instructions
19