Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
sys calls vs direct calls N00b Jun,17.2010-21:14
  Re: sys calls vs direct calls evil Jun,17.2010-22:00
    Re: sys calls vs direct calls N00b Jun,17.2010-22:16
      Re: sys calls vs direct calls mikro Jun,17.2010-22:45


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson