h0ffman 17:27 16 February 2012
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?
[Rep]
StingRay 18:01 16 February 2012
It's wrong. Instead of setting the "Blitter Finished Disable" bit you need to clear it.
[Rep]
h0ffman 19:51 16 February 2012
FFS!
Cheers Stingray
[Rep]
h0ffman 14:54 17 February 2012
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?
[Rep]
Toni Wilen 15:56 17 February 2012
Check COPCON register documentation. Copper stops when writing to "illegal" register without COPCON CDANG bit set. (Copper stopping is not documented)
[Rep]
h0ffman 16:25 17 February 2012
Ahhhhh!!!!! nice one Toni, cheers.
[Rep]
h0ffman 23:29 20 February 2012
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.
[Rep]
mc6809e 07:44 21 February 2012
Originally Posted by h0ffman:
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.
Does this mean you're using triple buffering? Nearly everything today uses triple buffering to maximize frame rates.
[Rep]
h0ffman 13:11 21 February 2012
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
[Rep]
mc6809e 08:25 23 February 2012
Originally Posted by h0ffman:
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
The copper list isn't resetting before the blitting is finished, is it?
[Rep]
Page generated in 0.32777 seconds with 12 queries