Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - [VGM pack] Predator 2

Reply to topic
Author Message
  • Joined: 03 May 2012
  • Posts: 55
Reply with quote
[VGM pack] Predator 2
Post Posted: Sun Nov 23, 2014 10:50 am
I saw someone request this on here long ago, so I thought I'd rip it. I like the music, though the Genesis version is my favorite out of the two.

Again, I'd like to thank ValleyBell for helping me hack the game and getting the unused song. The title screen and unused song can also be found in the Genesis version.

http://www.smspower.org/Music/Predator2-SMS
  View user's profile Send private message
  • Joined: 15 Sep 2009
  • Posts: 377
Reply with quote
Post Posted: Sun Nov 23, 2014 9:36 pm
And here my usual hacking information post.

In general, the sound RAM begins at C700h in this game.
Music is played by calling a PlaySong routine. There is no memory trigger.
The PlaySong routine uses a lookup table to convert a song ID into the start pattern of the respective song. This table is located in front of the PlaySong routine and has 11 entries. (The first "song" plays silence.)


This time we used a Sonic 1-like pause button hack. It gave us some difficulties though, because Doommaster1994 and me had different ROM versions and the routine locations were different.

SMS e5f789b9 C5D3A3094BD09F02   Predator 2 [SMS-GG]/FLAGS=SMSGG_MODE/COUNTRY=US,EU/PRODUCT_NO=T-81068,T-81068-50
The PlaySong routine is located at 0735h, the song pattern list is at 072Ah. (This is the ROM I had.)

SMS 0047b615 CCDD81E10B375F54   Predator 2/COUNTRY=EU/PRODUCT_NO=MK-27026-50/EMU_TVTYPE=PAL
The PlaySong routine is located at 06DEh, the song pattern list is at 06D3h. (The ROM Doommaster1994 had.)


The used code was a pretty simple combination of "call PlaySong" and the pause button hack from the wiki.
3E vv       LD      A, vv   ; load Song ID
CD 35 07    CALL    0735h   ; PlaySong routine
; Pause Button Hack:
FB          EI              ; enable interrupts
18 FE       JR      $       ; freeze CPU
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14738
  • Location: London
Reply with quote
Post Posted: Sun Nov 23, 2014 11:00 pm
Repacked and added. It seems to be unnecessarily sample accurate.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!