F.3 A r b e i t s w e i s e
Zur Erzeugung programmierbarer f a r b i g e r Zeichen g r e i f t V I C auf
t e r n e S p e i c h e r z u , d i e i n d r e i B e r e i c h e u n t e r t e i l t werden koennen:
Der B e r e i c h der Z e i c h e n z e i g e r i s t e i n RAM-Bereich mit 506
p l a e t z e n , der
a l s V i d e o - M a t r i x b e z e i c h n e t
c h e r p l a e t z e e n t s p r i c h t e i n e Z e i c h e n p o s i t i o n auf dem
Der B e r e i c h der anzuzeigenden Zeichen b e s t e h t aus einem S a t z von
oder 1 6 - B y t e - B l o e c k e n . J e d e r d i e s e r Bioecke
s t e r f u e r e i n e i n z e l n e s a n z u z e i g e n d e s Z e i c h e n . Die B i o e c k e koennen
entweder im RAM-
Der
F a r b z e i g e r b e r e i c h s c h l i e s s l i c h
- z e l l e n , i n denen nur d i e n i e d e r w e r t i g e n 4 B i t s zur D e f i n i t i o n der
F a r b e , i n der das an der k o r r e s p o n d i e r e n d e n
a b z u b i l d e n
i s t sowie z u r Wahl e i n e r der beiden Farb-Modi
D i e s e r B e r e i c h w i r d a l s Farb-Matrix
Die O r g a n i s a t i o n der Video- und der
z e l l e n uebernimmt dabei der
Zum
V e r s t a e n d n i s der A r b e i t s w e i s e des V I C - B a u s t e i n s
j e t z t
b i t t e
d i e Abbildung
e i n e t y p i s c h e V i d e o - M a t r i x , d i e das
Z e i l e n zu 22 S p a l t e n d a r s t e l l t , a l s o e i n e n B e r e i c h von 506 Anzeige-
p i a e t z e n b e i e i n e r B i l d s c h i r m a u f l o e s u n g
und
184 Punkten v e r t i k a l . Wenn j e t z t e i n e T a s t e g e d r u e c k t w i r d , so
w i r d der
zugehoerige Zeichenindex
B e i dem
B e i s p i e l i n Abb.
t i o n
$0B/$15 ( Z e i l e / S p a l t e ) i n d i e Video-Matrix g e s p e i c h e r t wurde.
VIC l i e s t d i e s e n Index aus der M a t r i x und f u e h r t e i n e
nung d u r c h , um
m i t t e l n . D i e s e
c h e n z e l l e folgendermassen a u s :
Der
Index wird d r e i m a l
E r g e b n i s
w i r d
beim V C 2 0 ) , d i e i n der
s t e r CR5 des VIC g e s p e i c h e r t w i r d , a d d i e r t , woraus s i c h d i e Adresse
$8158 i n unserem B e i s p i e l e r g i b t . Unter d i e s e r Adresse
das anzuzeigende P u n k t r a s t e r i n einem 8 x 8 - B i t - Z e i c h e n z e l l e n b e r e i c h .
Keine
ueberlagerungen waehrend der
holung .
W a h l s c h a l t e r
s t u n g .
16 programmierbare K o n t r o l l r e g i s t e r .
*
Lichtkananone oder L i c h t s t i f t f u e r Video-
s p i e l e ,
*
2
F a r b - B e t r i e b s m o d i .
Z e i c h e n z e i g e r
anzuzeigende
F a r b z e i g e r
oder im ROM-Bereich u n t e r g e b r a c h t
M i k r o p r o z e s s o r .
F.1
F.1
i s t e s der Index $2B, der an der P o s i -
das an d i e s e r P o s i t i o n anzuzeigende Zeichen
Berechnung s i e h t
l i n k s g e s h i f t e t
z u r
S t a r t a d r e s s e des
I n i t i a l i s i e r u n g s p h a s e i n das
CPU-Wartezeiten
f u e r
Zeichen
w i r d . Jedem d i e s e r S p e i -
b e s t e h t aus 506 F a r b b y t e s oder
S t e l l e stehende
b e z e i c h n e t .
Farb-Matrix sowie der
auf
der
n a e c h s t e n
A b b i l d des
von 176 Punkten h o r i z o n t a l
i n d i e Video-Matrix
f u e r den
F a l l
( M u l t i p l i k a t i o n mit
Z e i c h e n z e l l e n b e r e i c h e s ($8000
188
oder
B i l d s c h i r m -
B i l d w i e d e r -
Zwi schenz e i 1 e n a b t a -
S p e i c h e r -
B i l d s c h i r m .
e n t h a e l t das
P u n k t r a -
werden.
Zeichen-
b e t r a c h t e n S i e
S e i t e . D i e s i s t
B i l d s c h i r m s mit
u e b e r t r a g e n .
A d r e s s b e r e c h -
e i n e r 8 x 8 - B i t - Z e i -
8 ) . Das
K o n t r o l l r e g i -
f i n d e t V I C
ex-
8-
Zeichen
d i e n e n .
23
zu e r -