beautypg.com

Unitech PT-500 User Manual

Page 33

background image

32

MAININFO COM

Converter

SETENV BAT

Set the environment

ASM BAT

Assembly

C51 BAT

Compiler

LNK BAT

Linker

H

C Header files

C

C Source files

R03

Object & Lib files

S03

Assembly files

XCL

Cross files

APP

C-Source files

LST

List files

MAP

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 sub-directory called
APP.C, and one Assembly source file in
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.