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

Atari demoscene BBS
 
Re: Performance problems
Posted by: nerve Apr,30.2009-23:07 

Sorry for beeing cryptic, i was assuming it was a known problem.

The YM-code stopped working here after pulling the repos yesterday morning. Tried cloning it again too, with the same result. Seems someone renamed a symbol in the CNF_SOUND struct (nPlaybackQuality to nPlaybackFreq) - but either my pull is incomplete (never used mercurial before so i cant know for sure) or the whole patch was not submitted.

Ohwell, lets compile anyway i thought, and made an attempt to finish the renaming. Ok, so it compiled nicely again, but now there were division by zero crashing in the envelope setup code instead. And that leads us to the moral of the story:

#define SAMPLES_PER_FRAME ((SoundPlayBackFrequencies[OutputAudioFreqIndex]+35)/nScreenRefreshRate)

and a bunch more.... Probably an effective hack but seriously problematic to debug for a random dumb guy (me! :) ). If you redefine a macro by "accident" (like recompiling after debug and fix) you are in for a world of trouble, because afaik the compiler does not care...

So, sorry for any offense you may have taken... Hopefully the repos is back in shape by now :)

Oh, and i may not be the OS X "wizard" you were hoping for, but i am certainly hacking on it for whoever may be interested in our patches...

Peace :D

/Kaare







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

Topic Posted by  Date 
hatari once again! mikro Apr,24.2009-18:51
  Re: hatari once again! trophy Apr,24.2009-21:17
  Re: hatari once again! evil Apr,25.2009-17:20
    Re: hatari once again! Simon Sunnyboy / Paradize Apr,25.2009-18:29
      Re: hatari once again! evil Apr,25.2009-18:52
        Performance problems thothy Apr,28.2009-23:10
          Re: Performance problems evil Apr,29.2009-16:12
            Re: Performance problems nerve Apr,29.2009-18:53
              Re: Performance problems Patrice Mandin Apr,30.2009-11:25
                Re: Performance problems nerve Apr,30.2009-16:00
              Re: Performance problems thothy Apr,30.2009-20:54
                Re: Performance problems nerve Apr,30.2009-23:07
                  Re: Performance problems thothy May,01.2009-00:01
                    Re: Performance problems nerve May,01.2009-02:47
                      Re: Performance problems thothy May,01.2009-13:21
                        Re: Performance problems nerve May,01.2009-16:41
                          Re: Performance problems thothy May,01.2009-20:00
                            Re: Performance problems nerve May,01.2009-20:22
                              Re: Performance problems thothy May,02.2009-00:13
    Re: hatari once again! mikro Apr,25.2009-18:29
  Re: hatari once again! evil Apr,25.2009-18:53
    Re: hatari once again! Dma-Sc Apr,26.2009-09:43
      Re: hatari once again! CiH Apr,26.2009-19:02
        Re: hatari once again! mikro Apr,26.2009-20:11
          Re: hatari once again! Laurent Sallafranque Apr,27.2009-10:03
            Re: hatari once again! Mic/Dune Apr,27.2009-11:15
              Re: hatari once again! Laurent Sallafranque Apr,27.2009-14:08
          Re: hatari once again! Patrice Mandin Apr,27.2009-14:00
        Re: hatari once again! thothy Apr,28.2009-23:19
          Re: hatari once again! marakatti Apr,29.2009-06:41
            Re: hatari once again! nerve Apr,29.2009-09:36
          Re: hatari once again! Chuck Apr,30.2009-23:30


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-2025 Dead Hackers Society Contact: Anders Eriksson