View Single Post
Old 20 April 2011, 10:16   #13
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 366
The copper can only take arguments as words (.w) not longs (.l)... try doing this instead:

(in copperlist)
pl1h:
dc.w Bpl1pth,$0000,Bpl1ptl,$0000

(in setup code)
lea Bitplane1,a0
lea pl1h,a1
movea.l a0,d0
move.w d0,6(a1)
swap d0
move.w d0,2(a1)

...this moves the lower word, then the higher word of your bitplane 1 address into the copperlist at the right places.
WayneK is offline  
 
Page generated in 0.13032 seconds with 11 queries