home *** CD-ROM | disk | FTP | other *** search
- Nntp-Posting-Host: dyggve.ifi.uio.no
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!larshaug
- From: larshaug@ifi.uio.no (Lars Haugseth)
- Subject: Correction : Horizontal scroller
- Message-ID: <1992Dec13.143622.22283@ifi.uio.no>
- Sender: larshaug@ifi.uio.no (Lars Haugseth)
- Organization: Dept. of Informatics, University of Oslo, Norway
- References: <Paul_Trauth.19er@agwbbs.new-orleans.LA.US>
- Date: Sun, 13 Dec 1992 14:36:22 GMT
- Lines: 48
- Originator: larshaug@dyggve.ifi.uio.no
-
-
- In article <Paul_Trauth.19er@agwbbs.new-orleans.LA.US>, Paul_Trauth@agwbbs.new-orleans.LA.US (Paul Trauth) writes:
- > I just stuck "move.l #$ffffffff,$dff044" in after the bit of code that
- > points the copper list to the bitplanes. Worked fine then.
-
- Oooops. What a silly error. Shame on me.
- Thank you, Paul, for pointing it out!
-
- --------------------------------------------------------------------------
-
- Old source (In the COPYBLOCK part):
-
- lea CUSTOMBASE,a5 ; Blit block onto screen
- WBLIT
- move.l a0,$50(a5) ; BLTAPTR
- move.l a1,$54(a5) ; BLTDPTR
- move.l #$0000002A,$64(a5) ; BLTAMOD BLTDMOD
- move.l #$09F00000,$40(a5) ; BLTCON0 BLTCON1
- move.w #$1401,$58(a5) ; BLTSIZE
- WBLIT
- rts
-
- --------------------------------------------------------------------------
-
- Change this to :
-
- lea CUSTOMBASE,a5 ; Blit block onto screen
- WBLIT
- move.l a0,$50(a5) ; BLTAPTR
- move.l a1,$54(a5) ; BLTDPTR
- move.l #$0000002A,$64(a5) ; BLTAMOD BLTDMOD
- move.l #$09F00000,$40(a5) ; BLTCON0 BLTCON1
- move.l #$FFFFFFFF,$44(a5) ; BLTAFWM BLTALWM
- move.w #$1401,$58(a5) ; BLTSIZE
- WBLIT
- rts
-
- --------------------------------------------------------------------------
-
- +-----------------------------------------------------------+
- | Lars Haugseth +-+
- | Dept. of Informatics, <larshaug@ifi.uio.no> | |
- | University of Oslo, Norway | |
- | | |
- | If idiots could fly, this would be an airport... | |
- +-+---------------------------------------------------------+ |
- +-----------------------------------------------------------+
-
-