Download Print this page

Display Screen; Character Codes - Panasonic CF-2700 Service Manual

Advertisement

Display Screen
Note the following points for an easy to
see screen._
•Depending on
the type of TV,
the left
and right edges
may
not
be
displayed
on
the
TV
screen.
This
may
result
because the display area of the TV and
that of the personal computer are dif¬
ferent.
If
this
is
the
case,
do
not
use
the
shaded
part
shown in the il¬
lustration.
In
the text mode,
set
the
displayed
columns
using
the
WIDTH
command
to
28-29
(see
the
"MSX-BASIC
manual").
(It
is preset to 37 columns
when
the
power
is
turned on.)
In the
graphic
mode,
do
not
use
the
10-16
dots on the left
and right sides when
writing a program.
/
p
m
1
1
I
p
1
9
D
9
p
1 l
1
ft
♦ »
>=>
i—,—i
This part is cut off.
40-column text mode
8 dots
P#l
»ft
r
ft-
4
=
4
- -ft
s
■f-
• *
| |
*i!
,
_
32-column text mode
• Do not adjust
the screen any brighter
than necessary.
• Exercise care in combining colors when
programming. The screen may be hard to
read
due
to
blurred
colors
depending
on
the
combination
of
the
foreground
color
(color of
characters,
etc.)
and
the
background
color.
White
on
blue
(Color 15,
5) is a relatively easy to
distinguish combination.
(Color 25, A,
A is set when the power is turned on.)
• The
color
and
volume
settings on the
TV
for
personal
computer
use
are
slightly
different
from
that
for
TV
broadcast reception. Adjust according¬
ly when
switching from a TV broadcast
to the personal computer.
Note 1: Character patterns are displayed
as 8H x 6W dots/character in the
AO-column
text
display
mode
(SCREEN
0).
(8H x
8W
dots/cha¬
racter
in
the
32-column
text
display mode.)
For this
reason,
the
right
side
of
some
graphic
symbols may be cut off when dis¬
played.
(Letters and numbers are
always displayed as full charac¬
ters. )
Character Codes
High-order 4
bits
(hexadecimal)_ Graphic characters
Examples: The
character
code
for
A
is
4
5
0 ,B5
1
© - -
2
ft
1
-
3
f -
4
-
IT
*
r
-
6
7
• —
8
r
9
A
L
B O'
T
C 9
x
D
J* /
E
\
F
ft
+-
Reference: Correspondence
between
deci¬
mal and hexadecimal numbers.
&HAl=16xA+l=65 (Decimal)
Input and output of Graphic Symbols
Graphic symbols
are input
and output by
adding a graphic header (&H01).
For
example,
to
input
and
output
"EH"
the graphic header
is
used
as
follows.
Input from the keyboard: Two bytes, &H01
and &HAA, are input.
Output
to
the TV or printer: Two bytes,
&H01 and &HAA, are output.
Example: To output to a TV:
PRINT CHR$(1);CHR$ (&HAA);
Decimal
0—9
10 11 12 13 14 15 16 17 18
31 32 33
63 64
255
Hexadecimal
0-9
A
B
°
1
D ' E
L
10 11
,
IF 20 21
3F 40
FF
In other words, X2XJ
(hexadecimal)
s^xlb+Xj
(decimal).
Examples:
&HlF=lxl6+15=31
(decimal)
&HFF=15x16+15=255
(decimal)
-
20
-

Advertisement

loading