Kurzweil K2000 - MUSICIANS GUIDE Musician's Manual page 453

Table of Contents

Advertisement

DUMP = 00h
type(2) idno(2) offs(3) size(3) form(1)
Érequests the K2vx to send a data dump of an object or portion thereof. ÔtypeÕ and ÔidnoÕ
identify the object. ÔoffsÕ is the offset from the beginning of the objectÕs data and ÔsizeÕ describes
how many bytes should be dumped starting from the offset. ÔformÕ indicates how the binary
data is to transmitted (0=nibblized, 1=bit stream). The response is a LOAD message:
LOAD = 01h
type(2) idno(2) offs(3) size(3) form(1) data(n) xsum(1)
Éwhich writes data into the speciÞed object, which must exist. Both load and dump operate on
the object data only. The response to a load message will be
DACK = 02h
type(2) idno(2) offs(3) size(3)
Émeaning Òload acceptedÓ, or
DNAK = 03h
type(2) idno(2) offs(3) size(3) code(1)
Émeaning Òload not accepted.Ó The ÔcodeÕ Þeld indicates the cause of the failure, as follows::
code
meaning
1
Object is currently being edited
2
Incorrect checksum
3
ID out of range (invalid)
4
Object not found (no object with that ID exists)
5
RAM is full
To request information about an object, use:
DIR = 04h
type(2) idno(2)
The ÔtypeÕ and ÔidnoÕ identify the object. The response is an INFO message:
INFO = 05h
type(2) idno(2) size(3) ramf(1) name(n)
This is the response to DIR, NEW, or DEL. If object is not found, ÔsizeÕ will be zero and ÔnameÕ
will be null. ÔramfÕ is 1 if the object is in RAM.
NEW = 06h
type(2) idno(2) size(3) mode(1) name(n)
Écreates a new object and responds with an INFO message of the created object. The objectÕs
data will not be initialized to any default values. If ÔidnoÕ is zero, the Þrst available object ID
number will be assigned. If ÔmodeÕ is 0, the request will fail if the object exists. If ÔmodeÕ is 1,
and the object exists in ROM, a RAM copy will be made. If ÔmodeÕ is 1, and the object exists in
RAM, no action is taken.
DEL = 07h
type(2) idno(2)
Édeletes an existing object and responds with an INFO message for the deleted object. If there
is only a RAM copy of the object, the response will indicate that the object doesnÕt exist
anymore. However, if the deletion of a RAM object uncovers a ROM object, the INFO response
will refer to the ROM object. A ROM object cannot be deleted.
System Exclusive Protocol
K2vx System Exclusive Implementation
30-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

K2vxK2vxrK2500rs

Table of Contents