Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2014-02-17 18:30:11

FroggestSpirit
Member
Registered: 2012-03-12
Post 243/295
Website

Starting a disassembly

I'm starting a disassembly of Super Mario Land 2 which can be found here: https://github.com/froggestspirit/marioland2
I'm not really sure how to set any of this up. All the code in main.asm was generated by a program I wrote, so if some syntax needs to be changed, I'll change it in the program. If anyone can contribute, it would be nice. My first step is to atlest get it to build.


This isn't easy to say, but…
Music and ASM hacker

Offline

#2 2014-02-18 04:28:16

stag019
Idea Killer
Registered: 2011-01-05
Post 571/630

Re: Starting a disassembly

What problems does it have building?

Also I approve of this project and hope to help at some point maybe hopefully helpfully.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#3 2014-02-18 04:55:00

FroggestSpirit
Member
Registered: 2012-03-12
Post 244/295
Website

Re: Starting a disassembly

Stag! It's been a while. Right now, I have no Idea how to make a proper Makefile. I tried copying stuff from pokered, and changing it, but I don't know how much that will help if it uses a lot of python stuff. I guess it'd be nice to have some of it, like converting the png's to 2bpp. I don't know if the syntax i have is right for all the opcodes, but I guess it will let me know if it hits one it doesnt understand


This isn't easy to say, but…
Music and ASM hacker

Offline

#4 2014-02-19 06:18:54

stag019
Idea Killer
Registered: 2011-01-05
Post 572/630

Re: Starting a disassembly

FroggestSpirit wrote:

Stag! It's been a while. Right now, I have no Idea how to make a proper Makefile. I tried copying stuff from pokered, and changing it, but I don't know how much that will help if it uses a lot of python stuff. I guess it'd be nice to have some of it, like converting the png's to 2bpp. I don't know if the syntax i have is right for all the opcodes, but I guess it will let me know if it hits one it doesnt understand

pokered uses hardly any python stuff
in fact i can compile pokered without python at all
you just missed an important part of the makefile
i submitted a pull request
you should like try it or something


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#5 2014-02-19 14:48:47

FroggestSpirit
Member
Registered: 2012-03-12
Post 245/295
Website

Re: Starting a disassembly

I hope it's not an issue, but you'll have to re-do the changes you made. I did a HUGE overhull to the code (the bit, set and res wernt even correct before). It now builds, and matches baserom exactly, though I had to use macros for ld [$FF00], a and ld a, [$FF00] because rgbds would optimize them, and throw everything off. Bank 0 now has correct calls and jumps aswell


This isn't easy to say, but…
Music and ASM hacker

Offline

#6 2014-02-21 05:21:44

ShaneM
Member
From: United States (USA)
Registered: 2013-03-11
Post 281/287
Website

Re: Starting a disassembly

What version of Super Mario Land II are you basing this on? 1.0, 1.1 or 1.2?


I'm back. I'll try not to get as frustrated with stupid questions. People on my naughty list:

*Pokemon_Master
*Noizy
*lipun
*Spambots

Offline

Board footer

Powered by FluxBB