Never made a subroutine before.... How do you do it?
Announcement
Collapse
No announcement yet.
How Do You Deal With"Collection" Games?
Collapse
X
-
You basically hook into one of the game's subroutines by branching out to a subroutine you've stored in unused memory (a "code cave"). If you're going to hook into part of an emulator, you'll have to be very careful to restrict when your subroutine does its work. I think what Skiller was describing was essentially inserting code into the routine that loads the ROM data, so he could retrieve the pointer to it without hassle and store it in a stable location. Injecting something into the emulated load/store operations and getting it to only fire when desired would take a bit more doing.
Comment
-
I do know what is Sonic JamOriginally posted by travelsonic View PostIncorrect. 110% incorrect. The games were not emulated at all in that particular compilation. Are you sure you're not thinking of the Mega Collection for the XBOX, Gamecube, etc?
http://www.gamefaqs.com/saturn/19869...ages/box-42935
In Sega Saturn RAM
Work RAM Low (0x02000000): holds current partial of ROM data and music files
Work RAM High (0x06000000): holds emulator, Sonic Jam interface and
game's RAM data which match perfectly with actual sega genesis RAM
Gameshark codes
http://gamehacking.org/?game=84379lee4 Does Not Accept Codes Requests !
When lee4 asks a question it does not mean lee4 will look at your game
*How to create and use SegaCD codes >click here<*
Comment
Comment