home *** CD-ROM | disk | FTP | other *** search
- democopper
-
- ; The demo's copperlist.
- ;
- ; The copper list is where the screen pointers are set up,
- ; and more excitingly, the colours are all defined. The
- ; copperlist is automatically executed at the start of each
- ; display cycle - this makes it an ideal way to call the
- ; actual code of the demo every frame as well. This is
- ; achieved by using an interrupt triggered by the last lines of
- ; the copperlist.
-
-
-
- ; Set the Bitplane pointers
-
- dc.w BPL1PTH
- pl1h dc.w 0
- dc.w BPL1PTL
- pl1l dc.w 0
-
-
- ; Set screen (no. bitplanes, physical location etc)
-
- dc.w BPLCON0,$1000 ;BitPlane 1
- dc.w BPLCON1,$0 ;No scrolling bitplane
- dc.w BPLCON2,$64 ;priority (meaningless with 1 BP)
- dc.w BPL1MOD,$4 ; !! This is a 44 byte screen !!
- dc.w BPL2MOD,$0 ;This isn't.
- dc.w DIWSTRT,$2c81 ;Set up as per hardware manual for normal
- dc.w DIWSTOP,$f4c1 ;NTSC-o-vision display. Pal? Hmm..
- dc.w DDFSTRT,$30 ;fudged slightly to provide a more even
- dc.w DDFSTOP,$c8 ;display for the text.
-
- ;colours at top of screen
- dc.w COLOR0,$00
- dc.w COLOR1,$fff
-
- dc.w $2c01,$ff00
- dc.w COLOR0,$002
- dc.w $2d01,$ff00
- dc.w COLOR0,$004
- dc.w $2e01,$ff00
- dc.w COLOR0,$006
- dc.w $2f01,$ff00
- dc.w COLOR0,$008
- ;middle of screen
-
-
-
- ;end part of screen
- dc.w $da01,$ff00
- dc.w COLOR0,$006
- dc.w $db01,$ff00
- dc.w COLOR0,$004
- dc.w $dc01,$ff00
- dc.w COLOR0,$002
- dc.w $dd01,$ff00
- dc.w COLOR0,$000
- ;colours for scrolly text
-
- dc.w $e001,$ff00
- dc.w COLOR1,$0ee
- dc.w $e101,$ff00
- dc.w COLOR1,$0cc
- dc.w $e201,$ff00
- dc.w COLOR1,$0aa
- dc.w $e301,$ff00
- dc.w COLOR1,$088
- dc.w $e401,$ff00
- dc.w COLOR1,$066
- dc.w COLOR0,$400
- dc.w $e501,$ff00
- dc.w COLOR1,$044
- dc.w COLOR0,$600
- dc.w $e601,$ff00
- dc.w COLOR1,$022
- dc.w COLOR0,$800
- dc.w $e701,$ff00
- dc.w COLOR1,$022
- dc.w COLOR0,$f00
- dc.w $e801,$ff00
- dc.w COLOR1,$032
- dc.w COLOR0,$800
- dc.w $e901,$ff00
- dc.w COLOR1,$054
- dc.w COLOR0,$600
- dc.w $ea01,$ff00
- dc.w COLOR1,$074
- dc.w COLOR0,$400
- dc.w $eb01,$ff00
- dc.w COLOR1,$086
- dc.w COLOR0,$200
- dc.w $ec01,$ff00
- dc.w COLOR1,$0a8
- dc.w COLOR0,$000
- dc.w $ed01,$ff00
- dc.w COLOR1,$0ca
- dc.w $ee01,$ff00
- dc.w COLOR1,$0dc
- dc.w $ef01,$ff00
- dc.w COLOR1,$0fe
-
- dc.w $ff01,$ff00
- dc.w $9c,$8010 * Interrupt *
- dc.l COPPER_HALT