16 February 2012, 17:27 | #1 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
Blitter using the copper...
Hi Guys
Been working on a little experiment to use the copper as a blitter queue. Just wanted to confirm I have the right command for waiting for the blitter? #$00018000 I think thats right based on the AHRM? |
16 February 2012, 18:01 | #2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
It's wrong. Instead of setting the "Blitter Finished Disable" bit you need to clear it.
|
16 February 2012, 19:51 | #3 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
FFS!
Cheers Stingray |
17 February 2012, 14:54 | #4 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
Hmm... still not playing ball. I've set a basic screen clear operation up on the copper list, however it seems to do nothing!?
On the first run it hits my wait instruction.. $00010000, but once it starts filling the blitter registers, it seems to just quit the copper list?! Is there some other thing I need to set to enable blitting from the copper? |
17 February 2012, 15:56 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,524
|
Check COPCON register documentation. Copper stops when writing to "illegal" register without COPCON CDANG bit set. (Copper stopping is not documented)
|
17 February 2012, 16:25 | #6 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
Ahhhhh!!!!! nice one Toni, cheers.
|
20 February 2012, 23:29 | #7 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
Well, the initial tests seem to suggest this is a pretty phat method of blitter control. Massive gain over CPU and blit waits. Only issue I can see is you'll always be two frames behind but that's not a massive problem really unless you're syncing to music.
|
21 February 2012, 07:44 | #8 | |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 372
|
Quote:
Does this mean you're using triple buffering? Nearly everything today uses triple buffering to maximize frame rates. |
|
21 February 2012, 13:11 | #9 |
Registered User
Join Date: Aug 2008
Location: Salisbury
Posts: 744
|
I haven;t done the buffering as yet. Just doing Proof of Concept on a logo sinus routine I wrote a while back. At the mo its clearing and drawing, but the logo looks like shit, I'm not sure if its just cuz its blitting and showing or wether my blits have got screwed up in the conversion to copper list blitting
|
23 February 2012, 08:25 | #10 | |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 372
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combining copper scrolling with copper background | phx | Coders. Asm / Hardware | 16 | 13 February 2021 12:41 |
Blitter queues | h0ffman | Coders. General | 29 | 12 September 2020 13:19 |
Did Starglider use the blitter? | mc6809e | Retrogaming General Discussion | 8 | 04 February 2012 15:19 |
Filling with the blitter... | Lonewolf10 | Coders. Tutorials | 7 | 13 September 2011 14:30 |
Blitter nasty or not? | JackAsser | Coders. Tutorials | 5 | 28 March 2010 22:45 |
|
|