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

Atari coding BBS
 
Re: DSP context switch
Posted by: dml Mar,14.2014-16:10 

Heh - yes while it's a huge benefit for some things, it does also suck at some basic stuff you'd normally take for granted :)

Nops are ugly but OTOH they jump out at you and it makes finding 'spare slots' easy to find and use later on... Even just formatting code consistently on DSP is important, for finding those spare slots among a mess of stuff.

Working with linked lists or anything indexed is my own personal hell with it. Had to learn some weird DSP rain-dance practices to deal with data->address transfers efficiently. I try to avoid (rz+nz) addressing because of the guaranteed penalty (also for movep). Resulting code is usually reads poorly but at least a couple of ticks faster :)








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
DSP context switch dml Mar,07.2014-13:36
  Re: DSP context switch sqward Mar,10.2014-02:32
    Re: DSP context switch Laurent / Thadoss Mar,14.2014-13:32
      Re: DSP context switch dml Mar,14.2014-14:52
        Re: DSP context switch Laurent / Thadoss Mar,14.2014-15:26
          Re: DSP context switch dml Mar,14.2014-16:10
    Re: DSP context switch dml Mar,14.2014-14: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