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

Atari coding BBS
 
Again, DSPMod request
Posted by: Laurent / Thadoss Apr,12.2014-09:12 

Hi all,

Sorry to disturb again, but I have a question about DSPMod.

In racer, the sound part is now eating a lot of cycles.
According to hatari, the 68030 -> DSP transfers for the sounds are taking nearly one VBL that I'd like to reduce (the game would run more swoothy).

All my samples are taking 51 Ko in memory.
I'd like to have them in the DSP memory instead of the 68030 memory.

I'd like to start or stop one sound by just sending 1 order to the DSP.

Something like:

move.b #sound_index,(a5)+ ; the sound to start/stop (from 0 to 16)
move.b #start_stop,(a5)+ ; the start (1) or stop (0) command
move.b #loop_mode,(a5)+ ; the loop (1) or don't loop (0) command
move.w #sound_frequency,(a5)+ ;the frequency
move.w #volume,(a5)+ ; the volume

Maybe there's a need for more variables, but this would avoid to send all the sounds data to the DSP all the time, but only the module datas.


Do you think it would be easy to implement ?
Of course, this would be useful to other Falcon game developers ;)

Is there a repository with the source code of the latest DSPMod 3.4 that could be used to implement this ?
I've got older sources, but not the official 3.4 version.

Does anybody here would like to add this feature to the player (if not, I can have a look at it, but I'm not an expert in mod players).

Regards

Laurent








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

Topic Posted by  Date 
Again, DSPMod request Laurent / Thadoss Apr,12.2014-09:12
  Re: Again, DSPMod request evil Apr,12.2014-12:16
    Re: Again, DSPMod request Laurent / Thadoss Apr,12.2014-13:27
      Re: Again, DSPMod request Thomas / New Beat Apr,14.2014-10:24
        Re: Again, DSPMod request ggn Apr,14.2014-15:48
          Re: Again, DSPMod request ggn Apr,14.2014-16:37
            Re: Again, DSPMod request dml Apr,14.2014-19:01
              Re: Again, DSPMod request ggn Apr,15.2014-10:06
                Re: Again, DSPMod request dml Apr,15.2014-17:14
                Re: Again, DSPMod request dml Apr,15.2014-18:32
          Re: Again, DSPMod request Thomas / New Beat Apr,14.2014-18:24
        Re: Again, DSPMod request Laurent / Thadoss Apr,16.2014-22:05
          Re: Again, DSPMod request evil Apr,16.2014-22:52
            Re: Again, DSPMod request Thomas / New Beat Apr,17.2014-18:20
              Re: Again, DSPMod request ggn Apr,17.2014-23:23
                Re: Again, DSPMod request Thomas Apr,18.2014-19:55
              Re: Again, DSPMod request evil Apr,18.2014-20:22


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