VIII
APPENDIX
FILE DUMP DATA BLOCK
F_DPKT
F0 2F 0c 02 oc oo <pkt> cc F7
c = channel (0-F)
oc = own channel (0-F)
oo = number of octects
pkt = binary data in octects
cc = checksum (xor of all bytes from 2F)
After the receiver has received the data packet, the _WAIT
command is sent back and the checksum test is then
performed; if the checksum test fails, the receiver sends
back a NACK command and the host must repeat the
same data. If the test is ‘ok’, the receiver converts (conv7_8
ex.2) then sends back an ACK command and the host can
then send the next packet.
FILE DUMP REQUEST
F_DREQ
F0 2F 0c 03 rc <file name> <location> cc F7
c = channel (0-F)
rc = request channel (0-F)
file name = 8 chars file name + 3 chars extension
location = 1 up 80 chars string NULL terminate
cc = checksum (xor of all bytes from 2F)
After the receiver has received the F_DREQ command,
the _WAIT command is sent back and the checksum test
is then performed; if the checksum test fails, the receiver
sends back a NACK command and the host must repeat
the command. If the test is ‘ok’, the receiver tries to open
the file. If an error occurs during this operation, an
F_ERR command is sent back, otherwise an F_DHDR is
sent back.
FILE DIRECTORY HEADER
DIR_HDR
F0 2F 0c 00 oc <dir name> ff <info> <location> cc F7
c = channel (0-F)
oc = own channel (0-F)
dir name = 8 chars file name + 3 chars extension
ff = flags
info = 2 octects = 16 bytes of bynary info time/date/length/
instrument ID/file id
location = 1 up 80 chars string NULL terminate
cc = checksum (xor of all bytes from 2F)
This command is used to send directory information.
FILE DIRECTORY REQUEST
DIR_DRQ
F0 2F 0c 04 rc <dir name> <location> cc F7
c = channel (0-F)
rc = request channel (0-F)
dir name = 8 chars file name + 3 chars extension
location = 1 up 80 chars string NULL terminate
cc = checksum (xor of all bytes from 2F)
FILE ERROR
F_ERR
F0 2F 0c 7B oc ee cc F7
c = channel (0-F)
oc = own channel (0-F)
ee = error number (0-7F) (ex. 4)
Example 4: FILE ERROR IDENTIFIERS
enum {
No_error,
Job_invalid, Job_in_use, Operation_invalid,
Drive_invalid, Drive_no_write,
Media_invalid, Media_corrupt, Media_protected,
Media_full,
Media_not_inserted, Media_not_equal,
File_not_found, File_open, File_in_write, File_protected,
File_exists,
MFH_error
};
Содержание S2 Turbo
Страница 1: ......
Страница 3: ...MUSICPROCESSORS OWNER S MANUAL ...
Страница 17: ...INTRODUCTION 1 1 INTRODUCTION INTRODUCTION ...
Страница 21: ...5 LAYOUTS 2 LAYOUTS S2 S3 Front panel S2 S3 Rear panel S2R Front panel S2R Rear panel ...
Страница 42: ...26 OVERVIEW ...
Страница 120: ...104 PRACTICAL GUIDE ...
Страница 140: ...124 SAMPLE TRANSLATOR ...
Страница 256: ...II APPENDIX ...
Страница 257: ...MIDI iii MIDI IMPLEMENTATION CHART MIDI CONTROLLERS SYSTEM EXCLUSIVE ...
Страница 267: ...Waveforms Sounds Performances xiii WAVEFORMS SOUNDS AND PERFORMANCES ...
Страница 278: ...XXIV APPENDIX ...
Страница 279: ...ROM Drumkits and Percussion Samples xxv DRUMKITS AND PERCUSSION SAMPLES ...
Страница 291: ...TECHNICAL SPECIFICATIONS xxxvii TECHNICAL SPECIFICATIONS ...
Страница 293: ...GLOSSARY a GLOSSARY ALPHABETICAL INDEX TROUBLESHOOTING GLOSSARY ALPHABETICAL INDEX TROUBLESHOOTING ...
Страница 302: ...J TROUBLESHOOTING ...