[net.micro.mac] The CopyBits Bug

dubois@uwmacc.UUCP (Paul DuBois) (04/08/86)

When the Mac Plus was introduced, a list of differences between the
old and new ROMs was posted, among which was a reference to a "rare
bug in CopyBits" when the bitMaps overlapped.

Does anyone know the exact conditions under which the bug becomes
manifest?  I have the old ROM, and I think I have run into it in one of
my programs, but my bitMaps aren't overlapping.  I am doing some picture
drawing, where the destination picture frame is exactly twice as long
on a side as the original.  Sometimes after drawing the dest picture,
my program stops responding to the mouse (but not always).  Other times
it crashes.  Other times only part of the picture gets drawn.  Other
times it works.

When I change the size of the destination frame, everything works fine.

-- 
                                                                    |
Paul DuBois     {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois        --+--
                                                                    |
Doth the hawk fly by thy wisdom, and stretch her wings              |
toward the south?                        Job 39:26