Quote:
Originally Posted by Lonewolf10
I heard that the movem instruction can be used to clear screens quickly. Is this true and how would it be done?
Regards,
Lonewolf10
|
Set sp to the top of memory you want to clear.
Zero all registers and
Code:
rept lots of times
movem.l d0-a6,-(sp)
endr
For added fun switch to supervisor and use the usp too