logo
 drop

Main

Community

Submissions

Help

81742334 visitors

Author Topic: DisPel 65C816 disassembler  (Read 3581 times)

Gil Galad

  • Full Member
  • ***
  • Posts: 186
  • Location: Ohio, USA.
    • View Profile
    • Homepage of Gil Galad
DisPel 65C816 disassembler
« on: April 04, 2011, 03:20:43 pm »
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

  • Guest
Re: DisPel 65C816 disassembler
« Reply #1 on: April 05, 2011, 05:52:41 pm »
For some reason almost all SNES utilities expect 200h bytes headers.

Gil Galad

  • Full Member
  • ***
  • Posts: 186
  • Location: Ohio, USA.
    • View Profile
    • Homepage of Gil Galad
Re: DisPel 65C816 disassembler
« Reply #2 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.
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

  • Hero Member
  • *****
  • Posts: 5810
    • View Profile
    • Nightcrawler's Translation Corporation
Re: DisPel 65C816 disassembler
« Reply #3 on: April 06, 2011, 08:10:17 am »
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 15 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Herakles IV SFC/SNES Translations

darkmew5

  • Guest
Re: DisPel 65C816 disassembler
« Reply #4 on: April 06, 2011, 08:56:05 pm »
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

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: DisPel 65C816 disassembler
« Reply #5 on: April 07, 2011, 06:15:26 am »
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.

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

ONE SPACE AFTER PERIOD!

justin3009

  • Hero Member
  • *****
  • Posts: 1000
  • Location: Wisconsin
  • Welp
    • View Profile
Re: DisPel 65C816 disassembler
« Reply #6 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.

Quote
This 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

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: DisPel 65C816 disassembler
« Reply #7 on: April 07, 2011, 09:00:21 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

  • Hero Member
  • *****
  • Posts: 5810
    • View Profile
    • Nightcrawler's Translation Corporation
Re: DisPel 65C816 disassembler
« Reply #8 on: April 07, 2011, 09:24:08 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 15 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Herakles IV SFC/SNES Translations

Neil

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 767
  • Circuit Rider
    • View Profile
Re: DisPel 65C816 disassembler
« Reply #9 on: April 09, 2011, 03:39:18 pm »
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

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 4826
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: DisPel 65C816 disassembler
« Reply #10 on: April 09, 2011, 09:37:34 pm »
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. :) )
Quote
Sir Howard Stringer, chief executive of Sony, on Christmas sales of the PS3:
"It's a little fortuitous that the Wii is running out of hardware."