MSD-501/502 Command Guide
92
@GBD / @SBD
Dividing bitmap memory
Function
Getting
Setting
Format
@GBD
@SBD, num, mode (, size_1, size_2
・・・
)
Return value
@GBD, num, block_1 (, block_2
・・・
)
@SBD, num, mode, block_1
(, block_2
・・・
)
Parameter
num: The number of divides
1 to 4 [Default] 1
block_1-4: Block size of each memory
0 to 128 [Default] 128
If the memory is divided correctly, the block size after divide will be replied.
mode: Divide mode
0 = AUTO, 1 = RESIZE, 2 = FORCE, 3 = Specify size
If you select ”3”, set
size_1-4
below.
size_1-4: Block size of each memory
0 to 128 [Default] 128
1 block: 65,536 bytes; the total size of all bitmaps: 128 blocks (8,388,608 bytes or
smaller)
Only if you select the divide mode to “3”, specify this value.
Example
@GBD
@GBD,2,64,64
Getting dividing bitmap memory.
Bitmap 1 and bitmap 2: 64 blocks (4,194,304 bytes)
are allocated for each.
@SBD,2,1
@SBD,2,1,64,64
Dividing bitmap memory into two in RESIZE mode.
Bitmap 1 and bitmap 2: 64 blocks (4,194,304 bytes)
are allocated for each.
Remarks
-