Views: 959,084,596
19 users online:  Alex_X8, bersi, caduaraujo, Daffster,  Devazure, Eminus, goldenrules, Green Jerry, GrumpyWalrus, Knight of Time, LeonardoGamerTrainz, mae_86, monkey03297, morisot, nintendesi, NoelYoshi, Plasmariel, slakkmichael, Von Fahrenheit - Guests: 71 - Bots: 79 Users: 53,111 (2,245 active)
Latest: I43OBF
Tip: Check the Documents section. Tutorials and other useful information can be found there.
Not logged in.
Analysis of the NMI routine
Forum Index - SMW Hacking - SMW Hacking Help - SMW Data Repository - Analysis of the NMI routine
Pages: « 1 » Link
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.


SMWControlLibX GitHub
My Discord Server
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - 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 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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