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 > Major hardware differences between the NDS and NDSL?

#126087 - NeX - Thu Apr 19, 2007 11:06 pm

All of the listed functions work perfectly on two different DSes; however, when tried on DSLites, the functions are broken.

    XY buttons - always read as being pressed
    Touch screen - X and Y positions are being multiplied by 16 and it always reads as being touched
    GBA Game Pak Cart Interrupt - Blanking cartridge has to be inserted before it works
    Rumble Pak - Not detected, probably because of the broken GBA Game Pak Interrupt
    There's also a few tiny differences in rendering - sometimes pink pixels appear on textures on the DS if I'm not loading transparencies properly, but they're blue on the DSLite.


I've not bothered making test programs - the fact that the same program acts differently is odd enough... Emulators act like DSes. I am using the R20 of Devkitpro. Surely someone else has noticed this! All DSes and DSLites are European versions.

#126094 - tepples - Thu Apr 19, 2007 11:47 pm

Are you upgrading a project made before devkitARM R20? Perhaps you need to update your ARM7 code to the latest version from R20's combined template to make it consistent with latest libnds.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#126461 - LiraNuna - Mon Apr 23, 2007 11:53 am

The only software difference between the DS and DSL is the Power Management port #4. On DSL it's used as brightness selection (0-3) and on DS it will just shut the power down.
_________________
Private property.
Violators will be shot, survivors will be shot again.

#126463 - Lick - Mon Apr 23, 2007 12:16 pm

It won't power off the DS Phat. It simply mirrors the SPI #0, though I'm not sure.
_________________
http://licklick.wordpress.com

#126467 - LiraNuna - Mon Apr 23, 2007 1:18 pm

Yes it will, try it. writing any value to PM4 on DS will shut it off.

-ALTHOUGH- on newer phat DSs, PM4 does exists.
_________________
Private property.
Violators will be shot, survivors will be shot again.

#126472 - Lick - Mon Apr 23, 2007 2:21 pm

I remember, you have to read BIT(6) first, of SPI #4 that is.

If BIT(6) == 1, then the DS is a Lite. If BIT(6) == 0, it's a Phat and you shouldn't write.

btw: time to change your signature man! I'm happy to see you here helping.
_________________
http://licklick.wordpress.com