vgmrips

The forum about vgm files
It is currently 2019-02-15, 21:53:31

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2019-02-08, 7:06:29 
Offline

Joined: 2019-02-08, 5:01:02
Posts: 1
I've been trying to rip a couple of songs from Cobra Command (specifically the side-scrolling arcade version) using the MAME VGM logging mod, and while the logging works perfectly, I've run into a couple of other problems.

Due to the nature of the game, it's always moving forward, which means I can't just let the emulator sit there and record the entirety of a song. Now my first thought would be to find a code online that'd allow me to access the game's sound test, if there even is one. But thanks to the game's relative obscurity, I couldn't find any. Same goes for invinciblity cheats too.

So, any idea of what I could do to get myself out of this delema?


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-08, 11:42:38 

Contributors Contributors
Staff Staff
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 351
My usual method for games that use a discrete sound CPU (like in this case) is to figure out how the main CPU communicates with the sound CPU.

Open the MAME source code and look for "sound latch" or similar, often you'll get the memory address. In this case, it's here.

Then run MAME with the debugger enabled (mame64 -d cobracom), halt the main CPU early (usually by crashing it as soon as it starts), and you'll be able to send commands to the sound CPU without any interference.

I got music to play by entering this:
Code:
pc=8124
g
b@3e00=1f


This might sound complicated but it really isn't.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


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:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.259s | 15 Queries | GZIP : On ]