Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 12-01-2005, 05:18 PM   #1
MooglyGuy
Senior Member
 
Join Date: Mar 2002
Location: Albany, NY
Posts: 4,014
Default Any Genesis emulators with good debuggers?

SNES9x provides a decent debugger/disassembler for SNES games, and there are plenty of Gameboy and NES emulators which provide the same, but I've yet to see a decent one for the Genesis. I'm looking into the potential for a ripped Genesis music format, but the only emulator which even marginally supports the Genesis and has a good debugger doesn't run a lot of games (MESS). Any ideas?
MooglyGuy is offline   Reply With Quote
Old 12-01-2005, 06:05 PM   #2
D--
Senior Member
 
D--'s Avatar
 
Join Date: Oct 2001
Location: Chaoyang, Beijing, China
Posts: 826
Default Re: Any Genesis emulators with good debuggers?

> Any ideas?

I see the source code for Gens Plus included on the Zophar's Domain SEGA Genesis emulators page.

If you know enough about the Genesis to write a tracked music format, and you know enough about its hardware to create the necessayr CPU emulator for such a format, and you know enough abrout programming to accomplish both these tasks, you should know enough to add a basic debugger to the existing code (assuming the author bothered to comment anything).
__________________
portfolio :: deviantArt :: 微博 :: Twitter
D-- is offline   Reply With Quote
Old 12-01-2005, 08:22 PM   #3
MooglyGuy
Senior Member
 
Join Date: Mar 2002
Location: Albany, NY
Posts: 4,014
Default Re: Any Genesis emulators with good debuggers?

] If you know enough about the Genesis to write a tracked
] music format, and you know enough about its hardware to
] create the necessayr CPU emulator for such a format, and you
] know enough abrout programming to accomplish both these
] tasks, you should know enough to add a basic debugger to the
] existing code (assuming the author bothered to comment
] anything).

I said I was looking into the potential for one, not that I was looking to explicitly create one along with the player to go with it. So please, lose the high-horse act and the generally unhelpful "do it yourself" attitude. It's not helping anyone.

I was experimenting with MESS and Megaman: The Wily Wars, and managed to locate an appropriate memory location that, when written to, would trigger various sound effects. The problem is the fact that MESS never actually progresses past a black screen on the game, so I was "running blind". The 68000's program had crashed/looped infinitely or whatnot, but it at least ran far enough to have uploaded the main sound-related code to the Z80, so I was able to poke about in MESS's debugger and see where it was reading some locations. After plugging in some values where the Z80 was reading, I found that it started playing a different sound effect based on the value I put in. The issue is that without the 68k running, the Z80 didn't have any music data uploaded to it, just the sound program itself, so sound effects were all I'd be able to get out of it.

Perhaps it's beyond such a great hacker like you to realize this, but sometimes people try to do things not with the end result of coming up with some wonderful utility, but simply out of intellectual curiosity and a desire to experiment. If I were able to find a Genesis emulator with a debugger that supports breakpoints, I would at least be able to satisfy my curiosity by figuring out what memory location, for Megaman: The Wily Wars at least, controls what music track is currently playing. I find it an intriguing question to think about how a ripped music format might be created for the Genesis. I think the most likely way to create one would be to have the same general idea as an SPC - save a dump of the registers and memory of the sound processor (in this case, a Z80 instead of an SPC700) just before the play command is issued. A problem arises from the fact that the Z80 can communicate with the 68k a bit more thoroughly than the SNES's SPC can communicate with the 65816, especially for things like DMA-driven sound samples. I'm curious as to how that could be avoided without explicitly emulating the 68k as well as the Z80, and without requiring the full cartridge ROM (since the Z80 can request data transfers from the cartridge) to be distributed with the rip.

So as you can see, I'm not looking to create a ripped format. I'm looking into how feasible a ripped format would be, which you'd have realized had you actually read my post instead of reading it halfway, then diving in head-first at the slightest chance to talk down to me, you arrogant prick. <img src=smilies/headshake.gif>
MooglyGuy is offline   Reply With Quote
Old 12-01-2005, 08:24 PM   #4
JadussD
Senior Member
 
Join Date: Jan 2003
Posts: 2,100
Default Re: Any Genesis emulators with good debuggers?

> Any ideas?
>

Gens KMod...
google it, it's a version of Gens with an (incomplete) debugger.
JadussD is offline   Reply With Quote
Old 12-01-2005, 08:25 PM   #5
MooglyGuy
Senior Member
 
Join Date: Mar 2002
Location: Albany, NY
Posts: 4,014
Default Re: Any Genesis emulators with good debuggers?

> > Any ideas?
>
> Gens KMod...
> google it, it's a version of Gens with an (incomplete)
> debugger.

Incomplete enough to not support breakpoints? <img src=smilies/cry.gif>
MooglyGuy is offline   Reply With Quote
Old 12-01-2005, 08:30 PM   #6
JadussD
Senior Member
 
Join Date: Jan 2003
Posts: 2,100
Default Re: Any Genesis emulators with good debuggers?

> Incomplete enough to not support breakpoints?
>

I believe I did email the author with a request that he include them, due to them being of high importance in making a debugger useful at all...Got no response, that was 5 months ago at least. So...no, I guess it doesn't support breakpoints. :|
JadussD is offline   Reply With Quote
Old 12-01-2005, 09:13 PM   #7
MooglyGuy
Senior Member
 
Join Date: Mar 2002
Location: Albany, NY
Posts: 4,014
Default Re: Any Genesis emulators with good debuggers?

> I believe I did email the author with a request that he
> include them, due to them being of high importance in making
> a debugger useful at all...Got no response, that was 5
> months ago at least. So...no, I guess it doesn't support
> breakpoints. :|

Curses, foilied again! Ah well, I'll probably work on making MESS's Genesis emulation better if I ever get some free time. It could use it, anyway.
MooglyGuy is offline   Reply With Quote
Old 12-02-2005, 01:16 AM   #8
MegaManJuno
Senior Member
 
Join Date: Jan 2003
Location: WV
Posts: 626
Default Pot. Kettle. Black. *nt*

<img src=smilies/upeyes.gif>
MegaManJuno is offline   Reply With Quote
Old 12-02-2005, 02:15 AM   #9
D--
Senior Member
 
D--'s Avatar
 
Join Date: Oct 2001
Location: Chaoyang, Beijing, China
Posts: 826
Default headshake.gif for the ban!

> I'm looking into how feasible a ripped format would
> be, which you'd have realized had you actually read my post
> instead of reading it halfway, then diving in head-first at
> the slightest chance to talk down to me, you arrogant prick.<img src=smilies/headshake.gif>
__________________
portfolio :: deviantArt :: 微博 :: Twitter
D-- is offline   Reply With Quote
Old 12-04-2005, 03:10 AM   #10
iamstillhiro1112
Junior Member
 
Join Date: Apr 2005
Posts: 11
Default Re: headshake.gif for the ban!

I e-mailed the author of it also some time ago. He said that Gens isn't set up in a way where he could implement that. I guess it's not gonna happen with Gens.
<P ID="signature"></P>
iamstillhiro1112 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:09 AM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.