Banner
Views: 853,419,959
Time:
11 users online: AmperSam, BLFergie, brickblock369, Charizard746, Diego,  E-man38, ModernKiwi, samusvieira, shovda, SimFan96, Truxton - Guests: 53 - Bots: 58 Users: 47,079 (2,503 active)
Latest: BLFergie
Tip: Press F2 on the level editor to see sub-screen boundaries. This will help you avoid glitching Dragon Coins by putting them on the sub-screen boundaries.Not logged in.
Analysis of the NMI routine
Forum Index - SMW Hacking - Resource & Tool Releases - SMW Data Repository - Analysis of the NMI routine
Pages: « 1 »
Some of my recent work requires or has required working with Super Mario World's NMI routine, preferably without hijacking it. Anyone who has seen the NMI routine in SMWDisC (or all.log or SMW-IRQ) will have probably noticed that it's a big spaghetti mess, most of which relies on bitwise maths with $0D9B.

To make it easier for people (and me) to understand the potential flow of the NMI routine, I've constructed a flowchart (go to View -> Zoom and set it to 100% to actually see it) and a spreadsheet with detailed information. The flowchart shows all of the conditions of the routine, the paths they lead to, and the subroutines they call. The spreadsheet documents most significant blocks of code of the routine and all of the subroutines in the flowchart, most of which do DMA.

The colors in the flowchart and the spreadsheet are identical. They are meant to help you find matching routines in the two documents.

Currently, the spreadsheet is not fully complete - in the future, I intend to document common hijacks and maybe even add images for the DMA subroutines.
This diagram helps me a lot to made the last version of Dynamic Z.
------------------------------------------------------
Patreon
Youtube
Twitter
SMWControlLibX GitHub
My Discord Server
Pages: « 1 »
Forum Index - SMW Hacking - Resource & Tool Releases - SMW Data Repository - Analysis of the NMI routine

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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