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

Atari coding BBS
 
Re: Really weird bug on 1.62 STe
Posted by: Sdw Dec,31.2014-13:56 

I solved it (well, at least it is working now)!

I had some C-code that looked like this:

void demo()
{
<some variables declared here>

<code using those variables>
}

I changed that to:

<some variables declared here>

void demo()
{
<code using those variables>
}

I don't know how VBCC does it, but if I recall correctly how most C compilers do it, the difference is that the first version uses the stack to store the variables, while the second uses heap. Could be that it ran out of stack space? Still doesn't explain why the problem only showed up on 1.62 TOS (and only Swedish 1.62 TOS, it worked on UK/DE!)

Damn high level crap, perhaps I should stick to pure asm! :)










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

Topic Posted by  Date 
Really weird bug on 1.62 STe Sdw Dec,31.2014-01:40
  Re: Really weird bug on 1.62 STe evil Dec,31.2014-13:35
    Re: Really weird bug on 1.62 STe Sdw Dec,31.2014-13:56
      Re: Really weird bug on 1.62 STe ggn Dec,31.2014-22:00
      Re: Really weird bug on 1.62 STe Sdw Jan,02.2015-01:48
        Re: Really weird bug on 1.62 STe PeP Jan,02.2015-10:25
          Re: Really weird bug on 1.62 STe mikro Jan,03.2015-00:38
            Re: Really weird bug on 1.62 STe defjam Jan,04.2015-01:37


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