Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Really weird bug on 1.62 STe
Posted by: Sdw Dec,31.2014-01:40 

I crossdev on PC (using a combination of VBCC C-code and assembler), testing is done in Hatari, and every now and then I copy to a disk and run on my STe to see it on the real thing.

My Hatari setting has been a vanilla ST w. 2.06 TOS.
My STe is a 4Mb upgraded and has 1.62 TOS.

Everything has worked fine, then suddenly code that worked fine in emulator bombed out on the STe. I started copying and testing on real HW more often, and while by commenting away some code I could get it to run without bombing, it was completely senseless, for example adding simple lines like:

y=frame%512;
if(y==0) waitvbl();

Would make the STe bomb, while it ran fine in Hatari. I was very confused, as normally emulators nowadays are fairly reliable, and code that's running in emu often works on real hw without problems.

Scratching my head, I configured Hatari to run the exact same config as my real machine (STe w. TOS 1.62) and now I am getting:

"Detected double bus error => CPU halted! Emulation needs to be reset."

So, at least I can reproduce the error in the emulator as well, but I am completely baffled to what it is that I'm doing wrong, and why it is a problem ONLY on 1.62?!?

Any gurus who can point me in at least some direction to start looking for the problem? Does this cryptic error "double bus" give any hint?








[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