Unitech PT-500 User Manual

Page 33

Advertising
background image

32

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.

Advertising