(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-29-24 05:17 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Getting started with Z80? (Gameboy) New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Keitaro

Mole


 





Since: 11-18-05
From: Massachusetts

Last post: 6437 days
Last view: 6437 days
Posted on 03-07-06 08:45 PM Link | Quote
I've been interested lately in learning to ASM hack. I thought I'd start out with the Gameboy, as it has many games I love and would enjoy hacking more thoroughly.

I've read up on Zophar's a bit...or rather, I tried to. It seems all their documents on Z80 are simply lists of commands, or technical documents for the chip itself (not necessarily Gameboy related). Instead of wandering around Google aimlessly, I thought I might be able to save myself some time and ask here--is there anything one would recomend as a good starting point fo Z80? Are there by channce any documents that give an introduction to the hacking aspects of it (Gameboy specific) as opposed to just high-tech information that would seemingly only serve useful if you were to code your own Z80 program from scratch? I guess what I'm asking is what would be a good place to start?

Another thing I've wondered. Will I be doing these ASM modifications in a hex editor? What exactly does a disassembler do, exactly. Does it disassemble the entire game into Z80 assembly code? And the reassemblers assumedly would recompile it back into a ROM? Youll have to bear with me, I'm fairly new to this whole realm of hacking. Thanks a ton if you can help me out here in any way.
interdpth

Mole
MZM rapist


 





Since: 11-18-05

Last post: 6279 days
Last view: 6279 days
Posted on 03-07-06 09:15 PM Link | Quote
www.devrs.com/gb that should be it.
Parasyte +

Red Paragoomba


 





Since: 01-05-06

Last post: 6600 days
Last view: 6600 days
Posted on 03-08-06 05:26 AM Link | Quote
Check out the GB Crib Sheet ... not very tutorial like, but invaluable when you need a quick bit of info. The site also has some other good information as well, including the Rednex Gameboy Development System and related material.

For hacking, be sure to pick up BGB, an emulator with probably the best GameBoy debugger available. (To hell with that no$gmb crap... it sucks.)


(edited by Parasyte + on 03-08-06 04:28 AM)
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6280 days
Last view: 6280 days
Posted on 03-08-06 09:48 PM Link | Quote
A disassembler will convert the ROM to a huge chunk of ASM source code. However, assemblers generally don't know the difference between code and data, so even the data parts will be turned into nonsense code. Disassemblers also usually add a lot of line numbers and addresses, and just print ??? for unknown instructions, so you'll have quite a hard time reassembling it. Not really worth the time. What I usually do is make my changes in the debugger, then write them in with a hex editor if they're small, or write actual ASM source, assemble it with tniASM (perfect for this purpose) and copy it into the ROM.
Originally posted by Parasyte +
For hacking, be sure to pick up BGB, an emulator with probably the best GameBoy debugger available. (To hell with that no$gmb crap... it sucks.)

In my experience both are ridiculously buggy. No$ has a memory leak in the debugger and usually crashes if you try to reload the ROM, and you can pretty much forget about being able to specify a ROM on the command line. BGB's interface is a crummy No$ ripoff, doing the wrong thing at the wrong time can crash or hang the emulator easily, and it pretty much has the same features.
In short: No$ = nice interface, lots of annoying little bugs. BGB = Works well, but interface will drive you mad.
Keitaro

Mole


 





Since: 11-18-05
From: Massachusetts

Last post: 6437 days
Last view: 6437 days
Posted on 03-10-06 05:42 PM Link | Quote
Ahh...thanks alot. Those links are actualy really, really helpful (I used to use devrs when I first was learning about GBA development, actualy). I'll be sure to read over some of these and maybe play around with a few commands in some game (though I don't expect to acomplish much right off the bat )
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Getting started with Z80? (Gameboy) |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.013 seconds; used 367.58 kB (max 441.50 kB)