Download Print this page

Sharp PC-7200 Service Manual page 68

Advertisement

5-1-1. Character Mode
:-EveiY--cffiirlicteTpd~}t[d!1 ~\r:t;t!iErch-aractel'
-mode--is-rdefined-bY-Mq
1-;··~yte~ir·-tf1~,~iqeci~FI~M~;-pa~~ fqr~CI;t:.i~ -~,h0'tfn,"iR~F_~9,uS~.,
5,7 2 : .. : " __
,~
. . . •
I_~._~'~J--,~:- :~~_
:_: __
:_~_ ~ _~ ~_l.'_:
_ _
!
_~o,:._:
'
_~_'_~J~~_: ~:
__
.~
____
.\~:.~'_~~_~~~.'·:1
~ :,~~
< ' _ ' _ . - -_
,Character-~ Code~Byte,
.>
-~-·~=--~:=A--ttfib-[tter~
Byte
, !
7
;6
:5
'4
3
0:
17:
6:
5:
4
:1~(;:2
' 0
I
.-~~
. . .
:~--~+~
\ :
'''--';'"---'>«''''.
'." .• ,;-"
>';-~->i
:
:.'~'1;
I; :
i
:Ejg,~re ~-2. ;oat~J~ma~
in
~har~cte:r'lrn9~e
i-
:-=~:L=-:
-t=-=:,
:::-=t-----:,,·~--:
.j--t· ---:-
-;- -:' " ;:j
'-)1 ---
, : 5-1:-2. GraphiCs Mode
:
:
I : : :'
I
i'
L
:J;Vf![Y
Jl~fJtlii. ,t.f:!~L~!Q:"EiQ
".FlAM
',®f,ib~$ :.th~~gr~Ph]Q'~LRaJt~rJL ~n __ ~
:
:~screem~there
'is-nD attribute code:1in
this=mode>lf~'
i
;
i
!
'
-
,_! W
_W='~'J!
'-------,,-- -_.--'-----'---'-----'--
_._-'----
r.5-2:-CRT MOae
i~i
:H ;--:
110
I
i :~_~j
~,;...,-=~}
:._ •• ____
i
.,_~.;,
_ _ ;
,._.,.~
::::n:
i -
:-~~~-i :",:Ch~rac~er-.Col~r--~od~~~--\----i -~- :-~=-["Xh
i
:
J!l~ ch,ara9!~r_ :@!!_~ute;'_
for.r;n..C!t,1s
ShQ.1NP~!o.. Flg~r~
,_5-3.
:- : , -
-·::--1·-·"t-6~5:~--
.!":,--·S -
~ -·-~--t-'o---'- ----'~"~=-:-
j
1
Q
J: ---
! ___
I::Irl' R lGkB:I-i:IR·Ia:I:B_-ll:U
:.-Ji-~~-----,
':
'
: ! :
:
i ~ I: : : I: . : "~.",~
!
1
I
--- cut ::::'--I·-c::{-.·,,·-~t
',-
;:-"'.~~~~~~~~- ~~:i;Y
l .
,;~_I;;,_--"l
:);l'h
;:1:,:
:~.
\
'~'Ifi..1kground
Color
.J',
",,) , - " ,
" "
'"
""'''.J
.:.<"
-,Blinkmg:~
Figure
5-3.
Attribute format
;'~T~~;'~li8'~T:git~,f~~~tjJh~i,:~~.b~-g~~~~~~~I-:,igf~~slN wgii~
!1i(.ls' ,
6(-
~he
-" "d
u ,
-.
"1'-'" -.",--, ,),- ",'
I
,',"_J"_'''_, ' ; '
!,-,,--I,' ._'
."1 1 , ,,,,,
_"J .',,'
rna
e contro ~!?:!iJ,I~~Wr,;IS,!:i_,Pt
:-T?!J
!-:~)il:/i---;!j~
'",'.h,-
--,,"!
1:-
,
The color values are given in the Figure
5-4.
I
R
G
B
Displaying Color
0
0
0
0
Black
0
0
0
1
Blue
0
0
1
0
Green
0
0
1
1
Cyan
0
1
0
0
Red
0
1
0
1
Magenta
0
1
1
0
Brown
0
1
1
1
light Gray
1
0
0
0
Dark Gray
_.I
.Q _ O.
.1
-
_light _Blu_e
.1
0
L
0
liglJt Gre_en _
,
1
.0
'i
,,1,
Light Cyan:'
,,)1,,:, _'.
1
1
0'
Q' 'Ught Red
'
,
1
1
0
I'
,'light Magenta
.. I
1
1
1
0
Yellow
1
1
1
1
Wilite
,
Figure
5-4.
Dispiayed color
'.
--- - -
- -
---..
---
5~2~2. Character Mon'ochromeiMode
'~'!.!.'
The
charact~r
attribute
forrnat.i~
shown in FigurE);',5-5.
7
6
5 4
3
2
r
IT
i
Attribute Function
B
p
0 0 I 1 1 1 : Normal
B 1 1 1 I
0 0 0 : Reverse
,
B
~
.
0 . (). -I- 0 0 -0·. JrNon
desplaYWI~ck)
B I 1 1 I 1
'j'-!-(~
: Non desPlay(Whit~):
;;,,-1,,-,
Figure
~-5. Charact~r a~nbUte
in monophrome mode
Note: I: j~~;;-~itY"-S:;)BJi~kl-i
-
--' ------ - :_:,i ) ,
5-2-3.
Grap~ics
Mode'(320x200 Mode)
,
,
~"
. ,
I
,]_ ,.'
',1-,·
M~B
-If
j--
--'--lSB
7.1 6 5.1'.
3l-2
el, eo el co,
,C)
,,(;,0
I
I
0
Cl co
~;:,:i),~i~"P9sition
-c"- A,ltJ:ib'ute
."
.,"J
I
1st --
2ni:t
3rd
.Jln
.-....:-..:--.. D6t-Position
Ij, '
..
..
"
'--'"
,
In 320x
graphic§,friod~::f,'-byt~Tn~tRe
viaeo-
RAMrepr$~rits,4)a~ts
on the CRT. Each 20bit of attribute indicates the color of each dot.
Th9J~coldr;
is,
defined.; by;coIO'r. -SE!IE3CO-reglst-er1
~
Sir
1
$J af'coiofls:'select
register selects the color set in 320 x 200 graphics mode. When bit
2 of mode control
regi~h;~r
is
Ji
0, !he c010r set
is"defin~d
byj)it 5
of the color select
registet:as·',~sl1owh;ih~.F-igur& 5=7.N~fieri
bit.
'~of
mode control register is a 1, the color set is as below.
j0(~;;;i
iht,i
"'J.:1
J'ri',!ji 'Jil)
,!,l:_::().§j :~1f1J
'J!
:3~!i'!'l}
:YIQ srit n_:lrl
l
/!
Attribute
Bit 2 of the mode control register
C 1
CO
;.Q'O',:;,-~.:::
q, ;;;
iB~.~kg~9(tnd:
.QolQr'.:; ,::.B.ac_kg(QI,md';,C:9IQI1' !,BacKgr:oundi €lofor
0.
L_
.GLe:.en..
Cya"------_____ ----, __ Cyan
---
!I
I
R'e'd
M~g:!;!,nt~.:~.=;i
i
,~.;:,Re.d,;
:
:J::,J{l<,J. :
l'J
L ___ '-L..'a,dw,';.
.'-1.
ligbLGray __
+ ..
lighL(jra\L--__ .
~
I;,J
IrJ
.oJ
~
11,;
,"
'.;1
-'
' _
, I . )
~,"
''-,_ _
_u
~
J
ilH __
j;.:
~~~!!!g~EjZ5:t~l 3~~~:;_~~~'~~!§£I~j~T~~~:3_~Ioi -s~
_ _
=~:~
5-2-4. Graphics'Mo'di>'(64aX200il\ioae}, -
",!]h
In 640X200 graphics mode, 1 byte in the video RAM represents 8
dots on the CRT. MSB of the video :RAM dataYisleft.mostdbton
the;~sdre-eri/'l'and; ~SBi"iS3
'right!
inoSti
'doti -Only:2"!'d610rs including
background color can be used in this mode.
bJoi~)':J-;
3iilj' II) -,:!'JU'u.' '-;r i ; -2\l(\JVj-'-ltj
'tJ
;)r~\lIY~;:,"',
-:>,1
]il·.h_~f~,3
5-3. LCD Mode
'i1G:--·'.1
_;1'.:~)
),:
oj;'
>'(
5-3-1. Character Mode 1
In
this mode, character intenSity is repr~'~enteil:By·arternate'font.
f~The(chatFkcter intensity is available when the C.G. ROM has alternate
fonts.
"
FOREG~OUNO(Bit:Hl)
,!
!
r ;
! ',:
J
!, '. ) '
\
1 '
,I;
",~
o
2' 3.-415;
6789'AS;
C 0 E F
o
X
1
X
2
--3
"4
X .
ffi
6
Cl
7
z
::l
8 S
0
a:
9>,' S
CJ
:.:
A,
()
«
CD
B
C
'0
,1,,' '
E
F :',
,
,:'-
X
,
R
S
I
,
R
Bi~
5 Of Mqde
.~
S
--~-Cqntrol:
Register
,:,1
\1
,1-"
N
..
X
X
X
0
N"
S
lu,u,)
. . l3
s
U
x
AN,.O A,N
...
T
T
T
AN
T
T
';
I
X
Non Display
o
All Dots on
N
Normal
R
IReverse
v
A
Alternate Font
"I: 1'.)1,: :
''-Figure-
·5~·ff.;'-32b)x
200 graphics bit
mappiH~Jl
,' , ,,' , .
j[
"111'.1;';'1"')" I;'!
:
r
~ i:.]
'j,
tl
-, :,1
'J,
lTigure
5~9.
Character mode 1

Hide quick links:

Advertisement

loading