ITotalJustice / notorious_beeg

gba emulator written in c++23
https://notorious-beeg.netlify.app/
GNU General Public License v3.0
41 stars 4 forks source link

[Minish Cap] missing "Roll" obj text #41

Closed ITotalJustice closed 2 years ago

ITotalJustice commented 2 years ago

what should happen is the "Roll" text is 2 objects. obj0 and obj1. when link is moving, those obj attributes are written to oam[0] and oam[8] and shifts the other attributes down by 16 bytes (so the "R" button which was at oam[0] and oam[8] is now at oam[16] and oam[24]).

this is likely a dma issue.

this is how it currently looks image

this is how it should look image

ITotalJustice commented 2 years ago

whilst looking into issue #4 , i started logging open bus reads. this game does a lot of them, mainly from bios.

the game does an invalid read from bios constantly as soon link becomes moveable (so after the intro). if the returned value == 0, then the "Roll" text won't appear. if > 0, the text appears. very strange stuff.