Skip to content

Music inside HiROM mapped rom example and mouse support bug fixes#280

Merged
alekmaul merged 2 commits intoalekmaul:developfrom
DigiDwrf:develop
Apr 14, 2024
Merged

Music inside HiROM mapped rom example and mouse support bug fixes#280
alekmaul merged 2 commits intoalekmaul:developfrom
DigiDwrf:develop

Conversation

@DigiDwrf
Copy link
Copy Markdown
Contributor

@DigiDwrf DigiDwrf commented Apr 13, 2024

Music inside HiROM mapped rom example

soundbank is smaller than $10000 in size, so it fits in one single bank.
Musical theme rearranged and some fun animations have been added ;)

Bug fixes for mouse input and example

I removed a branch present in bios, so both ports are read in one single vblank interrupt.
detectMouse() is called later, after nmi, so mouse is detected. snes_mouse is set to 0 when both mouses are not found, not the second one, this is to prevent potential issues.

soundbank is smaller than $10000 in size, so it fits in one single bank.

Musical theme rearranged and some fun animations have been added ;)
I removed a branch present in bios, so both ports are read in one single vblank interrupt.
detectMouse() is called later, after nmi, so mouse is detected. snes_mouse is set to 0 when both mouses are not found, not the second one, this is to prevent potential issues.
@DigiDwrf DigiDwrf changed the title Music inside HiROM mapped rom example Music inside HiROM mapped rom example and mouse support bug fixes Apr 14, 2024
Copy link
Copy Markdown
Owner

@alekmaul alekmaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, can merge

@alekmaul alekmaul merged commit 4e48784 into alekmaul:develop Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants