EasyManua.ls Logo

Commodore Amiga - Page 32

Commodore Amiga
321 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Register Color
COLOROO
black
COLOROI
yellow
COLOR02
cyan
COLOR03
magenta
The
complete Copper list follows.
COPPERLIST:
DC.W$00EO,$0002
DC.W $00E2,$1000
DC.W $00E4,$0002
DC.W $00E6,$5000
,
j Load color registers
,
DC.W
DC.W
DC.W
DC.W
$0180,$OFFF
$0182,$OFOO
$0184,$00FO
$0186,$000F
j Wait for line 150
DC.W
$g601,$FFOO
j Reload color registers
,
DC.W
DC.W
DC.W
DC.W
$0180,$0000
$0182,$OFFO
$0184,$00FF
$0186,$OFOF
;Move $0002 into address
$OEO
(BPL1PTH)
jMove $1000 into address
$OE2
(BPL1PTL)
;Move $0002 into address
$OE4
(BPL2PTH)
jMove $5000 into address
$OE6
(BPL2PTL)
jMove white into address $180 (COLOROO)
jMove red into address
$182 (COLOR01)
jMove green into address
$184 (COLOR02)
jMove blue into address
$186 (COLOR03)
j Wait for line 150, ignore horiz. position
jMove black into address $0180 (COLOROO)
;Move yellow into address $0182 (COLOR01)
jMove cyan into address $0184 (COLOR02)
;Move magenta into address $0186 (COLOR03)
j
End
Copper list by waiting for the impossible
DC.W $FFFF,$FFFE ;
Wait for line
255,
H = 254 (never happens)
For
more information about color registers, see chapter 3, "Playfield Hardware."
18 Coprocessor Hardware

Table of Contents

Other manuals for Commodore Amiga

Related product manuals