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 development > pixelFix / pixelTest

#47682 - cory1492 - Tue Jul 12, 2005 8:59 am

In case anyone wants it here, I did a quick framebuffer thingin in the sloppiest way I could that cycles RGB and B/W manually. Based on the "pixelfixer" video for PSP, I have no idea how close to it this really is as I have no PSP.

It starts up in manual mode, up/down to change colors A to swap screens. Start will change it to cycle mode, where right and left changes the delay that the screens colors are put up for by 33 millisecond increments (0-231, 33 being default). Start will put it into manual mode again.

Source code included. Thanks Doublec for the tutorials, you are mentioned in the source files too.

http://www.myfilestash.com/userfiles/cory1492/pixelFixerv2.zip

#47684 - Chetic - Tue Jul 12, 2005 9:29 am

uh... does it work?
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit

#47694 - cory1492 - Tue Jul 12, 2005 12:44 pm

tested on NDS hardware and Dualis emulator, so it does what I made it to (pixel test and screen color cycle), but whether it actually fixes any pixels I have no idea, I dont have any bad pixels on my DS...

in the headers of the .cpp and .h files - pixelfixer (hopefully)

#47703 - nikarul - Tue Jul 12, 2005 3:24 pm

I ran it on my DS, which has a pixel stuck on blue on the top screen. The program caused the pixel to go (and stay stuck on) white as long as the program was running (even if I toggled screens), but when I powered off and back on it went back to blue.

#47725 - tepples - Tue Jul 12, 2005 8:14 pm

Does rapidly flashing the screen fix a dead pixel even if you flash only a small (e.g. 16x16 pixel) area centered on the dead pixel? If so, you could make the program safer for people with seizure disorders.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#47731 - floatstarpx - Tue Jul 12, 2005 10:04 pm

tepples wrote:
Does rapidly flashing the screen fix a dead pixel even if you flash only a small (e.g. 16x16 pixel) area centered on the dead pixel? If so, you could make the program safer for people with seizure disorders.


can you keep the DS screens on when the DS is closed? all the 'sleep' mode stuff is done in software when the game detects the lid closing (as far as i know..)

perhaps make it so it doesn't flash the screen until you close the DS.. and then it keeps flashing until you reopen it.
this way you'd never see it doing it - thus avoiding any epilepsy based problems.

#47735 - tepples - Tue Jul 12, 2005 10:11 pm

floatstarpx wrote:
perhaps make it so it doesn't flash the screen until you close the DS.. and then it keeps flashing until you reopen it.

That was suggested before, but it doesn't help people with an original GBA (no lid), a Game Boy Micro (no lid), a PSP (no lid), a desktop PC running an emulator (no lid), a GBA SP (no I/O register reflecting lid state), or a laptop PC (no I/O register reflecting lid state, and the operating system may turn off the screen without the app's knowledge or consent). I'm aiming for generality here.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#47741 - floatstarpx - Tue Jul 12, 2005 10:58 pm

tepples wrote:
floatstarpx wrote:
perhaps make it so it doesn't flash the screen until you close the DS.. and then it keeps flashing until you reopen it.

That was suggested before, but it doesn't help people with an original GBA (no lid), a Game Boy Micro (no lid), a PSP (no lid), a desktop PC running an emulator (no lid), a GBA SP (no I/O register reflecting lid state), or a laptop PC (no I/O register reflecting lid state, and the operating system may turn off the screen without the app's knowledge or consent). I'm aiming for generality here.


yeah.
i was kinda just referring to the DS. :P
i'm sure the DS version does other things the other ones don't too! - for example two screens?
you wouldn't've said "oh, we can't have the DS version use both screens because the PSP etc.. only has one screen!" - so why restrict yourself unncessarily?

#47780 - cory1492 - Wed Jul 13, 2005 11:07 am

Should I add this to the readme:
Quote:
Warning: if you have epilepsy or any type of seizure disorder that is known to be caused by flashing lights then do not use this program or get someone who does not have such disorders to do it for you

Needless to say, this is why I put it into "non cycling" when it starts up, so those with such disorders could still test their screens using the 5 colors....

nikarul: very odd...

#48036 - cooky - Sat Jul 16, 2005 9:36 am

I thought i was the first to do a copy of the PSP pixel fix thing oh well. Not sure if mine does it any better or worse but you can try it by downloading from my website www.ceorron.co.uk

#48046 - lambi1982 - Sat Jul 16, 2005 2:59 pm

Doesnt the health warning say people with seizure disorders or epilepsy shound not play the system in the first place, but then again none of use have the warning screen, ;) ooops LOL
_________________
Who, Me?

#48069 - dagamer34 - Sat Jul 16, 2005 11:00 pm

Come someone make a GBA version? I can't run homebrew code on my DS yet.

Of course, it will only support 1 screen at a time, but I can live with that.
_________________
Little kids and Playstation 2's don't mix. :(

#48104 - tepples - Sun Jul 17, 2005 5:03 am

dagamer34 wrote:
Come someone make a GBA version? I can't run homebrew code on my DS yet.

Can't run DS homebrew code, or can't run GBA homebrew code?

Watch the Announcements And Comments forum because I'm about to release something.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48114 - assassda - Sun Jul 17, 2005 6:26 am

a while back i made a pc version to try to fix a dead pixel on my flatscreen... i didnt have any luck but i only tried it for about 10 minutes :p

i didnt know about black and white tho does it cycle "RGBBWRGBBW" or do you have the option of "RGBRGB" or "BWBW"?

i can add B&W support and post it and the window is resizable so you can leave it on one pixel (better for CPU and refresh rate anyways, you cant fix a pixel is youre monitor cant keep up with the flashing)

EDIT: i looked at the source code and it seems like RGBBW but i could add support for all methods, anyone interested?

#48154 - cory1492 - Sun Jul 17, 2005 6:35 pm

Feel free assandra, its why I posted the code as well. Not that I wouldn't mind seeing improvements (especially if you share the code later), but if you looked at the code I did you can tell just how limited my skill is in programming this gadget at the moment.

Nice one Tepples: thanks for the source inclusion as well.

#48170 - assassda - Sun Jul 17, 2005 9:43 pm

assassda* lol

this is coded in VB although i do have some expirience in C i dont have a passme/flashcard

http://www.freewebs.com/assassda/rgb_fix.zip

#50639 - cory1492 - Thu Aug 11, 2005 8:36 am

assassda wrote:
assassda* lol

this is coded in VB although i do have some expirience in C i dont have a passme/flashcard

http://www.freewebs.com/assassda/rgb_fix.zip
sorry about the mistype (have a friend named assandra and that must have been what my fingers were thinking)

the link does not work for me at this point (weeks later), just get a 22k garbage file... but thanks! I very much appreciate including it for me to see, even though me and VB never did get to know eachother.