View Single Post
Old 17 January 2021, 16:53   #19
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
Quote:
Originally Posted by Antiriad_UK View Post
Yes I wasn't trying to "use" this it was just explaining a weird situation I had previously worked around.

I had a custom list that disabled sprite dma. On restoring system I had this order:
;wait vblank
;disable dma
;restore system CL
;restore system DMA

Result = mouse pointer sprite still disabled because the custom CL ran one more time after renabling copper. If I add one more vblank wait like so it works:
;wait vblank
;disable dma
;restore system CL
;>> WAIT for vblank <<
;restore system DMA
yep, even in my code you can often find those that seem more WaitTOF than they should.
In fact, there is a reason, for the 'unfortunate' cases
ross is offline  
 
Page generated in 0.04282 seconds with 11 queries