Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - 3 Patches for SMB: Always Big (Never Small),Start Big Patch, & Cherry Patch | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
AP

Panser
Level: 22

Posts: 28/333
EXP: 56817
For next: 1533

Since: 08-07-05

Since last post: 6 hours
Last activity: 6 hours
Posted on 08-19-05 06:22 AM Link | Quote
I made patches for SMB that make Mario always big, but never small, one that makes Mario start big when starting the game or after losing a life (like SMB2), and one that replaces coins with cherries (but requires a trained ROM).

You can download the zipped Always Big patches here.
Code Changed:
(RAM addresses, not ROM addresses. To convert the RAM addresses into ROM addresses, subtract 7ff0 from the address.)
$9061:A9 00* LDA #$00 (Originally 01)
$9063:8D 57 07 STA $0757
$9066:8D 54 07 STA $0754 (Now Mario Starts Big)

$9267:A9 00* LDA #$00
$9269:8D 54 07 STA $0754

$B260:AD 54 07 LDA $0754 = #$00
$B263:49 00* EOR #$00
$B265:8D 54 07 STA $0754 = #$00

You can download the zipped Start Big patch here.
Code Changed:
(RAM addresses, not ROM addresses. To convert the RAM addresses into ROM addresses, subtract 7ff0 from the address.)
$85A3:A9 01* LDA #$01
$85A5:8D 56 07 STA $0756 (Mario starts big)

$85B1:AD*56 07 LDA $0756 (I'm not really sure, maybe this prevented address $0756 to be changed from 01 to 00)

$9061:A9 00* LDA #$00
$9063:8D 57 07 STA $0757
$9066:AD*54 07 LDA $0754 (Loads from $0757=00, so Mario won't die but shrink instead when he gets hit)

$9267:A9 00* LDA #$00
$9269:8D 54 07 STA $0754 (Mario still just shrinks when he gets hit after death)

You can download the Cherry patch here. You need to apply a trainer first. To do so, you can apply the IPS inside this ZIP file.
Code Changed:
(RAM addresses, not ROM addresses. To convert the RAM addresses into trained ROM addresses, subtract 7df0 from the address.)
$BC12:C9 05* CMP #$05
$BC14: D0 0C BNE $BC22
$BC22:EA* NOP
$BC23:EA* NOP
$BC24:EA* NOP
$BC25:EA* NOP
$BC26:EA* NOP
$BC16:A9 00 LDA #$00
$BC18:8D 5E 07 STA $075E=Coins
$BC1B:20*00*70* JSR $7000 (Trainer=$7000-$7fff)
$7000:A9 00 LDA #$00
$7002:8D ED 07 STA $07ED (Tens place of Mario's coins is reset to 00)
$7005:8D EE 07 STA $07EE (Ones place, Mario)
$7008:8D F3 07 STA $07F3 (tens, Luigi)
$700B:8D F4 07 STA $07F4 (ones, Luigi)
$700E:20 16 D8 JSR $D816 (Starman invisibility routine)
$7011:60 RTS
$BC1E:A9 20* LDA #$20
$BC20:85 FE STA $FE (Play power-up sound)

Edit: Mod or Admin, please change the 2 in the thread title to a 3. Thank you.


(edited by AP on 08-18-05 09:22 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - 3 Patches for SMB: Always Big (Never Small),Start Big Patch, & Cherry Patch | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.011 seconds.