SNESMusic.org Forums

http://snesmusic.org/v2/
It is currently Mon Aug 21, 2017 1:17 am

All times are UTC - 7 hours


Forum rules


* This subforum is for the general discussion of video game soundtracks, and the uploading of emulated-game music formats, including, but not limited to SPC, SNSF, NSF, GBS, PSFs, USFs, GSFs, etc. as well as the respective format's mini*sf extension and files (*sflibs, etc.) required by the format are allowed to be posted here.

* Individual songs can be uploaded as-is, but full soundtracks should ideally be compressed either via .rar, .zip or .7z, or they will be subject to deletion. Subtune-based formats including, but not limited to NSF, GBS, SID, etc do not need to compressed due the nature of their small given size and direct portability.

* Do not upload anything that could be in violation of American copyright laws. Yes, they're silly, arcane, and draconian, but we'd really rather not have to deal with their over-zealous enforcers. This includes links to such files.

* No flaming, no direct attacks against other members, and no spamming. Such activity will not be tolerated. Users who fail to respect other member's rights will be warned, banned or any other action will be taken as required.

* The SNESMusic staff reserve the right to ban users, remove posted content not limited to illegal material, offensive content or any other content at their discretion.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Oct 04, 2012 1:38 am 
Offline
Moderator

Joined: Mon Oct 25, 2010 6:09 am
Posts: 65
Anyone interested in doing some of these? Most games are supported by a musicdump tool, but a few using different driver than stock SNK one are not.

Of 9 games released in 1998, here are the games without any reliable way to dump music:

Baseball Stars, Master of Shougi, Melon-chan's Growth Diary, Pocket Tennis, Puzzle Tsunagete Pon

Here are my findings so far, might be of help to someone:

Main CPU copies the sound driver to Z80 RAM once on boot, then after a song gets changed ingame it goes as follows:

with watchpoints defined as:

Main CPU: wpset 7000,1000,w
Sound CPU: wpset 8000,1,w

0x00 gets written to ngp_z80_comm_w

Main CPU copies the sequence data to Z80 RAM at offset driver_size (0xAB5 or 0x9F5 seem to be the two most popular versions). Not sure what determines which sequence to choose

A value gets written to ngp_z80_comm_w - not the song select, since in some games it's always 0xFC. It can be different value depending on song/game, maybe that works as a bank select command?

New song starts playing, no new hits on those watchpoints until song/SFX change.
Playing SFX doesn't require 0x00 command, just the last value written to ngp_z80_comm_w (different for each SFX).


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group