Unitech PT-500 Maininfo COM, Setenv BAT, Asm Bat, Lnk Bat, Xcl Dir, App Dir, Lst Dir, Map Dir

Page 33

MAININFO COM

Converter

SETENV BAT

Set the environment

ASM

BAT

Assembly

C51

BAT

Compiler

LNK

BAT

Linker

H

<DIR>

C Header files

C

<DIR>

C Source files

R03

<DIR>

Object & Lib files

S03

<DIR>

Assembly files

XCL

<DIR>

Cross files

APP

<DIR>

C-Source files

LST

<DIR>

List files

MAP

<DIR>

Map files

The following steps illustrate how to create an application under the MS-DOS operating system:

1.Select PT500 as the current directory.

2.Type SETENV to set the environment.

3.Create a project file called APP.PRJ in the PT500 directory. It will contain one text line: R03\APP.R03 R03\APPRES.R03. We will have one C source file in <APP> sub-directory called APP.C, and one Assembly source file in <S03> sub-directory called APPRES.S03.

4.TYPE C51 APP.

5.TYPE ASM APPRES.

6.TYPE LNK APP.

7.Get APP.BIN. Download it to the portable and run. Hold the scan key down. The portable will scan again and again automatically every 3 seconds.

32

Image 33
Contents USER’S Guide Page Chapter Installation Table of ContentOverview Software System Technical SpecificationApplication Development UPC, EAN, CODE39, I 2 of 5, CodbarPower On and Off the PT-500 Main BatteryBatteries Backup Battery Using the Keypad Turn on and off of the terminal Interface Port Triggering the Scanner ModuleOptional Charging and Communication Cradle Side Comm SpareMain PowerOperation Ready Mode Page RUN Menu System ModeSET Menu Main MenuTime Menu Code Menu Comm Menu Beep MenuFnky Menu Define F1 Misc Menu DEL Menu DIR MenuDiag Menu Diag LCDDiag KBD Diag COM Diag MEMInit Menu Input EasyJob ModePurge DumpOFF /ON FormatMMDDYYYYhhmmss CRLF/NONE/CR/LFIf ON, each record will include a EXE Application ModeXlink EXE Xlib EXESetenv BAT Maininfo COMASM BAT LNK BAT