home *** CD-ROM | disk | FTP | other *** search
- ;screen.include
-
-
- Demo_Screen
- ;Playfield 1 - odd bitplanes
- move.l #SCREEN1,d0
- move.w d0,pl1l
- swap d0
- move.w d0,pl1h
-
- ;move.l #SCREEN3+4,d0 ; !! 2 word offset !!
- ;move.w d0,pl3l
- ;swap d0
- ;move.w d0,pl3h
- ;move.l #SCREEN5+4,d0 ; !! 2 word offset !!
- ;move.w d0,pl5l
- ;swap d0
- ;move.w d0,pl5h
- ;Playfield 2 - even bitplanes
- ;move.l #SCREEN2+4,d0 ; !! 2 word offset !!
- ;move.w d0,pl2l
- ;swap d0
- ;move.w d0,pl2h
- ;move.l #SCREEN4+1924,d0 ; !! 2 word offset !!
- ;move.w d0,pl4l
- ;swap d0
- ;move.w d0,pl4h
- ;move.l #SCREEN6+1924,d0 ; !! 2 word offset plus 40 lines 'up top'!!
- ;move.w d0,pl6l
- ;swap d0
- ;move.w d0,pl6h
-
- ;Patch in copper list
- lea CUSTOM,a6
- move.l gfxbase,a5
- add.l #$32,a5
- move.w #$80,DMACON(a6)
- move.l #democopper,(a5)
- move.w #$80a0,DMACON(a6)
- rts
-
-
-
- Screen_On
- move.w #$1f,DMACON(a6)
- move.w #$87e0,DMACON(a6)
- rts
- InterOn
- move.w #1,intflag
- rts
- InterOff
- move.w #0,intflag
- rts
- intflag
- dc.w 0 ;0 interrupts ignored
-
-
- even
- include "democopper.include"
- even
-