View Single Post
Old 06 February 2011, 10:11   #24
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Quote:
Originally Posted by frank_b
The blitter should be about the same speed as the cpu for a clear. It should be around 4 cycles per word.
OK, thanks.

Quote:
Originally Posted by frank_b
Some machines don't have a blitter so it's good to know these things
True.

Quote:
Originally Posted by frank_b
Besides you might need to quickly copy or clear a fast RAM buffer some time
and true again.

Quote:
Originally Posted by StingRay
Pretty common method to clear the screen on 68000 is this:
Clear the upper half using the blitter, clear the bottom half using the CPU [movem.l dx-ax,-(a7)]
OK, good to know. One thing though, I take it that you have to save / restore the stack (what I mean is: where a7 points to) before / after the movem clear operation so as not to kill the stack --> crash...?
pmc is offline  
 
Page generated in 0.04351 seconds with 11 queries