
Chapter 7. I/O Facilities
97
[3] Regular-Size and Double-Width Characters Together on the
Same Screen
The regular-size and double-width characters may display together on the same screen as
shown below.
CLS
OUT &h6080, 0 'Select standard-size font
SCREEN 0,0 : PRINT "ANK" 'Regular-size in ANK mode
SCREEN 0,2 : PRINT "ANK" 'Double-width in ANK mode
SCREEN 1,0 : PRINT " " 'Regular-size in Kanji mode
SCREEN 1,2 : PRINT " " 'Double-width in Kanji mode
LOCATE 1,1
OUT &h6080, 1 'Select small-size font
SCREEN 0,0 : LOCATE 14 : PRINT "ANK" 'Regular-size in ANK mode
SCREEN 0,2 : LOCATE 14 : PRINT "ANK" 'Double-width in ANK mode
SCREEN 1,0 : LOCATE 14 : PRINT " " 'Regular-size in Kanji mode
SCREEN 1,2 : LOCATE 14 : PRINT " " 'Double-width in Kanji mode
Switching the screen font from the standard
Switching the screen font from the standardSwitching the screen font from the standard
Switching the screen font from the standard-
--
-size
sizesize
size to small
to small to small
to small-
--
-size
sizesize
size
The coordinates on which standard-size fonts are displayed and one on which small-size
fonts are displayed are different from each other.
If the screen font is switched from the standard-size to small-size, then the cursor will move
from the current position to the nearest lower rightward position on the small-size font
coordinates.
Small-size font coordinates
Standard-size font coordinates
12 dots 16 dots
Moves the cursor position
Kommentare zu diesen Handbüchern