Herunterladen Inhalt Inhalt Diese Seite drucken

Commodore Computer VolksComputer VC-20 Programmierhandbuch Seite 201

Inhaltsverzeichnis
CRF:
Die B i t s 4 b i s 7 waehlen e i n e n von
f u e r d i e a l l e n
be. S i e s e t z e n g r u n d s a e t z l i c h d i e Farbe
H i n t e r g r u n d
b i s 2 waehlen e i n e n von 8 Farbtoenen f u e r d i e Rah-
menfarbe, a l s o f u e r den B e r e i c h a u s s e r h a l b der V i -
d e o - M a t r i x . B i t 3 bestimmt, ob v e r s c h i e d e n f a r b i g e
Zeichen
oder ob g l e i c h f a r b i g e
Zeichen a n d e r s f a r b i g e n Hintergrund
d e t
Vielfarb-Modus
F.5 E i n B e i s p i e l f u e r d i e
Zum noch b e s s e r e n V e r s t a e n d n i s des V I C - B a u s t e i n e s wird im
e i n
B e i s p i e l
f u e r d i e K o n t r o l l r e g i s t e r a n w e n d u n g
gegeben.
Zur V e r e i n f a c h u n g
senden Modus d a r g e s t e l l t werden und
den folgenden Vierten geladen
R e g i s t e r
I n h a l t
CRO
$03
$19
CR1
CR2
$96
CR3
$2E
CR5
s o l l t e
f u e r den
s e t z t werden. Nehmen w i r a n , d i e V i d e o m a t r i x
der
Z e i c h e n z e l l e n b e r e i c h b e i $3400. Dann muss CR5
g e s e t z t werden:
CR5
$0D
Auf der n a e c h s t e n S e i t e w i r d d a r g e s t e l l t , wie d i e Adressen aus d i e -
s e r I n f o r m a t i o n e r z e u g t werden.
Zeichen gemeinsame H i n t e r g r u n d f a r -
i n n e r h a l b der V i d e o - M a t r i x . Die B i t s 0
auf
einem
werden. Das
R-Bit
gewaehlt wurde.
V I C - K o n t r o l l r e g i s t e r - A n w e n d u n g
s e i angenommen, d a s s a l l e Zeichen im
s i n d :
I n h a l t b i n .
hex.
0 0000011
00011001
1 0010110
X 010111 0
Z u g r i f f auf d i e g e e i g n e t e n
0000 1101
192
e i n f a r b i g e n Hintergrund
Zeichen auf einem b e i jedem
h a t
k e i n e
d a s s d i e K o n t r o l l r e g i s t e r
E r g e b n i s
V e r s c h i e b t den
Video-Matrix
b r e i t e n
Z w i s c h e n z e i l e n a b t a s t u n g
a u s g e s c h a l t e t ( 1 = 0 ) .
V e r s c h i e b t den
Video-Matrix
Punkthoehen
B i l d s c h i r m r a n d nach u n t e n .
S e t z t 22 V i d e o m a t r i x s p a l t e n .
B i t 7 gehoert zu R e g i s t e r 5.
S e t z t
23 V i d e o m a t r i x z e i l e n .
Es
s i n d
t r i z e n gewaehlt
S p e i c h e r p l a e t z e ge-
beginnt b e i $0200 und
Dazu gehoert
CR2.
16
Farbtoenen
f u e r
den
(R=1)
(R=0) a b g e b i l -
F u n k t i o n , wenn
folgenden
des
V I C - B a u s t e i n s
h o c h a u f l o e ¬
mit
Ursprung der
um 3 ( x 4 ) Punkt-
n a c h
r e c h t s .
i s t
Ursprung der
um
2 5 ( x 2 )
vom
oberen
8x8-Bit-Zeichenma-
(D=0).
folgendermassen
noch B i t 7
von
Inhaltsverzeichnis
loading

Verwandte Produkte für Commodore Computer VolksComputer VC-20

Inhaltsverzeichnis