home *** CD-ROM | disk | FTP | other *** search
- * Scroll data upwards! (for example a cycle in the copper!)
-
- move.w #59,d0 ;How many steps to scroll! (minus one)
- lea $40000,a0 ;Where to scroll
- move.w (a0),d1 ;save higest number
- Sc_Scroll:
- move.w 8(a0),(a0) ;move up one step! (the 8 can be different!)
- addi.l #8,a0 ;numbers of bytes to the next step!
- dbf d0,sc_scroll
- move.w d1,(a0) ;put the saved data to the lowest number
- rts