on-internet
← Community

Different behavior of Game Boy DMG game in debug and non-debug mode

Stack Overflow ·

I'm making a "Flapping Bird" game for the "Original Nintendo Game Boy" (DMG) in Assembly using RGBDS tools (RGBASM, RGBLINK and RGBFIX are all version 0.6.1) and BGB (version 1.6.6). When I run the game normally, it seems broken and it doesn't even work the same if I exit the emulator and run it again! If I run the game, enter debug mode and run the game instruction by instruction, everything is working as intended! Why is this happening? My code: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Constants. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Comments

Sign in or sign up to comment and upvote.

No comments yet.