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

Atari coding BBS
 
Re: Built in obsolescence DSP help
Posted by: Laurent Sallafranque Jan,15.2010-00:03 

I thought from the doc that only a JSR could generate a long interrupt.

Does it mean that in both case, (JSR or JMP) it generates a LONG interupt, but only a JSR saves the SR state, increase IPL, save the PC, ... ?

In the case of this demo, if there's no RTI, the stack can't be restored, and the IPL mask is too high and will mask the next $1b interrupt.

They've probably chosen to generate the stack overflow to let the program restart from beginning and execute again the ANDI instruction (to allow again the interrupts).
It's a strange way to do the job !

I'll try to change my code to test this.

Another littler question : is there a way on the real falcon to get traces of a program that executes inside the DSP ?

It would be nice to compare real traces and hatari traces to see the differences. (I think it's not possible, but I ask anyway, in case of :)

Best regard,

Laurent








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

Topic Posted by  Date 
Built in obsolescence DSP help Laurent Sallafranque Jan,14.2010-00:18
  Re: Built in obsolescence DSP help sqward Jan,14.2010-00:58
  Re: Built in obsolescence DSP help mikro Jan,14.2010-01:20
    Re: Built in obsolescence DSP help mikro Jan,14.2010-01:31
      Re: Built in obsolescence DSP help Laurent Sallafranque Jan,15.2010-00:03
        Re: Built in obsolescence DSP mikro Jan,15.2010-11:11
          Re: Built in obsolescence DSP mikro Jan,15.2010-11:48


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