11 March 2016 - Forum Rules
Started by ØX-Carnage, August 07, 2015, 12:26:36 AM
Quote from: tryphon on August 07, 2015, 03:19:31 AMWhy did you subtract 200? The header is part of the Rom, contrary to what happens for Snes. Also are you sure this is really the beginning of the text? If you still don't find the pointer table, then maybe you have to deal with relative pointers.
Quote from: Tony H on August 09, 2015, 05:36:32 PMWith Gens Tracer, just press the "/" key to start instruction logging, and press it again to stop. It logs it to a file named "trace.log" in the same folder that Gens is in.
Quote from: KingMike on August 20, 2015, 03:05:22 PMYou were probably reading a SNES doc. You don't subtract for headers on Mega Drive/Genesis (and if you're using a headered SNES ROM, you should delete that header instead of subtracting 200 ), and don't reverse the bytes either.(I'd say make you're hacking a non-interleaved, aka "bin" file, but since you can read the text in the ROM, you already have it in the right format)From what I've read it's very common for MD games to store pointers as the full 4-byte value. (pointer is the same as the ROM address, add zeros at the beginning to make it 4 bytes if needed).
Quote from: Zynk Oxhyde on August 20, 2015, 11:12:15 PMWhen I see this topic, I thought its for Mega Man games
Quote from: Malias on August 23, 2015, 09:25:28 PMI did a little digging and found out why you're having trouble locating pointers. First, the pointer is only a word long. Second, the game stored the upper and lower byte of each pointer separately. The lower bytes start at $1684 and the upper bytes start at $177E. To get a pointer, you add an offset to these two addresses to get the lower and upper bytes. These are then combined to get the pointer.For instance the pointer you're looking for is at offset 2. The lower byte is at $1684 + 2 which is $6E. The upper byte is at $177E + 2 which is $19. Combine the upper byte and lower byte to get $196E (not $1970).
Page created in 0.220 seconds with 20 queries.