The text of a manual · part 2 of 4
Trakker Antares 2400 Family ROM-DOS Instructions: Using DOS on the Trakker Antares Terminal
Pages 6 to 13 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 6
nugget
39
Using DOS on the Trakker Antares Terminal Trakker Antares terminals can run ROM-DOS, which is compatible with DOS version 6.22. ROM-DOS provides application compatibility at the DOS level and interface compatibility at the BIOS level. You can develop and test DOS applications on your desktop PC, and then easily install the applications on your terminals. There are two types of applications you can run on the terminal: • Native Trakker Antares application (.BIN executable binary format) • DOS application (.EXE executable format) DOS applications and native Trakker Antares applications are mutually exclusive. You can either run a DOS .EXE application or a native Trakker Antares .BIN application. To use DOS applications, the Trakker Antares terminal must be running firmware version 6.12 or later. If you are using an earlier version of firmware, you must upgrade the firmware. You can download the latest version of firmware from the Intermec web site at www.intermec.com. To run DOS applications on the terminal 1 Disable the standard RAM drive. For help, see “RAM Drive Size” in Chapter 6 of the Trakker Antares 2400 Family System Manual (P/N 071389). 2 Develop a DOS application. 3 Download the DOS application to the terminal. 4 Start DOS on the terminal. 5 Run the DOS application on the terminal and use ROM-DOS commands. Each step is explained in these instructions. You will also learn how to customize the DOS drives and learn about the limitations of using ROMDOS on the terminal.
Defining the Terminal’s DOS Drives and Memory The Trakker Antares ROM-DOS CD comes with the files you need to run DOS and DOS .EXE applications on the terminal.
6
Trakker Antares 2400 Family ROM-DOS Instructions
Page 7
nugget
39 64K read-only flash DOS boot drive 750K flash drive Drive A Drive C
Drive Drive BC
Drive C
Optional read/write DOS drive Configurable DOS RAM drive
DOS RAM Drive
24XXS085.eps
DOS drives: This illustration shows the DOS drives. On each DOS drive, filenames are customer defined using eight characters with a three-character extension. You cannot define any subdirectories.
Drive A This drive is a 64K block of flash memory that is a read-only DOS boot drive. You can configure drive A, but you cannot write to it within an application. Drive A is created and initialized once you run the DOS.BIN application.
Drive B This drive is an optional read/write DOS drive that resides as a subdirectory on drive C. Drive B is limited by the space available on drive C. You can configure drive B by modifying the DRIVEB.IMG file that defines the ROM-DOS commands available on the terminal. For help, see “Customizing Drive B” on page 18.
Drive C This drive is part of 2MB of memory that is configured as a flash drive. You can use up to 750K of this flash drive to store up to 128 files, which includes drive B. Your DOS .EXE applications must be stored on drive C. You use standard ANSI C library interface definitions to access the information on this drive. The following DOS files are installed originally on drive C. DOS Files on Drive C File DOS.BIN
Definition This application reboots and runs ROM-DOS on a Trakker Antares terminal so that you can run DOS .EXE applications.
ROM-DOS.IMG
This file is the image file for ROM-DOS version 6.22.
DRIVEB.IMG
This image file contains the contents of DOS drive B. You cannot reference drive B from a Trakker Antares .BIN application file. If you delete this file, you lose drive B and the ROM-DOS commands that are defined for drive B.
Trakker Antares 2400 Family ROM-DOS Instructions
7
Page 8
nugget
39 DOS RAM Drive This drive is a configurable DOS RAM drive. The contents of this drive are erased when you boot or reset the terminal. You use standard ANSI C functions to access the files on this drive. If you configure a DOS RAM drive, DOS assigns drive C to the RAM drive and reassigns the remaining Trakker Antares drives. For example, the Trakker Antares drive C becomes drive D. For help creating a DOS RAM drive, see “Configuring a DOS RAM Drive” on page 19. By default, the RAM drive is not configured and the memory is available for programmable (Malloc) memory. There are two types of RAM drives that are mutually exclusive depending on whether you run native Trakker Antares .BIN applications or DOS .EXE applications. You use the standard RAM drive E for .BIN applications or you use a DOS RAM drive for DOS .EXE applications. DOS .EXE applications are customer defined. You have 380K total RAM that you can use for DOS .EXE application execution space. You can also configure a DOS RAM drive. If the RAM drive is configured, your application execution space is reduced by the amount of the RAM drive. The remaining RAM is the Malloc/free memory pool.
Developing DOS Applications You can create DOS .EXE applications for the terminal using the Trakker Antares Programmer’s Software Kit (PSK) or EZBuilder (P/N 066381) and Microsoft C/C++ functions. You can download the latest version of the PSK at no charge from the Intermec web site at www.intermec.com. To purchase EZBuilder, please contact your local Intermec representative. To develop a DOS application • On your PC, create the DOS .EXE application. Create the source code for your application by using an editor and then compile it. Note: You must use the Trakker Antares PSK version 4.2 or later to create DOS applications. To support DOS .EXE applications, some PSK library functions were moved from the IM24LIB library to the LLIBCA library. The IM24LIB library contains Intermec-specific functions.
Downloading DOS Applications to the Terminal Once you have developed your DOS .EXE application, you need to download the application from your PC to the terminal. DOS .EXE applications must be stored on drive C. There are several ways to transfer files depending on the type of terminal. You can transfer the DOS .EXE applications and files by using serial or RF communications. For help, see “How to Download Applications” in Chapter 3 of the 2400 Family system manual.
8
Trakker Antares 2400 Family ROM-DOS Instructions
Page 9
nugget
39 If you use terminal-and-stay-resident (TSR) programs in your DOS application, you also need to download and install the TSR files on the terminal. If your application uses a TSR on drive C, transfer the TSR to drive C along with the application. If your application uses a TSR on drive A, you need to recreate drive A to include the TSR. For help, see “Customizing Drive A” on page 15.
Starting DOS on the Terminal Before you can run DOS applications on the terminal, you need to start DOS. After you start DOS, you can switch between DOS and the TRAKKER Antares 2400 Menu System as needed. You must run the file DOS.BIN to start DOS. There are two ways to start DOS: • Use the Run Program reader command. • Use the TRAKKER Antares 2400 Menu System. The instructions in this section briefly explain both methods. For help using the TRAKKER Antares 2400 Menu System, see your user’s manual. For help using the Run Program reader command, see Chapter 5, “Reader Command Reference,” in the 2400 Family system manual. Note: If you run DOS on the terminal, you cannot use the standard RAM drive E for native Trakker Antares .BIN applications. Disable the RAM drive before you start DOS. For help, see “RAM Drive Size” in Chapter 6 of the 2400 Family system manual. To start DOS on the terminal 1 Press q to turn on the terminal. Note: The power key on your terminal may look different depending on the type of terminal and keypad that you have. 2 Run the DOS.BIN application: • Scan this full ASCII Code 39 bar code label: Run DOS.BIN
*/O/OC/ZDOS/NBIN* *//C:DOS.BIN*
Or,
Trakker Antares 2400 Family ROM-DOS Instructions
9
Page 10
nugget
39 a To access the TRAKKER Antares 2400 Menu System, scan this bar code: TRAKKER Antares 2400 Menu System
*..-.* *..-.*
The Main Menu appears. b Choose System Menu and press the Enter key. The System Menu appears. c Choose File Manager and press Enter. The File Manager screen appears prompting you to select a drive. FILE Select
OK
MANAGER drive:
C
CANCEL 241XU054.eps d Press Enter to select drive C. The File Manager screen appears listing all the files stored on drive C.
241XU222.eps
Note: Drive C may contain additional applications, such as custom applications or terminal emulation applications. e Choose C:DOS.BIN and press Enter. f Exit the menu system.
If you made any configuration changes while you were working in the menu system, you will be prompted to store your changes in flash memory.
10
Trakker Antares 2400 Family ROM-DOS Instructions
Page 11
nugget
39 The terminal boots, resets all firmware, and starts DOS. You see the A: prompt on the terminal screen. If you turn the terminal off and then back on, the terminal either resumes exactly where it was when you turned it off, or the terminal boots and restarts DOS. Resume is controlled through the Resume Execution command. Note: When DOS is running, label or bar code data is always entered into the keyboard buffer in Wedge mode.
Running DOS Applications and Using ROM-DOS Commands After you load your files and applications, you are ready to run your DOS applications. You can use DOS on the terminal as you do on a PC with some limitations. You can create bar code labels for applications or commands that you use frequently. To run a DOS application 1 If necessary, change to the drive where the application is stored. At the DOS prompt, enter the drive letter followed by a colon (:) and press Enter, or scan one of these full ASCII Code 39 bar code labels: A:
B:
*A/Z$M*
*B/Z$M*
*A:<CR>*
*B:<CR>*
C:
*C/Z$M* *C:<CR>*
2 Enter the filename of the DOS application and press Enter, or scan a bar code label that you have created for the application. For example, if the DOS application filename is SHIPPING.EXE, you can create this full ASCII bar code label: SHIPPING.EXE
*SHIPPING.EXE$M* *SHIPPING.EXE<CR>*
Note: You can encode a <CR> (Enter) into the bar code label. If you do not include the <CR> in the bar code, you must press Enter after you scan a bar code label for a drive, command, or a DOS application.
Using ROM-DOS Commands You can use ROM-DOS commands on the terminal as you do on a PC with some limitations.
Trakker Antares 2400 Family ROM-DOS Instructions
11
Page 12
nugget
39 To use ROM-DOS commands • From the DOS prompt on the terminal, type a ROM-DOS command and press Enter to execute the command. For example, you can list the files on drive C by entering this command: dir
You can also scan a bar code label that you have created for the ROMDOS command. For example, you can scan this full ASCII bar code label to use the DIR command: DIR command
*DIR$M* *DIR<CR>*
There are internal and external ROM-DOS commands. Internal commands such as CLS and DIR are built into the main body of ROMDOS and are implemented within COMMAND.COM. When you load DOS into memory, all internal commands are available. The external ROM-DOS commands are defined on drive B. For help using ROMDOS commands, refer to a DOS manual. Note: You must use the ROM-DOS commands that are provided on the Trakker Antares ROM-DOS CD for the Trakker Antares terminal. DOS commands or ROM-DOS commands copied from another computer will not run on a Trakker Antares terminal. The next table lists the ROM-DOS commands and the level of support that is provided on the Trakker Antares terminal. ROM-DOS Commands in Alphabetical Order ROM-DOS Command ATTRIB
Supported? Yes
CD
Yes
CHKDSK
Limited
CHOICE
Yes
CLS
Yes
COPY
Yes
DATE
Yes
DEL
Yes
DELTREE
Yes
DIR
Yes
DISKCOMP
Limited
DUMP
Yes
ECHO
Yes
12
External ROM-DOS Command on Default Drive B Yes
Notes You can only use ATTRIB on DOS drives. You can only use CHKDSK on DOS drives.
Yes
Yes
You can only use DELTREE on DOS drives. You can only use DISKCOMP on DOS drives.
Yes
You can only use DUMP on DOS drives.
Trakker Antares 2400 Family ROM-DOS Instructions
Page 13
nugget
39
ROM-DOS Commands in Alphabetical Order (continued) External ROM-DOS Command on Default Drive B
ROM-DOS Command ERASE
Supported? Yes
EXIT
Yes
FIND
Yes
FOR
Yes
GOTO
Yes
IF
Yes
LOADHIGH
No
MEM
Yes
MIRROR
Limited
MODE
Limited
Yes
MORE
Yes
Yes
MOVE
Yes
Yes
PAUSE
Yes
PM
Yes
PROMPT
Yes
REM
Yes
REMDISK
No
REMSERVER
No
REN
Yes
RSZ
No
SET
Yes
SHIFT
Yes
SORT
Yes
Standard console redirection commands
Yes
SUBST
Yes
SYS
Limited
TIME
Yes
TREE
Yes
TYPE
Yes
VDISK
Yes
VER
Yes
Notes
Yes
Yes You can only use MIRROR on DOS drives.
Yes
The MODE command is limited by the lack of PCcompatible hardware on the Trakker Antares terminal.
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. For help using PM.COM, see the next section.
Yes
Yes You can only use SYS on DOS drives. Yes Yes
VERSION.SYS
Yes
Yes
XCOPY
Yes
Yes
Trakker Antares 2400 Family ROM-DOS Instructions
Use VDISK to create a DOS RAM drive.
13