Banner
Views: 881,305,732
Time:
10 users online: Atomicatoms, drkrdnk, KiD_ViD, lx5, MasterMario97, NewPointless, Praseodymium, SMW4evr91, TheJank, Truxton - Guests: 71 - Bots: 171 Users: 49,350 (2,481 active)
Latest: NCHBMKAL
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.
Details for $0703 Palette Uploader
UberASM Repository - $0703 Palette Uploader Link - Show random
File Name: $0703 Palette Uploader
Added:
Authors: HuFlungDu
Type: Global
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This uploads the RAM at $0703 to CGRAM every frame. The positive upshot of this is that you can use that RAM to update the palette at any point outside a blank, without using DMA (Which a lot of people don't understand). Make sure any time you edit $0703, you also edit $0905, otherwise fadeouts will not work correctly.
No credit necessary.
Tags: cgram, lorom, nmi, sa-1
Rating: No rating
Download: Download - 1.35 KiB
119 downloads
Screenshots
Image
HammerBrother
Colormatic
Posted by: HammerBrother - | Link
Erik
that's indeed the case but when I asked I got told to remoderate it anyway
Posted by:  Erik - | Link
randomdude999
p4plus2 informed me that this whole thing is actually unnecessary, due to the existence of $0680. So just writing to $0703 and then storing #$06 to $0680 would have the same effect.
if you want it to upload every frame, just adding a main: LDA #$06 : STA $0680 UberASM would do the trick.
Posted by: randomdude999 - | Link
Telinc1
I do doubt how many people could benefit from this code, simply due to the fact that you need some ASM knowledge to even know what it does. Still, I can see it being used by someone who hasn't quite gotten to the point of being able to upload a palette.

In spite of the ASM knowledge required to use the code, I still do think some aspects could have been made easier to use, especially the default free RAM requirement which is only mentioned in the actual ASM file. Ideally, the global code file shouldn't just be replaced, but avoiding the overhead of a routine call is sensible for NMI code. These aside, the code works fine and does what it's supposed to do.

Tested with: Lunar Magic 3.03, UberASM Tool 1.3 (Asar 1.71), bsnes v107
Posted by:  Telinc1 - | Link
Erik
Originally posted by toad64
how this patch could be useful?

disco ground bby
Posted by:  Erik - | Link
TheOrangeToad
how this patch could be useful?
Posted by: TheOrangeToad - | Link
Erik
Remoderated patch.
Added SA-1 compatibility, and optimized code.
Posted by:  Erik - | 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