Esc % n – Citizen Systems CBM-270 User Manual
Page 50
CBM-270 User’s Manual
ESC % n
[Function]
Specifying/Canceling download character set
[Code]
<1B> H <25> H
[Range]
0
≤
n
≤
255
[Outline]
Specifying/canceling download characters.
Further, only the lowest bit (n0) is valid for n.
The lowest bit (n0) indicates the following.
n0
Function
0
Canceling download character set
1
Specifying download character set
[Caution]
Download characters and download bit images can not be defined simultaneously.
[Default]
n = 0
[See Also]
ESC &
[Sample Program]
GOSUB *SETCHR
DATA
6
LPRINT CHR$ (&H1B) ; "%" ; CHR$ (0) ;
DATA
&HFF, &H80, &H00
LPRINT "@A" ; CHR$ (&HA) ;
DATA
&H80, &H80, &H00
LPRINT CHR$ (&H1B) ; "%" ; CHR$ (1) ;
DATA
&H80, &H80, &H00
LPRINT "@A" ; CHR$ (&HA) ;
DATA
&H80, &H80, &H00
END
DATA
&HFF, &HFF, &HFF
*SETCHR :
DATA
&HFF,
&HFF, &HFF
LPRINT CHR$ (&H1B) ; "&" ;
DATA
12
LPRINT CHR$ (3) ; "@" ; "A" ;
DATA
&HFF, &HFF, &HFF
FOR J=1 TO 2
DATA
&H80, &H07, &HF9
READ REP
DATA
&H80, &HFF, &HF9
LPRINT CHR$ (REP) ;
DATA
&H87, &HFE, &H01
FOR I=1 TO REP*3
DATA
&H9F, &H06, &H01
READ D
DATA
&HF8, &H06, &H01
LPRINT CHR$ (D) ;
DATA
&HF8, &H06, &H01
NEXT I
DATA
&H9F, &H06, &H01
NEXT J
DATA
&H87, &HFE, &H01
RETURN
DATA
&H80, &HFF, &HF9
DATA
&H80, &H07, &HF9
DATA
&HFF, &HFF, &HFF
[Print Results]