-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nullsound: z80 fixes for mame / real hardware
* Init didn't configure z80 ports appropriately [1] so NMI were not received by the sound driver, and no sound was emitted on Mame. This is likely the same issue on real hardware. * Sound commands 01/03 didn't mute the ADPCMa channel correcly, this one is fixed. More improvement will follow in another commit to mute all channels (SSG, ADPCMa/b, FM). * The write to YM2610 was unecessarily waiting for YM2610 status. This is now changed in favour of busy waiting on Z80 to allow the YM2610 to settle between writes. This follows the information from neogeodev wiki [1], but could not be tested on real hardware. This is working on Mame and GnGeo. [1] https://wiki.neogeodev.org/index.php?title=Z80_port_map [2] https://wiki.neogeodev.org/index.php?title=Z80/YM2610_interface Closes #64
- Loading branch information
Showing
6 changed files
with
128 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters