Jump to content

DSemu v0.0.2d Released!


Alpha

Recommended Posts

I apologize were a little late on this. I don't know what happened.. but somehow we missed 3 releases. ;)

 

I said I'd keep looking at the core, and I did. I ended up finding the major error relating to the jump-to-0 bug. I suspected that it was to do with the stack getting corrupted somehow, and with some good debugging help from various sources, I tracked it down to the stack pointer getting changed. It turns out that Thumb ADDSP-imm has a reciprocal mode, SUBSP-imm, encoded by the same first byte. Fix that, and suddenly nothing jumps to 0 anymore. Mind you, it's still the case that nothing works.

 

Elsewhere, I've noticed that when the emulator is put into animated scanline mode, the output screen starts flashing like a madman. It's because the MMX word-flip operation to turn the colours the right way up gets applied every scanline, to the same buffer as its previous output. After adding yet another output buffer, the screen no longer flashes in a psychedelic manner.

 

»» http://www.dsemu.org [HomePage]

»» http://dsemu.1emulation.com [Forums]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...