|
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]
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.
|