Primary Zelda Hacking

General GameBoy Hacking => Projects => Topic started by: Lin on August 27, 2010, 10:15:45 PM



Title: Z80 (GameBoy) ASM to C# Converter
Post by: Lin on August 27, 2010, 10:15:45 PM
Well, I've been working on this tool for a couple days, if that. Total time though, maybe a couple hours at most. It's basically a tool that converts Z80 GameBoy ASM (Note it's very important regular Z80 doesn't get confused with the GameBoy's version of it) into compilable C# code. This is useful for ripping game code, such as a loading procedure, or getting a better understanding of how things work. Here's what it looks like.

(http://img843.imageshack.us/img843/6938/asmtocsharp4.png)

Getting somewhere. Probably won't follow through with it though.

~Lin


Title: Re: Z80 (GameBoy) ASM to C# Converter
Post by: Fatories on August 28, 2010, 05:04:41 AM
Very interesting  :) Does it or do you plan on making it convert C# to the Z80 Gameboy ASM? I could find this very useful since I'm sort of starting to learn C# (Probably won't because I cant get enough motivation to go all the way through)

Anyway, very cool, I'd like to see this done.


Title: Re: Z80 (GameBoy) ASM to C# Converter
Post by: Jandazekon on August 28, 2010, 07:15:43 AM
Can this tool convert a gbc rom to a c++ project as later can be converted to a gamemaker 6 file???


Title: Re: Z80 (GameBoy) ASM to C# Converter
Post by: BigTarantula99 on March 11, 2014, 08:51:44 PM
Do you still have this?  This might be very useful to me and maybe I could finish this someday too.


Title: Re: Z80 (GameBoy) ASM to C# Converter
Post by: Lin on March 11, 2014, 09:06:36 PM
Do you still have this?  This might be very useful to me and maybe I could finish this someday too.
Yes, but it's not at all useful. It literally just converts instructions to C#, as if it were creating an executable of what is disassembles. I would make this convert to C instead of C# if I ever redid this.