CHAPTER 12: MASK DATA CHECKER
S5U1C63000A MANUAL EPSON 281
(S1C63 FAMILY ASSEMBLER PACKAGE)
CHAPTER 12 MASK DATA CHECKER
12.1 Outline of the Mask Data Checker winmdc
The Mask Data Checker winmdc is the software tool for checking the format of each generated file and
creating the files necessary to generate mask patterns. winmdc checks the HEX files of the code ROM and
data ROM generated by the HEX converter hx63, the function option document file generated by the
function option generator winfog, and the segment option document file generated by the segment
option generator winsog. The winmdc also has a function for restoring the created mask data file into the
original file format.
12.2 Input/Output Files
Figure 12.2.1 shows the input/output files of winmdc.
Mask data created
(packed)
To Seiko Epson
Device information
definition file
s1c63xxx.ini
Code ROM
HEX file
Data ROM
HEX file
Melody ROM
option
document file
zzzzzzzz.mdc
uzzzzzzz.mdc
Function
option
document file
Segment
option
document file
winmdc
Data restored
(unpacked)
winmdc
Pack file
(mask data file)
zzzzzzzz.lsa
zzzzzzzz.csa zzzzzzzz.fdc zzzzzzzz.sdc
zzzzzzzz.hsa
uzzzzzzz.lsa
uzzzzzzz.csa uzzzzzzz.fdc uzzzzzzz.sdc
uzzzzzzz.hsa
c63xxx··yyy.paN
Fig. 12.2.1 Input/Output Files of winmdc
Device information definition file (s1c63xxx.ini)
This file contains option lists for various types of microcomputers and other information. Always be
sure to use the files presented by Seiko Epson. This file is effective for only the type of microcomputer
indicated by the file name. Do not modify the contents of the file or use the file in other types of
microcomputers.
Code ROM HEX files (zzzzzzzz.hsa, zzzzzzzz.lsa)
Both these files are Motorola S2 format HEX files, with the 5 high-order bits of object code (13 bits)
stored in ".hsa" and the 8 low-order bits of object code stored in ".lsa". These files are created from the
object files output by the linker lk63 by converting them into HEX format using the HEX converter
hx63. For details about hx63, refer to Chapter 6, "HEX Converter".
Data ROM HEX file (zzzzzzzz.csa)
This is a Motorola S2 format HEX file containing the 4-bit data to be written into the data ROM. This
file is created simultaneously with the code ROM HEX files by hx63. This file is available for only
microcomputers featuring built-in data ROM.
Function option document file (zzzzzzzz.fdc)
This is a text format file in which the contents of selected function options are stored. This file is
created by the function option generator winfog.
Melody ROM option document file (zzzzzzzz.mdc)
This is a text format file in which the contents of selected melody ROM options are stored. This file is
created by the melody generator winmla. This file is available for only microcomputers with set
melody options.