home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / sys / amiga / demos / 1974 < prev    next >
Encoding:
Text File  |  1992-12-13  |  2.1 KB  |  62 lines

  1. Nntp-Posting-Host: dyggve.ifi.uio.no
  2. Newsgroups: alt.sys.amiga.demos
  3. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!larshaug
  4. From: larshaug@ifi.uio.no (Lars Haugseth)
  5. Subject: Correction : Horizontal scroller
  6. Message-ID: <1992Dec13.143622.22283@ifi.uio.no>
  7. Sender: larshaug@ifi.uio.no (Lars Haugseth)
  8. Organization: Dept. of Informatics, University of Oslo, Norway
  9. References:  <Paul_Trauth.19er@agwbbs.new-orleans.LA.US>
  10. Date: Sun, 13 Dec 1992 14:36:22 GMT
  11. Lines: 48
  12. Originator: larshaug@dyggve.ifi.uio.no
  13.  
  14.  
  15. In article <Paul_Trauth.19er@agwbbs.new-orleans.LA.US>, Paul_Trauth@agwbbs.new-orleans.LA.US (Paul Trauth) writes:
  16. > I just stuck "move.l #$ffffffff,$dff044" in after the bit of code that
  17. > points the copper list to the bitplanes. Worked fine then.
  18.  
  19. Oooops. What a silly error. Shame on me.
  20. Thank you, Paul, for pointing it out!
  21.  
  22. --------------------------------------------------------------------------
  23.  
  24. Old source (In the COPYBLOCK part):
  25.  
  26.     lea    CUSTOMBASE,a5            ; Blit block onto screen
  27.     WBLIT
  28.     move.l    a0,$50(a5)            ; BLTAPTR
  29.     move.l    a1,$54(a5)            ; BLTDPTR
  30.     move.l    #$0000002A,$64(a5)        ; BLTAMOD BLTDMOD
  31.     move.l    #$09F00000,$40(a5)        ; BLTCON0 BLTCON1
  32.     move.w    #$1401,$58(a5)            ; BLTSIZE
  33.     WBLIT
  34.     rts
  35.  
  36. --------------------------------------------------------------------------
  37.  
  38. Change this to :
  39.  
  40.     lea    CUSTOMBASE,a5            ; Blit block onto screen
  41.     WBLIT
  42.     move.l    a0,$50(a5)            ; BLTAPTR
  43.     move.l    a1,$54(a5)            ; BLTDPTR
  44.     move.l    #$0000002A,$64(a5)        ; BLTAMOD BLTDMOD
  45.     move.l    #$09F00000,$40(a5)        ; BLTCON0 BLTCON1
  46.     move.l    #$FFFFFFFF,$44(a5)        ; BLTAFWM BLTALWM
  47.     move.w    #$1401,$58(a5)            ; BLTSIZE
  48.     WBLIT
  49.     rts
  50.  
  51. --------------------------------------------------------------------------
  52.  
  53. +-----------------------------------------------------------+
  54. | Lars Haugseth                                             +-+
  55. | Dept. of Informatics,               <larshaug@ifi.uio.no> | |
  56. | University of Oslo, Norway                                | |
  57. |                                                           | |
  58. |          If idiots could fly, this would be an airport... | |
  59. +-+---------------------------------------------------------+ |
  60.   +-----------------------------------------------------------+
  61.  
  62.