For suy = 0 To vph
For sux = 0 To vpw
AX = ReadPixelFast(sux,suy,TBFSC)
BX = ReadPixelFast(sux,suy,TBFSC3)
If AX<>BX Then
WritePixelFast sux,suy,bx,TBFSC
Else
WritePixelFast sux,suy,bx And $00FFFFFF,TBFSC
EndIf
Next
Next
this need 69 ms here as a dll function
but the images swapping is not real fast !
for the next update i wish a
copymemory to bank or copyrect to bank for b3d
added later
will mutex or semaphore help me or iam on the wrong way ?
edited later
forget mutex
He Marc it'S Cristmas ;)
For sux = 0 To vpw
AX = ReadPixelFast(sux,suy,TBFSC)
BX = ReadPixelFast(sux,suy,TBFSC3)
If AX<>BX Then
WritePixelFast sux,suy,bx,TBFSC
Else
WritePixelFast sux,suy,bx And $00FFFFFF,TBFSC
EndIf
Next
Next
this need 69 ms here as a dll function
but the images swapping is not real fast !
for the next update i wish a
copymemory to bank or copyrect to bank for b3d
added later
will mutex or semaphore help me or iam on the wrong way ?
edited later
forget mutex
He Marc it'S Cristmas ;)