![]() |
![]() |
#1 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 767
|
Please help me!! Blitter pain!
Please tell me I'm doing something wrong here..
I have two single bit plane areas 320*8*64 pixels (or 40 bytes wide) I want to copy one area to the other with the blitter so code should be,., Code:
lea $dff000,a6 WAITBLIT move.l #_basepattern,bltapt(a6) move.l #_pattern1,bltdpt(a6) move.l #-1,bltafwm(a6) move.w #$09f0,bltcon0 move.w #$0000,bltcon1 move.w #0,bltamod(a6) move.w #0,bltdmod(a6) move.w #(64*8)<<6+20,bltsize(a6) Just a straight copy, no mask no nothing... |
![]() |
![]() |
#2 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
You're not setting bltcon0 and bltcon1, you forgot the (a6) as base address.
|
![]() |
![]() |
#3 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 767
|
FFS!
MEga facepalm! |
![]() |
![]() |
#4 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I do this all the time, and I never get any better at spotting it. It always takes someone else to see it.
|
![]() |
![]() |
#5 |
AMOS Extensions Developer
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
|
|
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,657
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter using the copper... | h0ffman | Coders. Asm / Hardware | 9 | 23 February 2012 08:25 |
Did Starglider use the blitter? | mc6809e | Retrogaming General Discussion | 8 | 04 February 2012 15:19 |
A600 Mobo: C44 PAIN! | Eamoe | support.Hardware | 13 | 09 May 2011 16:07 |
B2000 subjected to pain | chiark | Hardware pics | 21 | 25 September 2008 21:05 |
What to do when your harddisk is being a pain in the a** | Drake1009 | support.Hardware | 4 | 03 October 2001 22:23 |
|
|