#149616 - jay001 - Tue Jan 22, 2008 8:47 pm
im only really starting to get the hang of PAlib, but for my current project i want to change the brightness of both screens, this according to Lick is done using Arm7 code, i have no idea how i do this (no idea about arm7), but i do have the code, but dont know how to use it.
can i use PAlib (would be easiest, for me) or if like Lick said, i have to use libnds? can someone also help me with using 2 librarys at the same time, i.e. PAlib and libnds. Thanks in advance.
#149618 - tepples - Tue Jan 22, 2008 8:59 pm
There's more than one way to do a fade. To change the brightness of the image on a Nintendo DS (NTR-001) screen, you can use the brightness registers on the ARM9 (MASTER_BRIGHT), use the alpha blending registers on the ARM9 (BLDCNT/BLDY), or rewrite the palette on the ARM9 (BG_PALETTE/SPRITE_PALETTE). I don't see how the ARM7 comes into it unless you're trying to make a utility specifically for the Nintendo DS Lite (USG-001).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#149627 - jay001 - Tue Jan 22, 2008 10:00 pm
would these ways of doing it only change the transparency or the colour of a sprite or picture? as i was hoping to actually change the brightness of the backlight itself.
#149628 - Mr Snowflake - Tue Jan 22, 2008 10:08 pm
jay001 wrote: |
would these ways of doing it only change the transparency or the colour of a sprite or picture? as i was hoping to actually change the brightness of the backlight itself. |
To change the brightness of the backlight you need a DS Lite (or new DS Phat), like teples stated. Lick has a program which allows you to change the brightness of the backlight, you could look at its code.
_________________
http://www.mrsnowflake.be
#149629 - bean_xp - Tue Jan 22, 2008 10:10 pm
#149630 - jay001 - Tue Jan 22, 2008 10:25 pm
cheers bean and snowflake, this is just what i wanted, now to try and make good use of it.