11 users online: 1UPdudes,  Anorakun,  BeeKaay, Cinnapoodle, DanMario24YT, Jeff2342,  Kevin, Maw,  Ringo, sholmes, Valpal - Guests: 333 - Bots: 203
Users: 65,047 (2,325 active)
Latest user: jonnye80

Controller Read Optimization

UberASM Repository → Controller Read Optimization

Submission Details

Name: Controller Read Optimization
Author: spooonsss
Type: Global
Includes GFX: No
Includes Hijack: Yes
Featured: No
Description: Saves a little NMI time by moving the controller read to the start of the game loop.

Use this if you need more NMI time to change blocks, exanimate, upload dynamic graphics, etc. Running out of NMI time may appear as broken gradients and a black bar at the top of the screen.

Be sure to use FastROM and 'Lunar Magic's "VRAM Patch" Optimization' in addition to this.
Tags: lorom optimize sa-1
Comments: 2 (jump to comments)
5.0 (1 rating)
No rating
Download 755 bytes | 165 downloads

Comments (2)

 Fernap Link
Tested with:
- Lunar Magic 3.33
- SA-1 Pack 1.40
- Snes9x 1.60, Bsnes-plus 05
- UberASM Tool 1.5


Simple and effective, accepted.

Just note that if you do need to remove this for some reason, you must re-run UberASM Tool with the define in .asm file set to 0 at least once rather than simply removing the included code from your global code file.
Maw Link
Removed some HDMA flickering for me, currently only occurs in one level. Thanks I don't have to look for a solution anymore. #smw{:TUP:}