#21714 - alek - Thu Jun 03, 2004 5:35 pm
Hi,
I have two backgrounds (BG0, BG1) in mode 0 that I wish to fade to white
this is what I have got so far
I have also tried putting
and the same thing but with BG0.
Nothing happends. What am I doing wrong?
I have two backgrounds (BG0, BG1) in mode 0 that I wish to fade to white
this is what I have got so far
Code: |
#define REG_BLDMOD (*(u16*)0x4000050) #define REG_COLEY (*(u16*)0x4000054) #define BACK_DROP 0x2000 #define FADE_TO_WHITE 0x80 #define TARGET_BG0 0x0 #define TARGET_BG1 0x2 REG_BLDMOD = BACK_DROP | FADE_TO_WHITE; ... while(1){ ... if(trans_level <16) trans_level++; REG_COLEY = trans_level; ... } |
I have also tried putting
Code: |
REG_BLDMOD = BACK_DROP | FADE_TO_WHITE | TARGET_BG1; |
and the same thing but with BG0.
Nothing happends. What am I doing wrong?