gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS homebrew announcements > backlight fading demo

#116565 - Lick - Fri Jan 26, 2007 10:12 pm

link

Just wanted to show you my latest backlight fade-in demo.
The code is open, but please don't use it because it might produce unwanted bugs.
_________________
http://licklick.wordpress.com

#116567 - Diddl - Fri Jan 26, 2007 11:11 pm

it's cool! you have used a kind of PCM?

#116568 - Lick - Fri Jan 26, 2007 11:22 pm

No, I've used a rather simple method. =/ Actually, I don't know. Look at the source code, maybe it is PCM without me knowing it.
_________________
http://licklick.wordpress.com

#116569 - dantheman - Fri Jan 26, 2007 11:45 pm

I'm assuming that this only works on DS Lites? Phats don't normally fade in upon bootup unless they are using FlashMe, which IIRC shows something closer to a fade-in animation than actual fade-in.

Last edited by dantheman on Sat Jan 27, 2007 12:35 am; edited 1 time in total

#116571 - Lick - Fri Jan 26, 2007 11:55 pm

Works on Phats too (at least it should). The backlights are turned on and off, doesn't have to do with brightness levels.
_________________
http://licklick.wordpress.com

#116575 - dantheman - Sat Jan 27, 2007 12:39 am

Hm, perhaps I should have at least tried it before commenting...
*slaps himself*
You're right, it works on my Phat, and although the backlight fading is a bit choppy, it works well enough.

#116946 - HyperHacker - Wed Jan 31, 2007 6:14 am

Yeah, same result on mine. It works, but the flicker is quite noticeable. FlashMe does it smoothly, so it's possible.
_________________
I'm a PSP hacker now, but I still <3 DS.

#116968 - Lick - Wed Jan 31, 2007 1:06 pm

To give a little update: I shortened the intervals more so the flickering is almost gone. The thing is, the firmware version has a total runtime of half a second or so, and I'm doing it a full second so there's where you see it happening.
I'll release an optimized version. =)

#116972 - Lick - Wed Jan 31, 2007 1:29 pm

new link

Is this smooth enough?

#117040 - HyperHacker - Wed Jan 31, 2007 10:17 pm

It's better, but still noticeable.
_________________
I'm a PSP hacker now, but I still <3 DS.

#117055 - Lick - Wed Jan 31, 2007 11:41 pm

='(

#117063 - strager - Thu Feb 01, 2007 12:31 am

On my fat DS (original firmware v1, with FlashMEv7, GBAMP CF), the backlight fade works great. No noticeable flickering (though I'm somewhat visually impared...). If only it were possible to change the speed of the fade, and to keep the backlight off. Perhaps do a fade the other way (light to dark).