Banner
Views: 772,761,165
Time:
21 users online: Brutapode89, Darolac, davidz,  dtothefourth, Evernn, Gul_dukat, Ice Kirby, Infinity, izaguirrefermin28, Knucklesfan, Magmatic, MIGUEL LARA,  Ninja Boy, placeholdertest,  RussianMan, Schieber1234, SiameseTwins,  tcdw, WhiteYoshiEgg, Yagami, ZAGESAW - Guests: 34 - Bots: 183Users: 40,586 (1,852 active)
Latest: Gul_dukat
Tip: Avoid making large, flat, boring stretches of land. Vary up the architecture and spritework in your levels.Not logged in.
Implementation
!RAM		= $0BF6			; 256 bytes of free RAM. Must be on shadow RAM.

!L1_Screen_Lo = !RAM ; 96 bytes (32 * 3).
!L2_Screen_Lo = !RAM+48 ; 48 bytes (shared).
!L1_Screen_Hi = !RAM+96 ; 96 bytes (32 * 3).
!L2_Screen_Hi = !RAM+96+48 ; 48 bytes (shared).

; These ones don't need to be on the shadow RAM, though...
!L1_Lookup_Lo = !RAM+96+96 ; 32 bytes
!L2_Lookup_Lo = !RAM+96+96+16 ; 16 bytes (shared)
!L1_Lookup_Hi = !RAM+96+96+32 ; 32 bytes
!L2_Lookup_Hi = !RAM+96+96+32+16 ; 16 bytes (shared)

org $00BDA8

; These pointers will remap the Map16 per screen table to the RAM, which is the main
; key behind the patch: we can dynamically modify the table, keeping compatibility with
; pretty much all ASM hacks and original game map16 modifications.

Ptrs00BDA8:
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $BBEC
dw $BBEC
dw $0000
dw $BBEC
dw $0000
dw !L1_Screen_Lo
dw $BBEC
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw $0000
dw !L1_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L1_Screen_Lo
dw !L1_Screen_Lo

Ptrs00BDE8:
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $BC16
dw $BC16
dw $0000
dw $BC16
dw $0000
dw !L2_Screen_Lo
dw $BC16
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw $0000
dw !L2_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L2_Screen_Lo
dw !L2_Screen_Lo

Ptrs00BE28:
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $BD54
dw $BD54
dw $0000
dw $BD54
dw $0000
dw !L1_Screen_Hi
dw $BD54
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw $0000
dw !L1_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L1_Screen_Hi
dw !L1_Screen_Hi

Ptrs00BE68:
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $BD7E
dw $BD7E
dw $0000
dw $BD7E
dw $0000
dw !L2_Screen_Hi
dw $BD7E
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw $0000
dw !L2_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L2_Screen_Hi
dw !L2_Screen_Hi

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 9

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented