Sorry if this topic has been touched before. Couldnt find anything with a quick search.
I'm wondering how is the hdma window color gradient is done? I'm thinking like the effect in the menus of games like ff6, chrono trigger, sd3, etc.
As I understand, color ram cant be touched mid frame.
So how is it done?
Thank you.
Window color gradient with hdma?
Moderator: Moderators
Forum rules
- For making cartridges of your Super NES games, see Reproduction.
Re: Window color gradient with hdma?
Color RAM and COLDATA can be touched during horizontal blanking.
Re: Window color gradient with hdma?
In those cases it is NOT done with colour RAM, but it is done with transparency effects, using single colour add/substract (add for the top half of the window gradiant and substract for the bottom half) and using gray as the single colour. However that can also be acheived by changing colour RAM : Tales of Phantasia for instance changes backdrop colour to make a similar but different effect.olddb wrote:Sorry if this topic has been touched before. Couldnt find anything with a quick search.
I'm wondering how is the hdma window color gradient is done? I'm thinking like the effect in the menus of games like ff6, chrono trigger, sd3, etc.
As I understand, color ram cant be touched mid frame.
So how is it done?
Last edited by Bregalad on Wed Oct 03, 2018 11:19 pm, edited 1 time in total.
Re: Window color gradient with hdma?
I guess the down side of this type would be that there's a need for at least 2 hdma channels in order to setup the $2121 and $2122 registers separately.Bregalad wrote:However that can also be acheived by changing colour RAM : Tales of Phantasia for instance changes backdrop colour to make a similar but different effect.
...
Re: Window color gradient with hdma?
HDMA has the 0,0,1,1 mode which, at the cost of a redundant write to the address register, can set the address and two data bytes.
Re: Window color gradient with hdma?
I need to ask questions here more often and stop trying to figure things on my own.lidnariq wrote:HDMA has the 0,0,1,1 mode which, at the cost of a redundant write to the address register, can set the address and two data bytes.
...
- Drew Sebastino
- Formerly Espozo
- Posts: 3496
- Joined: Mon Sep 15, 2014 4:35 pm
- Location: Richmond, Virginia
Re: Window color gradient with hdma?
That's what I did!