Contents |
Effect
Transfer the specified concatenated data from the binary table in VRAM to the RAM with the ability to execute it.
Syntax
CALL BINLOAD (<Number>,<FunctionDependenceFlag>,<DestinationAddress>,<Length>)
Only the first parameter needs to be used in all cases. Parameters can not end with a comma alone.
Parameters
<Number> is a integer value on 1-byte to store the following flags.
- bits 0 to 5 is the number of stored data (0 to 63) in table. This number specifies which data to transfer to the RAM and to execute it. Normally, the information of concatenated data corresponding to specified number are written in the information area of DM-system2 and the processing is terminated. When "0" is specified, header information of the binary table is written.
- bit 6 is the copy mode (0 for OFF, 1 for ON). This mode performs a transfer of data corresponding to specified number in binary table to destination address set. If concatenated data are compressed in BPE format, it will be automatically expanded.
- bit 7 is the run mode (0 for OFF, 1 for ON). This mode allows to execute transferred data (if the type of data matches). If concatenated data are compressed in BPE format, it will be automatically expanded.
<FunctionDependenceFlag> is a 1-byte integer that replace the same flag from binary table. By default, the flag from the binary table is used.
<DestinationAddress> is a 2-byte integer that specifies the first destination address of data.
<Length> is a 2-byte integer that specifies the number of bytes to transfert.
<DestinationAddress> and <length> must be omitted when the data format has same as COPY instruction format (first byte is x coordinate and the second is y coordinate).