Re: [hatari-devel] Re: BM407 + symbols

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]



Btw. Is DSP stack always fixed size like Hatari code would indicate:
---- dsp_core.h ----
struct dsp_core_s {
....
        /* stack[0=ssh], stack[1=ssl] */
        Uint16  stack[2][16];
--------------------
?

Yes it's a hardware implementation of a stack, for speed, pipeline integration & constant time behaviour. It's not real memory. It is limited in depth.
 

And what happens when DSP subroutine call hierarchy gets too deep,
does the DSP stack just wrap around & overwrite previous return
addresses, or does it do something else?

:-) That is something a DSP56k programmer wants to avoid. 'There be dragons'
 
I think it throws an exception or loops around. Something very bad anyway.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/