A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Shadebobs
 Page:  ««  1  2  
Author Message
doom
Member
#1 - Posted: 19 Apr 2007 10:25
Reply Quote
Works the same way as when you're waiting for a beam position. In fact you can combine it with a beam wait I think. But this:

dc.w $0001,$0000 ; blitter wait

.. will do if all you want to do is pause the copper as long as the blitter is working. Also, you probably need to set that copper danger mode for the copper to be able to access blitter registers.
StingRay
Member
#2 - Posted: 19 Apr 2007 10:31 - Edited
Reply Quote
http://stingray.untergrund.net/ShadeBobs.s

That's my Shadebob routine from 1992, I've only changed/updated the startup code and "one filed" it :) It's heavily explained (seems I had way too much time back then :D), not optimized at all and could be done much better but should be easy enough to understand.
RetroCoder
Member
#3 - Posted: 19 Apr 2007 12:52
Reply Quote
Nice - thanks stingray. :)
winden
Member
#4 - Posted: 19 Apr 2007 19:04
Reply Quote
there is a bit on the copper wait instruction which means "you wait until this raster position AND ALSO THE BLITTER MUST BE FREE"
Azure
Member
#5 - Posted: 20 Apr 2007 23:24
Reply Quote
Reducing the number of blitterstarts does actually free a lot of cpu time on A500, especially of you have a lot of small objects. (AKA BOBS)
 Page:  ««  1  2  

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0