Zophar's Message Domain

Zophar's Message Domain (http://www.zophar.net/forums/index.php)
-   Rom Hack (http://www.zophar.net/forums/forumdisplay.php?f=8)
-   -   A few general genesis hacking questions. (http://www.zophar.net/forums/showthread.php?t=8909)

boogieman 09-04-2007 12:17 AM

A few general genesis hacking questions.
 
Hello,
I would like to learn about hacking genesis roms. Does anyone have any resources like tutorials/useful sites etc?

Ultimately I would like to take a peek at the battle code for the shining force series and use parts of it / write a similar system for rpg maker xp. I am pretty new so bear with me!<img src=smilies/erm.gif>

I really would like to know what I need to open up a rom and look what's going on with the code, syntax, etc.

Thanks for any help!<img src=smilies/magbiggrin.gif>
<P ID="signature"></P>

RyanfromScotland 09-06-2007 10:32 PM

Re: A few general genesis hacking questions.
 
Hey as far as I'm to look at the coding for a genesis rom you need to use a 68K disassembler, I'm in the middle of running Toejam and Earl through one just now but it's not a quick process. I'll post once it's finished and tell you how I got on.

romhacking.net might be useful to you.
> Hello,
> I would like to learn about hacking genesis roms. Does
> anyone have any resources like tutorials/useful sites etc?

<P ID="signature">Do you ever think your taking life just a little too seriously?</P>

RyanfromScotland 09-06-2007 11:03 PM

Re: A few general genesis hacking questions.
 
Ok found a couple of instructions on how dasm68 works (well 1 line which tells you how to get the output as a text file rather than 10min session of command lines speeding past) and here is an extract of the first couple of lines


00000000 00ff 8000 OR.? #0x8000,????
00000004 0000 0202 OR.B #0x202,D0
00000008 0000 0200 OR.B #0x200,D0
0000000C 0000 0200 OR.B #0x200,D0
00000010 0000 0200 OR.B #0x200,D0

here is a couple more lines further in

000FFB06 bb0a CMPM.B (A2)+,(A5)+
000FFB08 ba55 CMP.W (A5),D5
000FFB0A 2262 MOVE -(A2),A1
000FFB0C 6626 BNE B_ffb34
000FFB0E 3222 MOVE.W -(A2),D1

So yeah I don't think your going to be able to read that unless I'm underestimating your abilities :)

The above is in low level langauge, there may be disamblers out there that translate into high level langauge I'll have a look later.
<P ID="signature">Do you ever think your taking life just a little too seriously?</P>

RyanfromScotland 09-07-2007 02:27 AM

Re: A few general genesis hacking questions.
 
www.hacking-cult.org has a good guide on programming with the code above, I haven't had a look around the whole site yet but looks like it's going to have a lot of useful material.
<P ID="signature">Do you ever think your taking life just a little too seriously?</P>


All times are GMT. The time now is 07:40 AM.

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