
11. SAMPLE PROGRAM
B–61863E–1/06
APPLICATION
PROGRAMMING GUIDE
448
The sample program consists of the following source files, compilation
files, link command files, and execution load modules.
When changing the program, re-compiling, or re-linking, be sure to
modify the program to match the system environment.
(1) Source files
CTL.C Source file for link control statement data. . . . . . .
MDI.C Source file for tasks issued by PMCMDI. . . . . . .
DEMO.C Source file for screen display tasks. . . . .
(2) Batch file for compilation and linking
MAKE.BAT Single batch file for compilation, binding, . . .
building, and Intel hex-file creation
(3) Bind command files
MDI.CON For binding PMCMDI-issued task . . . .
DEMO.CON For binding screen display task. .
SMPL.CON For binding all tasks with the PMC library. . .
(4) Build file
DEMO.BLD
(5) Build result output file and MAP file
SMPL.MP2 Build result output file. . .
SMPL.MAP MAP file. . .
(6) Execution module hex format file
SMPL.HEX
(7) Batch files for transferring execution load module files
LDPC98 Transfers execution file SMPL.HEX for PC-9801.. . . . . .
LDPCAT Transfers execution file SMPL.HEX for PC/AT.. . . . .
11.1
FILE
CONFIGURATION