CBM-270 User’s Manual
GS * n1 n2 [ d ] n1 × n2 × 8
[Function] | Defining the download, bit image | ||
[Code] | <1D> H <2A> H <n1> <n2> [ <d> ] n1×n2×8 | ||
[Range] | 1 | ≤ n1 | ≤ 255 |
| 1 | ≤ n2 | ≤ 48 |
| n1 × n2 ≤ 1311 | ||
[Outline] | Defines downloading bit images of the number of dots specified by n1/n2. |
∙The numbers of dots are n1 × 8 in horizontal direction and n2 × 8 in vertical direction.
∙d indicates bit image data.
∙The download bit image thus defined remains effective until redefinition, ESC @ execution, ESC &, or power OFF takes place.
[Caution] ∙ A download character and a download bit image can not be defined simultaneously.
With this command executed, defined content of a download character is cleared.
∙Relations between the bit image data and the dot defined are shown below:
[See Also] | GS /, ESC & | n1×8 dots |
n2×8 dots
[Sample Program] | [Print Results] |
GOSUB *IMG
LPRINT CHR$ (&H1D) ; "/" ; CHR$ (0) ;
LPRINT CHR$ (&H1D) ; "/" ; CHR$ (1) ;
LPRINT CHR$ (&H1D) ; "/" ; CHR$ (2) ;
LPRINT CHR$ (&H1D) ; "/" ; CHR$ (3) ;
END
*IMG :
N1 = 8 : N2= 8
LPRINT CHR$ (&H1D) ; "*" ;
LPRINT CHR$ (N1) ; CHR$ (N2) ;
FOR J=1 TO N1*8
FOR I=1 TO N2
LPRINT CHR$ (J) ;
NEXT I
NEXT J
RETURN
END
Normal Mode
Double Width Mode
Double Height Mode
Quadruple Mode
GS / m
[Function] | Printing the download, bit image |