|
Atari coding BBS
Re: sys calls vs direct calls |
Posted by: evil
|
Jun,17.2010-22:00
|
The second example any time, the OS call for setting a palette has an immense overhead in CPU-cycles compared to the other.
You can optimize a little by moving directly from memory and by using word sign extend, eg;
movem.l palette,d0-d7
movem.l d0-d7,$ffff8240.w
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|