Name: | $0703 Palette Uploader |
Author: | HuFlungDu |
Added: | |
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 |
Comments: | 7 (jump to comments) |
Rating: |
Download
1.35 KiB | 336 downloads
Comments (7)
if you want it to upload every frame, just adding a
main: LDA #$06 : STA $0680
UberASM would do the trick.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
disco ground bby
Added SA-1 compatibility, and optimized code.