home *** CD-ROM | disk | FTP | other *** search
- *
- * Forbid
- *
-
- even
- move.l 4.w,a6
- jsr -132(a6)
- lea GFXNAME,a1
- moveq #0,d0
- move.l 4.w,a6
- jsr -$228(a6)
- tst d0
- beq error
- move.l d0,gfxbase
-
- ; Patch in copper list
-
- move.l gfxbase,a6
- add.l #$32,a6
- move.w #$80,DMACON+CUSTOM
- move.l (a6),oldcpr
- move.l #democopper,(a6)
-
- ;Redirect level three interrupts
- move.l $6c.w,oldlevel3
- move.l #newlevel3,$6c.w
- ;And then enable them
- move.w #$8010,INTENA+CUSTOM
- move.w #$8080,DMACON+CUSTOM