Points of Required Attention™
Friendly reminder: Please don't respond to spammers! Their posts inevitably get memory-holed when staff get around to, leaving behind an inexplicable tableau of you shouting at nothing and (if they otherwise would have been alone in a thread) dangling posts and wrong postcounts.
Views: 51,094,407
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-21-19 07:13 PM
Guest: Register | Login

0 users currently in ROM Hacking | 4 guests | 1 bot

Main - ROM Hacking - Super Mario 2 Values (Intro and palette) New thread | New reply


Kiokuffiib11
Posted on 07-22-09 07:22 PM Link | Quote | ID: 110988


Porcupo
Level: 37

Posts: 20/313
EXP: 330951
Next: 7302

Since: 07-10-09
From: Marquette, Michigan

Last post: 1480 days
Last view: 103 days
I thought I'd share some info about SMB2 that I found.

The Tile Palette in order is:

Tile Palette location:
1892-18b1

Default Hex Values in order:
[22 37 16 07 22 30 31 0f 22 30 0f 0f 22 30 0f 0f
22 30 28 0f 22 30 25 0f 22 30 12 0f 22 30 23 0f]

Although on Ultra FCE The values will appear like this:

[22 37 16 07 22 30 31 0f 22 30 0f 0f 22 30 0f 0f
00 30 28 0f 00 30 25 0f 00 30 12 0f 00 30 23 0f]

For some reason FCAE reads 22 as 00.

Now for the intro hex:

To change the words "Super Mario bros. 2:

First comes the location of the characters, then the default hex values are in Braquettes just in case you mess them up:

SMB 2 LOGO

[FB is blank and when the code hits FB, that's when it jumps to a new part of the line, hence where there are two and three parts to some things]


176D-1776 SMB 2 LINE 1 [00 01 08 08 FC 01 FC 08 FC 01]


177A-1783 SMB 2 LINE 2 [02 03 08 08 0A 05 0B 0C 0A 0D]



1787-1790 SMB 2 LINE 3 [04 05 04 05 0E 07 FC 08 0E 08]



1794-1798 SMB 2 LINE 4 [06 07 06 07 09] [PART 1]



179C-179F SMB 2 LINE 4 [76 09 09 09] [PART 2]


17A3-17A4 SMB 2 LINE 4 [F9 FA] [PART 3]



17A8-17B1 SMB 2 LINE 5 [00 0F 01 00 01 FC 01 08 00 01] [PART 1]



17F6-17FD SMB 2 LINE 5 [FC 01 FC 01 00 01 00 01] [PART 2]


17B5-17BC Line 6 [10 10 08 10 08 10 08 08 10 08] [PART 1]


1801-1808 Line 6 [10 08 10 08 10 08 10 08] [Part 2]

17c2-17cb Line 7 [08 08 08 08 08 13 0D 08 08 08] [PART 1]

180C-1813 LINE 7 [13 0D 13 0D 08 08 77 03] [PART 2]

17cf-17d8 LINE 8 [08 08 08 FC 08 0E 08 08 08 08] [PART 1]

1817-181e LINE 8 [0E 08 0E 08 08 08 12 08] [PART 2]

17dc-17e5 LINE 9 [08 08 08 10 08 08 08 08 04 05] [PART 1]

1822-182A LINE 9 [13 05 08 08 04 05 04 05 08] [PART 2]

17e9-17F2 LINE A [09 09 09 09 09 09 09 09 06 07] [Part 1]

182e-1836 LINE A [11 07 09 09 06 07 06 07 09] [PART 2]

183A-183D LINE B [14 15 16 17]

1841-1844 LINE C [18 19 1a 1b]

1848-184B LINE D [1c 1d 1e 1f]

184F-1852 LINE E [fc fc fc 20]

1856-1859 LINE F [76 76 76 21]



I hope people enjoy this, and I hope this can help someone.

____________________
セシル

jargon
Posted on 08-27-09 07:24 AM Link | Quote | ID: 114183


Ninji
Banned until 2010-10-15 for an utterly psychedelic posting style
Level: 34

Posts: 178/247
EXP: 250086
Next: 3565

Since: 12-10-07
From: 480/85260

Last post: 3117 days
Last view: 2775 days
I attempted to disassemble some of this using CHASM, and none of it appears to be actual "6502" clone machine code. It is all data right?

Just wanted to follow up on this, didn't mean for the late bump.

____________________
NIHYFDTTMWTMR

Kiokuffiib11
Posted on 08-27-09 05:03 PM (rev. 2 of 08-27-09 05:10 PM) Link | Quote | ID: 114188


Porcupo
Level: 37

Posts: 38/313
EXP: 330951
Next: 7302

Since: 07-10-09
From: Marquette, Michigan

Last post: 1480 days
Last view: 103 days
I think you have a problem with your disassember.

I would recommend looking at it with sadasm1b .

Google it up, and you'll find it. It'll show 2 entries if you enter it as "sadasm1b".
Pick the first, acoll down half way through the page, it's there.

But, it IS 6502 code.
--------------------------------------------------------------------------------------------------
I just disassembled it and the notes (I'm guessing the disassembler puts in it) are strange.

There are Time of Day clocks, several of them, and things like voice registers as well.

I think the disassembler's notes are wrong, but, it's strange though none the less.

You might want to try your hand at disassembling with that disassembler, mayhaps you can make more sense of it.

____________________
セシル

jargon
Posted on 08-28-09 06:29 AM (rev. 2 of 08-28-09 06:30 AM) Link | Quote | ID: 114208


Ninji
Banned until 2010-10-15 for an utterly psychedelic posting style
Level: 34

Posts: 179/247
EXP: 250086
Next: 3565

Since: 12-10-07
From: 480/85260

Last post: 3117 days
Last view: 2775 days
Posted by Kiokuffiib11
I think you have a problem with your disassember.

But, it IS 6502 code.


I only attempted to disassemble a part of it not all of it, What parts are machine code and what parts are data?

I need to improve CHASM so that it will disassemble multiple pieces of hex that are each inside brackets.

____________________
NIHYFDTTMWTMR

Kiokuffiib11
Posted on 08-28-09 04:53 PM Link | Quote | ID: 114214


Porcupo
Level: 37

Posts: 39/313
EXP: 330951
Next: 7302

Since: 07-10-09
From: Marquette, Michigan

Last post: 1480 days
Last view: 103 days
I unfortunately am trying to learn ASM.

However, if you can open it up in FCAE, and find out where the machine code begins and ends that way.

____________________
セシル

jargon
Posted on 08-30-09 01:40 PM (rev. 2 of 08-30-09 01:41 PM) Link | Quote | ID: 114279


Ninji
Banned until 2010-10-15 for an utterly psychedelic posting style
Level: 34

Posts: 180/247
EXP: 250086
Next: 3565

Since: 12-10-07
From: 480/85260

Last post: 3117 days
Last view: 2775 days
Posted by Kiokuffiib11
I unfortunately am trying to learn ASM.

However, if you can open it up in FCAE, and find out where the machine code begins and ends that way.




;Disassembled using CHASM for the 6502 processor!
;I thought I'd share some info about SMB2 that I found.
;
;The Tile Palette in order is:
;
;Tile Palette location:
;1892-18b1
;
;Default Hex Values in order:
;
[22 37 16 07 22 30 31 0F 22 30 0F 0F 22 30 0F 0F]
[22 30 28 0F 22 30 25 0F 22 30 12 0F 22 30 23 0F]
;
;
;Although on Ultra FCE The values will appear like this:
;
;
[22 37 16 07 22 30 31 0F 22 30 0F 0F 22 30 0F 0F]
[00 30 28 0F 00 30 25 0F 00 30 12 0F 00 30 23 0F]
;
;
;For some reason FCAE reads 22 as 00.
;
;Now for the intro hex:
;
;To change the words "Super Mario bros. 2:
;
;First comes the location of the characters, then the default hex values are in Braquettes just in case you mess them up:
;
;SMB 2 LOGO
;
;
;[FB is blank and when the code hits FB, that's when it jumps to a new part of the line, hence where there are two and three parts to some things]
;
;
;
;
;176D-1776 SMB 2 LINE 1
;
BRK;Implied
ORA ($08,X);Indirect,X
PHP;Implied
[FC 01 FC 08 FC 01]
;
;
;
;177A-1783 SMB 2 LINE 2
;
[02 03 08 08 0A 05 0B 0C 0A 0D]
;
;
;
;
;1787-1790 SMB 2 LINE 3
;
[04 05 04 05 0E 07 FC 08 0E 08]
;
;
;
;
;1794-1798 SMB 2 LINE 4
;
ASL $07;Zero Page
ASL $07;Zero Page
ORA #char;Immediate
;
;
;[PART 1]
;
;
;
;
;
;179C-179F SMB 2 LINE 4
;
ROR $09,X;Zero Page,X
ORA #$09;Immediate
;
;
;[PART 2]
;
;
;
;
;17A3-17A4 SMB 2 LINE 4
;
SBC short,Y;Absolute,Y
[FA]
;
;
;[PART 3]
;
;
;
;
;
;17A8-17B1 SMB 2 LINE 5
;
BRK;Implied
[0F 01 00 01 FC 01 08 00 01]
;
;
;[PART 1]
;
;
;
;
;
;17F6-17FD SMB 2 LINE 5
;
[FC 01 FC 01 00 01 00 01]
;
;
;[PART 2]
;
;
;
;
;17B5-17BC Line 6
;
BPL $10;Relative
PHP;Implied
BPL $08;Relative
BPL $08;Relative
PHP;Implied
BPL $08;Relative
;
;
;[PART 1]
;
;
;
;
;1801-1808 Line 6
;
BPL $08;Relative
BPL $08;Relative
BPL $08;Relative
BPL $08;Relative
;
;
;[Part 2]
;
;
;
;17c2-17cb Line 7
;
PHP;Implied
PHP;Implied
PHP;Implied
PHP;Implied
PHP;Implied
[13 0D 08 08 08]
;
;
;[PART 1]
;
;
;
;180C-1813 LINE 7
;
[13 0D 13 0D 08 08 77 03]
;
;
;[PART 2]
;
;
;
;17cf-17d8 LINE 8
;
PHP;Implied
PHP;Implied
PHP;Implied
[FC 08 0E 08 08 08 08]
;
;
;[PART 1]
;
;
;
;1817-181e LINE 8
;
ASL $080E;Absolute
PHP;Implied
PHP;Implied
PHP;Implied
[12 08]
;
;
;[PART 2]
;
;
;
;17dc-17e5 LINE 9
;
PHP;Implied
PHP;Implied
PHP;Implied
BPL $08;Relative
PHP;Implied
PHP;Implied
PHP;Implied
[04 05]
;
;
;[PART 1]
;
;
;
;1822-182A LINE 9
;
[13 05 08 08 04 05 04 05 08]
;
;
;[PART 2]
;
;
;
;17e9-17F2 LINE A
;
ORA #$09;Immediate
ORA #$09;Immediate
ORA #$09;Immediate
ORA #$09;Immediate
ASL $07;Zero Page
;
;
;[Part 1]
;
;
;
;182e-1836 LINE A
;
ORA ($07),Y;Indirect,Y
ORA #$09;Immediate
ASL $07;Zero Page
ASL $07;Zero Page
ORA #char;Immediate
;
;
;[PART 2]
;
;
;
;183A-183D LINE B
;
[14 15 16 17]
;
;
;1841-1844 LINE C
;
CLC;Implied
ORA $1A1B,Y;Absolute,Y
;
;
;1848-184B LINE D
;
[1C 1D 1E 1F]
;
;
;184F-1852 LINE E
;
[FC FC FC 20]
;
;
;1856-1859 LINE F
;
ROR $76,X;Zero Page,X
ROR $21,X;Zero Page,X
;
;
;
;
;I hope people enjoy this, and I hope this can help someone.
;



____________________
NIHYFDTTMWTMR

Main - ROM Hacking - Super Mario 2 Values (Intro and palette) New thread | New reply

Acmlmboard 2.1+3δ (2016-01-08)
© 2005-2016 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.083 seconds. (342KB of memory used)
MySQL - queries: 61, rows: 88/0, time: 0.046 seconds.