|
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]
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.
|