Extra Music Slots in S1
12 Aug 2007 05:43 PM |
PsychoSk8r
in Sonic 1
I'm not sure who credit is to be given, but if you know who it is, let me know and i'll put the name here.
======================
To add more music slots to the sound test, search for this code in the level select routine:
[codebox]LevSel_NoCheat: cmpi.w #$94,d0 ; is sound $80-$94 being played? bcs.s LevSel_PlaySnd; if yes, branch cmpi.w #$A0,d0 ; is sound $95-$A0 being played? bcs.s LevelSelect; if yes, branch [/codebox]
Change the line:
[codebox] cmpi.w #$94,d0 ; is sound $80-$94 being played?[/codebox]
so it reads:
[codebox] cmpi.w #$9F,d0 ; is sound $80-$94 being played?[/codebox]
then Rebuild the rom.
And now the sound test will have the music slots going up to 9F, instead of 94,
======================
To add more music slots to the sound test, search for this code in the level select routine:
[codebox]LevSel_NoCheat: cmpi.w #$94,d0 ; is sound $80-$94 being played? bcs.s LevSel_PlaySnd; if yes, branch cmpi.w #$A0,d0 ; is sound $95-$A0 being played? bcs.s LevelSelect; if yes, branch [/codebox]
Change the line:
[codebox] cmpi.w #$94,d0 ; is sound $80-$94 being played?[/codebox]
so it reads:
[codebox] cmpi.w #$9F,d0 ; is sound $80-$94 being played?[/codebox]
then Rebuild the rom.
And now the sound test will have the music slots going up to 9F, instead of 94,












1 Comments