The text of a manual · part 7 of 17
Apex III / Apex IV Technical Reference Manual, Second Edition, pages 61 to 70
Pages 61 to 70 of 168
The original document is the PDF (1.2 MB). 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 Compsee Apex III and Compsee Apex IV
Page 61
Apex PDT Technical Reference Manual
5
5 Operating System
OPERATING SYSTEM
Introduction The Apex PDT utilizes the Datalight ROM-DOS operating system (version 6.22). Designed for embedded and mobile computing environments, ROM-DOS provides the features of MS-DOS. ROM-DOS is fully compatible with all DOS standards and uses device drivers making BIOS calls for all hardware communications. While having the advantage of flexibility and compatibility, ROMDOS was independently written by Datalight to be compact and is nearly half the size of MS-DOS.
ROM-DOS Conventions Since ROM-DOS is fully compatible with MS-DOS, it employs the same basic conventions as other DOS Operating Systems. These conventions include the following: q q q q q q
Note:
Two part filename structure (name.ext, with eight character filename limitation and three character extension). Filename extension properties (.com, .exe, and .bat reserved for executable and batch programs). Tree-structured directory system. Drive designations the same as MS-DOS (for the Apex PDT, A: is the Boot Drive, B: is a placeholder drive, C: is the mass-storage drive, and additional drives subsequent letters as designated). System prompt (e.g. C:) and Command Line (area to the right of the system prompt) used in the same fashion as MS-DOS. Input and output redirection through the use of the right angle bracket (> - output) and the left angle bracket (< - input). Refer to the ROM-DOS User’s Guide included on the supplied Compsee Product Support CD for additional information on ROM-DOS characteristics or features.
COAM30002
Rev. 2.00
8/13/02
5-1
Page 62
Apex PDT Technical Reference Manual
5 Operating System
Configuring ROM-DOS Config.sys File Certain standard settings for your system’s operation are stored in a file named [config.sys]. You may create or edit the file using a word processor or the COPY CON command. The file must be placed in the root directory of the drive that is used for system startup or boot. In the case of the Apex PDT two [config.sys] files are used (one on the A: drive and one on the C: drive). The A: drive is the boot drive on the Apex PDT and is a read only drive reducing the chance of damage to the system files to ensure bootup of the unit. The Apex PDT default [config.sys] files are shown below: A:\>[config.sys] files=40 buffers=20 device=fxdos.sys device=d000wndw.sys NEWFILE=c:\config.sys
Note:
The NEWFILE command in the last line of the A:[config.sys] ties this file to the C:[config.sys] file shown below.
C:\>[config.sys] device=c:\dos\himem.sys /a20+ device=c:\dos\emm386.exe /I=a000-afff /x=b000-cfff /x=d000-dfff /x=e000-ffff LASTDRIVE=Z: REM ************************ REM ** Load Phoenix Card & REM ** Socket Services REM ************************ REM by PicoCard V4.02a DEVICE=C:\PICOCARD\PROGRAM\DPMS.EXE DEVICE=C:\PICOCARD\PROGRAM\CNFIGNAM.EXE /DEFAULT DEVICE=C:\PICOCARD\PROGRAM\PCMSS.EXE DEVICE=C:\PICOCARD\PROGRAM\PCMCS95.EXE DEVICE=C:\PICOCARD\PROGRAM\PCMRMAN.SYS DEVICE=C:\PICOCARD\PROGRAM\PCMMTD.EXE DEVICE=C:\PICOCARD\PROGRAM\PCMSCD.EXE DEVICE=C:\PICOCARD\PROGRAM\PCMATA.SYS DEVICE=C:\PICOCARD\PROGRAM\TFFSCS.COM /DRIVE=D SIZE=4096
5-2
COAM30002
Rev. 2.00
8/13/02
Page 63
Apex PDT Technical Reference Manual
5 Operating System
Autoexec.bat File In addition to the [config.sys] file, device and configuration startup commands and paths are loaded into the system operating environment by the [autoexec.bat] file, which is also located in the root directory. Programmers and application developers may use this file to load their applications into the Apex PDT system. As with the [config.sys] file, the Apex PDT utilizes two [autoexec.bat] files (one on A: drive and one on C: drive). The Apex PDT default [autoexec.bat] files are shown below: A:\>[autoexec.bat] @echo off prompt=$p$g path=a:\;c:\dos;c:\bin; c: %IF EXIST c:\autoexec.bat c:\autoexec
Note:
The %IF EXIST command in the last line of the A: [autoexec.bat] file ties the file to the C: [autoexec.bat] file.
C:\>[autoexec.bat] REM **************************
REM **************************
REM ** Phoenix Card & Socket
REM ** Bar Code Driver
REM ** Services
REM ** User setup
REM **************************
REM **
PATH=C:\PICOCARD\PROGRAM;%PATH%
REM ** Remove the ‘REM’ from
REM **************************
REM ** the next line and
REM ** Infrared Port Enable
REM ** include modifiers as
REM **
REM ** required by the app.
REM ** For maximum power
REM **************************
REM ** savings, turn IR port
REM C:\BIN\bcdriver
REM ** OFF when not in use
REM **************************
REM **************************
REM ** Application
A:\IR ON
REM **
REM **************************
REM ** Add application path
REM ** Bar Code Driver
REM ** and name below
REM ** Factory default
REM **************************
REM **************************
REM application command here
C:\BIN\bcdriver all
COAM30002
Rev. 2.00
8/13/02
5-3
Page 64
Apex PDT Technical Reference Manual
5 Operating System
Command Line Functions Note:
For a detailed description of the ROM-DOS commands and their syntax and parameters, refer to the ROM-DOS User’s Guide included on the Compsee Product Support CD which came with the unit. The command line is the area to the right of the DOS prompt (C:\>). These commands must be loaded either during system boot in the [config.sys] or [autoexec.bat] files (as indicated) or from the command line. ROM-DOS commands are listed below: Note:
Table entries with a file size denoted are utility programs, which require loading into the Apex PDT.
Command Summary Command/(Type)
Size (bytes)
?
@ ; ANSI.SYS
3434
ATA.SYS ATTRIB
9966 11300
BACKUP
21544
BREAK BUFFERS CALL CHDIR (or CD) CHKDSK
18624
CHOICE
2582
Description [config.sys] command. Directs ROM-DOS to pause for confirmation before processing a command Used to suppress the display of a single batch file command line. Identifies non-executing lines. Same as the REM command. A console device driver that allows you to support ANSI codes on the local screen. A PCMCIA ATA disk device driver. Displays or modifies the attributes associated with a file. Backup a single directory tree to a floppy disk, hard drive, or network drive. Turns ON or OFF the ability to stop program execution at a non-I/O point. Used in the [config.sys] file. Sets the number of internal data buffers. Batch file command. Invokes execution of a secondary batch file. Changes the current directory. Same as CD. Checks the integrity of the data on a disk and displays information pertaining to the same. Allows a user to make a processing choice during the execution of a batch file.
Table 5-1: ROM-DOS Command Summary Information
5-4
COAM30002
Rev. 2.00
8/13/02
Page 65
Apex PDT Technical Reference Manual
Command
Size
CLS COMMAND.HLP COMMAND.COM COMM
11,019 31533 46426
10597
DATE DEFRAG
29736
DEL DELTREE
14264
DEVICE DEVICEHIGH DIR DISKCOPY
15236
ECHO
EMM386
20864
ERASE EXIT FCBS
FILES
FIND
Description Clears information from a screen or display and returns you to the DOS prompt (C:\>)
COPY COUNTRY CTTY
5 Operating System
Starts a second DOS command processor. Provides the ability to communicate with a remote ROM-DOS system. COMM supports XMODEM file transfer, autodialing, ZMODEM, and terminal emulation. Copies files from one storage location to another. Designates the country code for displays. Changes the default terminal interacting with ROM-DOS. Displays and allows revisions to the system date information. Reorganizes disk files and information to optimize disk space and performance. Deletes specified files. Deletes one or more directory trees or individual files. Installs a device driver into ROM-DOS. Loads the device driver specified into the upper memory area if space is available. Lists the contents of a specified directory. Copies the contents of one floppy disk to another of the same type. Batch file command. Turns off the display of batch file execution command lines on the monitor or display screen. Enables expanded memory support for capable systems. Erases specified files (same as DEL). Used to exit nested running of ROM-DOS within another program. Specifies the number of File Control Blocks (FCBS) open at one time. Normally specified in the [config.sys] file. Specifies the maximum number of files, which can be open at one time. Normally specified in the [config.sys] file.
10928
FOR
Works as a filter to containing a specified string. Batch file command. command on a set of files.
display only
Performs lines one
DOS
Table 5-1: ROM-DOS Command Summary Information (Continued)
COAM30002
Rev. 2.00
8/13/02
5-5
Page 66
Apex PDT Technical Reference Manual
5 Operating System
Command
Size
Description
FORMAT
35056
FXCHK
13990
FXFMT
18928
FXINFO
15254
FXRECLM
11830
Initializes a disk so ROM-DOS can access the files on that disk. Checks all flash disk space, stress tests each spare unit, and displays the status of all units. Syntax: FXCHK <drive>, where drive is the drive letter for the unit to be checked. Formats flash drive (drive C:) on Apex PDT. Syntax: FXFMT <drive> [/V], where: drive = drive C: /V = Volume Label Example: Formats flash disk C: and labels the drive as Compsee. fxfmt C: /VCompsee Reports detailed low level flash information, format characteristics, and flash array usage information. Run in the same manner as the CHKDSK utility. Used to recover discarded flash disk space by forcing a garbage collection. Can be run as a lowpriority background task to maintain higher than normal flash array performance. Syntax: fxreclm <drive> [<count>], where count is the number of successive garbage collection operations. Batch file command. Moves control to a specified line within the batch file. Lists all available ROM-DOS commands along with a brief description. Extended and high memory manager for 286, 386, and PS/2 systems. Batch file command. Performs a command based on a specified condition. Allows instructions on one configuration block to be used in another configuration block. Loads Terminate and Stay Resident (TSR) programs from within the [config.sys] file
GOTO HELP HIMEM
5833
IF INCLUDE INSTALL KEYB KEYBOARD/ KEYBRD2.SYS LABEL LASTDRIVE
6417
Allows keyboard layout altering for a different language or nationality. Keyboard code page data files for use with the International keyboard driver [keyb.com].
8998
Creates, changes, or deletes a disk volume label. Specifies the letter used and the maximum number of drives.
Table 5-1: ROM-DOS Command Summary Information (Continued)
5-6
COAM30002
Rev. 2.00
8/13/02
Page 67
Apex PDT Technical Reference Manual
Command
Size
LOADHIGH LONGDIR
7976
MEM
7631
MENUCOLOR MENUDEFAULT MENUITEM MKDIR (or MD) MODE MORE MOVE MSCDEX NEWFILE
9968 8372 16446 25471
NUMLOCK PATH PAUSE POWER PRINT PROMPT REM
12742
REMDISK
12415
REMSERV
9761
REMQUIT
106
REN RESTORE
20684
5 Operating System
Description Loads a program into the upper memory area, if space is available. Provides a directory listing of files in a single directory including those with long file names. Displays the memory allocations within your system. Allows startup menu text and background color specification. Sets the default menu-item choice and time-out value for making a selection. Specifies an item to be placed on the startup menu display during system boot. Creates a new subdirectory. Modifies the operation of the printer, serial port, and active video display. Displays a text file one screen at a time. Moves and renames files and directories. Enables the use of a CDROM drive. Allows the continuation of [config.sys] file processing from a new file. Turns the Numlock keyboard key ON or OFF. Used from within the [config.sys] file. Displays current command search paths and allows specification of new paths. Batch file command. Causes program execution to halt until a key is pressed. Conserves system power. Prints a list of up to 10 files. Resets the appearance of the system prompt. A batch file command. Identifies command lines which are not to be executed (also see ”;”). The remote disk program allows you to access a disk drive on a remote system via a serial cable and standard PC-style (8250UART) serial port. Acts as a client program, and must be used with [remserv.exe] (see below). Works as the server program for [remdisk.exe]. The server system runs the program [remserv.exe] that can make a single drive on the server system available to the client. Terminates the [remserv.exe] program via the serial connection. Renames files. Restores files to the hard disk, which were previously saved using the Backup command.
Table 5-1: ROM-DOS Command Summary Information (Continued)
COAM30002
Rev. 2.00
8/13/02
5-7
Page 68
Apex PDT Technical Reference Manual
Command
Size
RMDIR (or RD) RSZ
31858
SET SHARE
4228
SHELL SHIFT SORT
10960
STACKDEV.SYS STACKS SUBMENU SUBST SWITCHES SYS
20396
TIME TREE
9194
8604
TYPE UMBLINK
5198
VDISK
7844
VER VERIFY VERSION.SYS
256
VOL XCOPY
25544
5 Operating System
Description Removes or deletes the specified directory. RSZ.EXE is a ZMODEM file transfer utility used to transfer files over a serial port to another machine running the ZMODEM file transfer protocol. Sets environmental variables and command process strings. Installs the capabilities for file sharing and file locking on your hard drive. Allows selection of a command interpreter other than [command.com]. Batch file command. Shifts replaceable parameters one position to the left. Sorts a text file and displays the output to the standard device. Increases the number of stacks available for IRQ handlers and Int3h. Allows the use of dynamic data stacks to handle interrupts. Defines a secondary menu item. Allows one drive to appear as another drive. Allows special [config.sys] file options. Transfers the hidden system files to a specific drive. Displays and allows resetting of system time. Display the path of each directory on a specific drive. Display the contents of a text file on the monitor or display screen. A non-protected mode program, which can allow the creation of upper memory blocks using existing RAM areas. Allows the use of memory as a simulated disk drive. Display the current version of ROM-DOS on the monitor. Displays the current VERIFY state or sets the VERIFY state to ON or OFF. Modifies the version number that ROM-DOS reports. Displays the specified disk’s volume label. Copies multiple files and optional subdirectories.
Table 5-1: ROM-DOS Command Summary Information (Continued)
5-8
COAM30002
Rev. 2.00
8/13/02
Page 69
Apex PDT Technical Reference Manual
5 Operating System
Boot Drive File Information (A:) The Apex PDT utilizes the A: drive as the boot drive. Factory installed files on this READ ONLY drive are as follows: Volume in drive A is BOOT_DRIVE Directory of A:\> COMMAND.COM 28,957 CONFIG.SYS 84 AUTOEXEC.BAT 92 REMDISK.EXE 10,019 FXDOS.SYS 16,611 D000WNDW.SYS 193 IR.COM 442 7 file(s) 56,398 bytes
10-31-1997 08-02-1999 12-06-1999 10-31-1997 12-03-1999 04-29-1999 02-12-2001
6:22a 3:08p 9:15a 6:22a 7:46p 8:48a 10:33a
[command.com] ROM-DOS command line interpreter. Analogous to the MS-DOS file by the same name. [config.sys] See previous description in this section. [autoexec.bat] See previous description in this section. [remdisk.exe] A remote disk utility program provided with Datalight ROM-DOS. Refer to the Utility Program section of this manual for a detailed description. [fxdos.sys] ROM-DOS device driver that makes the Apex PDT flash memory appear as a standard high-performance disk drive to the operating system. [d000wndw.sys] A temporary device driver that frees up a memory block used during the boot process. When finished with its task, the driver will uninstall itself thereby freeing up additional RAM. [ir.com] The Apex PDT’s Infrared Port Utility. Refer to the Utility Program section of this manual for a detailed description.
COAM30002
Rev. 2.00
8/13/02
5-9
Page 70
Apex PDT Technical Reference Manual
5 Operating System
Primary Drive File Information (C:) Note:
Files listed are given as an example. Actual files may vary depending on the date your unit was issued. Contact Compsee Inc. for an exact file listing or to receive upgraded files. The maximum files that can be contained within the root directory is 240. The Apex PDT primary drive (C:) is a read/write flash drive. The Apex PDT mass storage directory contains the following files and directories when it comes from the factory (additional files can be added as necessary for specific applications): Volume in drive C is Compsee Volume Serial Number is 64E2-A069 Directory of C:\> DOS <DIR> BIN <DIR> PICOCARD <DIR> CONFIG SYS 648 AUTOEXEC BAT 848 5 file(s) 1,553 bytes
01-06-2000 01-06-2000 01-06-2000 09-28-2000 01-11-2001
5:46p 5:46p 5:46p 1:24p 7:52a
DOS Directory Files: VDISK.EXE HIMEM.SYS EMM386.EXE POWER.EXE REMSERV.EXE
BIN Directory Files: BCDRIVER.EXE CBE.EXE FONTSIZE.EXE DX.EXE FLASHIT.EXE
PICOCARD Directory Files: The files in the PicoCard directory are all the files necessary to use the PC Card slots. Refer to the following page for a directory of these files.
5-10
COAM30002
Rev. 2.00
8/13/02