Banner
Views: 722,619,046
Time:
25 users online: Berk, chickaDEE Magazine, dacin, Darolac, eFLATminoring, Emerald Shell, enan2017, o FPzero, friederbluemle, Fullcannon, Hiro-sofT, Incognito, KKevinM, LucasMegaStriker, Magikey, Matheus2653, MDBattleFrog, PedroHrodrigues, RanAS, Svorass, The Hacking Yoshi, The X, turbofa, UTF, WhiteYoshiEgg - Guests: 60 - Bots: 134Users: 37,760 (1,809 active)
Latest: eFLATminoring
Tip: Try making new backgrounds using SMW's existing graphics. For example, if you have a hilly BG, rearrange it to make it look more unique.Not logged in.
Details for Fixed Color Data NMI Optimizer
SMW Patches - Fixed Color Data NMI Optimizer
File Name: Fixed Color Data NMI Optimizer
Added:
Version History: View
Authors: Ladida
Tool: Asar
Requires Free Space: No
Bug Fix: No
Featured: Yes
Description: tldr: gives some more time during NMI, no freespace/ram needed

the routine at $00AE47 converts the background color so that it can be stored to the fixed color data register ($2132). unfortunately, the routine is lengthy, using loops and tables and indexes and watnot. this patch shortens the routine by both cycle count (old: 244 cycles | new: 59 cycles) and byte count (3 free bytes at end) by means of clever and extreme haxage.

included is a text file that shows just how long my routine takes, and how long the old one took.



i originally developed the routine for my homebrew but adapted it for smw
Tags: color, optimize, sa-1, v-blank
Download: Download - 1.60 KiB
39 downloads
Telinc1
To expand the description: this patch saves almost 190 cycles in NMI, which is more than a scanline of processing. The code is very clever and certainly useful, so having SA-1 support is appreciated. Good job!
Posted by: Telinc1 -
MarioFanGamer
Added SA-1 support and sa-1 tag.
Posted by: MarioFanGamer -

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: 28

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

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