Gunstar Heros disassembly?

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

RetroGames
Interested
Posts: 34
Joined: Mon Oct 19, 2015 12:34 pm

Re: Gunstar Heros disassembly?

Post by RetroGames » Thu Mar 03, 2016 4:48 am

MintyTheCat wrote:...GNU GAS has very good documentation going back all the way to the late 1980s and good support too.
Interesting. Seems that GNU GAS's executable is also known as "AS", apparently a legacy from Unix. Wonder why the author of this "Macro Assembler AS" I linked to decided to also use the name "AS"... Anyway, sorry if I confused things. To reiterate: I was not talking about GNU GAS, aka "AS", I was talking about "The Macro Assembler AS", aka "AS".

...I'll see myself out... 8)

Sik
Very interested
Posts: 934
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Gunstar Heros disassembly?

Post by Sik » Thu Mar 03, 2016 7:19 am

AS is a rather generic name for whatever is the system's assembler.
Sik is pronounced as "seek", not as "sick".

MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Re: Gunstar Heros disassembly?

Post by MintyTheCat » Thu Mar 03, 2016 11:46 am

Yes, you often find that many things are a carry over from Unix and indeed C and Unix are so closely tied you simply end up knowing about both as you learn the other.

But yes, it is rather unfortunate that they use the name "AS" all the time :) In the Amiga days we used to just say DevPac or SEKA (not the pornstar :D).
Very few people had a C compiler back then as they were expensive so most people used something like Assemby or some form of BASIC like Amos.
I actually got my first C Compiler back in 1996 and that was actually under DOS on the PC.
UMDK Fanboy

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Re: Gunstar Heros disassembly?

Post by r57shell » Tue Mar 08, 2016 2:06 pm

r57shell wrote:I just wanna warn you.
If you wanna make full disassembly of some game, it will took for you several years. (solo)
Natsumi wrote:I'd say months is closer to accurate, depending on the size of the ROM and complexity of the code. Of course, the skills of the user also factors on the speed they can resolve code. Yes it could take years, no doubt, but I know people who can make a building disassembly of a game in even weeks. Not very well documented but fully usable.
This:
OrangyTang wrote:It's nice to have some actual documentation on the assembler now. :) And after basically marking the whole rom other than the header as data I finally have an export from IDA that reassembles into what looks like a byte-identical rom. Which is a start.
Even though it's buildable, it will take time, to make all offsets working. (pointers)
And, during month, you don't go far beyond simply buildable assembly that. BTW, you can define whole ROM as data, it will be buildable, but it won't help a lot.
Just for info: this took for me several weeks.
Next comming version... I spent few more weeks.
I'm not doing full disassembly, because I think it's useless, and does not worth the time, to make small change.
Whole dissassembly makes sense only if you want to change WHOLE game, or large part of it.
Image

MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Re: Gunstar Heros disassembly?

Post by MintyTheCat » Tue Mar 08, 2016 7:22 pm

Yes, that is true, R57Shell, but also people learn a great deal by examining commercial ROMs.

I tend to apply patches using a program that I wrote to keep things clean and easily reproducible.
UMDK Fanboy

ryanfaescotland
Very interested
Posts: 53
Joined: Mon Feb 09, 2015 10:46 pm
Contact:

Re: Gunstar Heros disassembly?

Post by ryanfaescotland » Wed Jun 17, 2020 9:25 pm

Natsumi wrote:
Fri Feb 26, 2016 10:34 am
I'd say months is closer to accurate, depending on the size of the ROM and complexity of the code. Of course, the skills of the user also factors on the speed they can resolve code. Yes it could take years, no doubt, but I know people who can make a building disassembly of a game in even weeks. Not very well documented but fully usable.
Hahahahaha months. Aye, ok superman! :D

Anyway, besides that, I love seeing disassembles coming together and look forward to following along. I saw your other posts on here, looks like your understanding is coming along nicely.

OrangyTang
Interested
Posts: 30
Joined: Tue Feb 23, 2016 4:45 pm

Re: Gunstar Heros disassembly?

Post by OrangyTang » Fri Jun 19, 2020 12:56 pm

ryanfaescotland wrote:
Wed Jun 17, 2020 9:25 pm
Anyway, besides that, I love seeing disassembles coming together and look forward to following along. I saw your other posts on here, looks like your understanding is coming along nicely.
Thanks for the encoragement! Unfortunately progress has pretty much stalled due to lack of time (a common side affect of having a small baby :D ) but I've not given up on it, and chip away at it occasionally.

I should probably move my work-in-progress copy to a public repository on github or something, but I'm not sure of the legality of that (plus I have a strong aversion to Git).

ryanfaescotland
Very interested
Posts: 53
Joined: Mon Feb 09, 2015 10:46 pm
Contact:

Re: Gunstar Heros disassembly?

Post by ryanfaescotland » Sat Jun 20, 2020 1:27 am

I've found BitBucket to be a very usable, git based, source control. Might want to check that out as a reasonable alternative to raw git? But even then, yes it takes a bit of getting used to.

Congrats on the baby! I remember thinking I'd have sooo much free time to crack on once baby was here and I was off work for a bit. Boy was I mistaken! :lol:

Post Reply