English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 16 May 2013, 15:02   #1
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 471
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)
am i missing something???

Just a straight copy, no mask no nothing...
h0ffman is offline  
Old 16 May 2013, 15:37   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,265
You're not setting bltcon0 and bltcon1, you forgot the (a6) as base address.
Leffmann is offline  
Old 16 May 2013, 16:16   #3
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 471
FFS!

MEga facepalm!
h0ffman is offline  
Old 16 May 2013, 16:29   #4
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,265
I do this all the time, and I never get any better at spotting it. It always takes someone else to see it.
Leffmann is offline  
Old 16 May 2013, 22:13   #5
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 40
Posts: 1,920
Quote:
Originally Posted by Leffmann View Post
I do this all the time, and I never get any better at spotting it. It always takes someone else to see it.
I agree, it is so easy to overlook the simplest things.
Lonewolf10 is offline  
Old 15 June 2013, 18:59   #6
Photon
Moderator

Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,766
Blitter Pine!!!
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06645 seconds with 13 queries