ACC Utilities Reference Guide
26 Chapter1
ZDGEN - ZCOM Device Table Generator
Running ZDGEN
Running ZDGEN
The ZDGEN program reads the ASCII device definition file and
generates a binary file that is used by TTGEN to build the memory
image file for the ZCOM system.
The run string for ZDGEN is as follows:
zdgen <InputFile> <DeviceFile>
- <InputFile> is the ASCII file
- <DeviceFile> is the generated binary device file
Remembertospecifyasmuchofthedirectorypathofeachofthefile
names as is necessary. Usually, InputFile is specified as
/opt/acc/cfg/zcomdevice.txt and DeviceFile is specified as
/opt/acc/cfg/zcomdevice. ZDGEN does not default to these file names,
becausetherearesomecircumstanceswhereitisusefultospecifyan
alternate.
The getdevice routine, as used by TTGEN, also uses the ZDGEN
generated ZCOM device file /opt/acc/cfg/zcomdevice. getdevice is also
called by the ZCOM utility programs ZTERM and ZMNTR, so these
programs also require the ZCOM device file /opt/acc/cfg/zcomdevice.
See the ACC Programmer’s Reference Guide for information on the
getdevice routine.
If DeviceFile already exists, the program will ask whether t o purge the
existing file before it proceeds.
When the conversion is finished, the program displays how many lines
were read, and how many devices were defined.










