Epson S1C62 Family ユーザーズマニュアル

ページ / 219
MELODY ASSEMBLER MLA628X
IV-4
EPSON
S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
Table 4.2.1  Notes and corresponding codes
Table 4.2.2  Rests and corresponding codes
When the "RR" (rest) is described in scale
field, the rest may be selected from among 8
types as shown in Table 4.2.2.
Eight notes can be specified with the 3 bits
melody data.  Fill in the note field with
numbers from 1 to 8.
4 FORMAT OF SOURCE FILE
Contents of the source file, created with an editor such as EDLIN, are configured from the
S1C628XX melody codes and the pseudo-instructions described later.
4.1 Source File Name
The source file can be named with a maximum of any seven characters.  As a rule, keep to the following
format.
C28XYYY.MDT
Three alphanumerics are entered in the "YYY" part.  Refer to the model name from Seiko Epson.  The
extension must be ".MDT".
4.2 Statement (line)
Write each of the source file statements (lines) as follows:
Basic format: <Attack>
<Note>
<Scale>
<End bit>
  <; comment>
Example:
.TEMPC0=5
.TEMPC1=8
.OCTAVE=32
;
1
1
C3
:
:
:
0
6
A4#
1
;1st Melody
:
:
:
Attack field
Note field
Scale field
End bit field
Comment field
The statement is made up of the five fields: attack field, note field, scale field, end bit field, and comment
field.  Up to 80 characters can be written in the statement.  The fields are separated by one or more spaces
or by inserting tabs.
The end bit fields and comment fields can be filled in on an as-needed basis.
A blank line is also permitted for the CR (carriage return) code only.  However, it is not permitted on the
last line. Each of the fields can be started from any column.
(1) Attack field
Control of the attack output is written.
When "1" is written, attack output is performed.  When "0" is written, attack output is not performed.
(2) Note field
No.
Note
1
2
3
4
5
6
7
8
No.
Rest
1
2
3
4
5
6
7
8