Views: 852,450,305
16 users online: autisticsceptile1993, Brood Fours, CalHal,  Deeke, eskayelle, Hooded Edge, Infinity, JabuJabule,  JamesD28, JonnyManjiro, Katrina,  Maarfy, MecchaSugoiTntn, S3TH0s, Solivan1889, Yoshin - Guests: 64 - Bots: 85 Users: 47,003 (2,527 active)
Latest: Audioholiker
Tip: Make sure that ALL exit-enabled pipes, doors, etc. lead somewhere, or else they'll take you to level 0 (the "endless" bonus game).Not logged in.
Details for Free up RAM $7F:8000
SMW Patches - Free up RAM $7F:8000 Show random
File Name: Free up RAM $7F:8000
Version History: View
Authors: DiscoTheBat, Ersanio
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch frees up 387 bytes of RAM at $7F:8000.

This fixes an bug that causes stall in SPC (when Addmusic is used) and additionally frees up more cycles by reducing the cancel out RAM routine creation a bit.

Update (Major Flare): Made the patch SA-1 hybrid and Asar compatible.

Note: if you use UberASM Tool, check the README file provided.
Tags: lorom, sa-1, sprite routine
Download: Download - 1.64 KiB
Tested with: Lunar Magic 3.11, asar 1.71, SA-1 1.32, UberASM Tool 1.4, bsnes+ v04. Works correctly, so accepted. A kind of niche patch that could turn out useful for more advanced users who wish to have more free ram at their disposal.
During moderation I made the patch compatible with UberASM Tool and added the readme file (make sure to follow its instructions if you're using UberASM Tool, or the game will get stuck upon loading!).
Posted by:  KevinM - | Link
Originally posted by AnasMario130
The more free RAM available, the better.

Definitely, especially with HUGE tables (HDMA, a large array of flags for exploration-based hacks), and possibly a buffer to restore certain things (such as a full-screen pause menu that uses layers).
Posted by: HammerBrother - | Link
The more free RAM available, the better.
Posted by: AnasMario130 - | Link
*$7F8000-$7F8182, which is originally the unrolled loop for clearing out the sprite tiles.

Combined with free $7F0000 (frees up $7F0000-$7F3FFF)

and you have 387 + 16384 = 16771 ($4183) bytes of freeram.
Posted by: HammerBrother - | Link

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

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy