Specifications
S1C62N82 TECHNICAL SOFTWARE EPSON II-105
APPENDIX E: THE FORMAT OF MELODY SOURCE FILE
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.
Control of the attack output is written.
When "1" is written, attack output is performed. When "0"
is written, attack output is not performed.
Eight notes can be specified with the melody ROM codes D6
through D8. Fill in the note field with numbers from 1 to 8.
Scale field
Attack field
Note field
No.
Note
1 2 3 4 5 6 7 8
The scale field can be filled in with any scale data (C3
through C6#).
When inputting the code directly, prefix the code with "$".
In this case, the input code range is 00H through FDH.
The instruction indicating the end of the melody is written
in the end bit field. When "1" is written, the melody finishes
with the melody ROM code of that address. Otherwise, write
"0", or omit it altogether.
Any comment, such as the program index or processing
details, can be written in the comment field, with no affect
on the object file created with the assembler.
The comment field is the area between the semicolon ";" and
the CR code at the end of the line.
A line can be made up of a comment field alone. However, if
the comment extends into two or more lines, each line must
be headed with a semicolon.
End bit field
Comment field