Banner
Views: 933,830,228
Time:
14 users online: Aeon, Ahrion,  AmperSam, blueribbonhighlife, Dan Drigues,  Devazure, GangsterJerby, IBagel, Isikoro,  patcdr, Romano338,  RussianMan, umbreon3209, underway - Guests: 91 - Bots: 150 Users: 52,101 (2,114 active)
Latest: 2goodatmario4u
Tip: Switch palace switches normally disappear if you replay the level. However, if you insert them as direct Map16 and use the hex edit at $00EEB2 in the ROM map, you can replay the level without a problem.
Not logged in.
Details for Shared Subroutines v2.3
SMW Patches - Shared Subroutines v2.3 Link - Show random
File Name: Shared Subroutines v2.3
Added:
Version History: View
Authors: imamelia
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: Yes
Description: This patch inserts some commonly-used subroutines into your ROM so that you can just call them with a JSL instead of copy-pasting them, which saves a significant amount of ROM space.

Note that some subroutines cannot be converted to SA-1 since either the registers become inaccessible or that they rely on unsigned math operations.
Tags: lorom, subroutine
Download: Download - 23.33Ā KiB
214 downloads
HammerBrother
This patch is very useful in situations when dealing tools like GPS, uberasm tool, and PIXI that you cannot call another subroutine that is located in a separate file, from a subroutine file. Therefore you can avoid having duplicate subroutines in your ROM by multiple different tools.

I experienced that subroutine isolation problem when developing the graphical bar tutorial for programming sprites.

This also enables global access to all ASM codes regardless to its type of tool. A custom subroutine useable by pixi and uberasm tool, for example.
Posted by: HammerBrother - | Link
HammerBrother
Updates include:
-Print command to make Asar window now display the list memory usage and range. This is useful to tell if it overwrites other data.
-Several routines JSLs to a list, then back into the code, changed to just simply jump directly to the routine since it is unnecessary; because they are in the same ASM file, so labels are found within it.
Posted by: HammerBrother - | Link
Meirdent
Tested with:
Asar v1.71, Free Space Logger (checking for addresses), Snes9x v1.55
Posted by:  Meirdent - | Link

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks