News:

11 March 2016 - Forum Rules

Main Menu

DisPel 65C816 disassembler

Started by Gil Galad, April 04, 2011, 03:20:43 PM

Previous topic - Next topic

Gil Galad

I e-mailed Pelrun just recently about his disassembler DisPel about adding register commenting. He says he will add commenting soon but for now he has put up the source code to the disassembler.

I talked to him about changing the fact that DisPel expects a SNES ROM with a header. If you have a headerless ROM and you try to disassemble, it's off by 200h bytes. Now he says he changed it in the source code where DisPel expects a ROM without a header. If you have a header on a ROM use -n to skip 200h bytes. Although, it doesn't say that he made any changes in the readme.

He also says he converted the source from VC5 to GCC and that it should compile on Linux.

https://github.com/pelrun/Dispel

Homepage of Gil Galad || New Forum

"I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve. "

darkmew5

For some reason almost all SNES utilities expect 200h bytes headers.

Gil Galad

Once upon a time almost all SNES ROM images had a header. Instead of forcing users to remove the header, just support it and work around it. Now times have changed; that's why I asked Pelrun to change DisPel.
Homepage of Gil Galad || New Forum

"I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve. "

Nightcrawler

Quote from: Gil Galad on April 05, 2011, 08:42:30 PM
Once upon a time almost all SNES ROM images had a header. Instead of forcing users to remove the header, just support it and work around it. Now times have changed; that's why I asked Pelrun to change DisPel.

Furthermore, when the SNES ROMs were originally dumped, we didn't have any working SNES emulators so the only way to play them was via copier. The 'demo sceners' for lack of a better term were the guys responsible for getting us our first set of SNES ROMs in the early to mid 90's. Many of those guys were also responsible for the first round of emulators we had way back. It seems useless today in retrospect, but in perspective for the time they were initially dumped it made a lot of sense. Why do we still have them all these years later? People are resistant to change, our community is generally collectively lazy if something already exists, and not that many people care one way or the other.
TransCorp - Over 20 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Glory of Heracles IV SFC/SNES Translations

darkmew5

Quote from: Nightcrawler on April 06, 2011, 08:10:17 AM
Why do we still have them all these years later? People are resistant to change, our community is generally collectively lazy if something already exists, and not that many people care one way or the other.
This actually reminds me of the two spaces after a period and daylight savings time controversy.

pelrun

Quote from: darkmew5 on April 05, 2011, 05:52:41 PM
For some reason almost all SNES utilities expect 200h bytes headers.

Back when I was actually in THE SZENE(ahem) most snes roms were SMC(Super Magic Card iirc) format; that copier hardware put the 200h header on the carts it dumped.

Dispel always supported both formats, I just changed which was the default.

Quote from: darkmew5 on April 06, 2011, 08:56:05 PM
This actually reminds me of the two spaces after a period and daylight savings time controversy.

ONE SPACE AFTER PERIOD!

justin3009

Yeesh have SNES ROMS really not been around that long?  Must have been really lucky back in the day to find some of them then.

QuoteThis actually reminds me of the two spaces after a period and daylight savings time controversy.

Oh I remember a topic on this awhile back.  It's practically impossible to really state one or two spaces anymore, depends on the time and where we were raised.  Where I lived, we were SUPPOSED to use two spaces after a period.

I'm not sure what the DLST controversy is ._.  I've never heard of that one.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

pelrun

Quote from: justin3009 on April 07, 2011, 07:57:41 AM
Yeesh have SNES ROMS really not been around that long?  Must have been really lucky back in the day to find some of them then.

How do you get that? SNES Roms have been around since the early-mid 90's. We're just saying that for historical reasons they used to have some junk data at the beginning of them.

Nightcrawler

Quote from: pelrun on April 07, 2011, 09:00:21 AM
How do you get that? SNES Roms have been around since the early-mid 90's. We're just saying that for historical reasons they used to have some junk data at the beginning of them.

Which wasn't junk at the time because the only way you were going to play it was on a copier.
TransCorp - Over 20 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Glory of Heracles IV SFC/SNES Translations

Neil

Quote from: Nightcrawler on April 07, 2011, 09:24:08 AM
Quote from: pelrun on April 07, 2011, 09:00:21 AM
How do you get that? SNES Roms have been around since the early-mid 90's. We're just saying that for historical reasons they used to have some junk data at the beginning of them.

Which wasn't junk at the time because the only way you were going to play it was on a copier.
Depends on the copier. Just thank the lord that all the roms out there aren't interleaved. Getting people to remove a header is bad enough.

KingMike

I've seen a few interleaved ROMs. Luckily they've been very few.
Mystic Ark, as well as Ganbare! Daiku no Gensan (which I dumped the script before realizing it was interleaved. Oh well, the pointers in my script are wrong, but at least it's thankful they interleave with full ROM banks together, so it's still usable. My inserter just needs to do a bit more math. :) )
"My watch says 30 chickens" Google, 2018