#131033 - felix123 - Sun Jun 10, 2007 11:30 am
This program turns off your DS. It's probably the shortest DS homebrew ever. I made it because someone on another forum requested it to save wear and tear on the power button.
Thanks ThomasS.
Source and binary
_________________
Nintendo DS homebrew on Wikipedia
#131075 - tepples - Sun Jun 10, 2007 10:09 pm
felix123 wrote: |
This program turns off your DS. It's probably the shortest DS homebrew ever. I made it because someone on another forum requested it to save wear and tear on the power button. |
As opposed to the wear and tear on the Control Pad and A Button?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#131076 - NeX - Sun Jun 10, 2007 10:16 pm
Maybe it should search for a mic click?
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.
#131079 - tepples - Sun Jun 10, 2007 10:24 pm
NeX wrote: |
Maybe it should search for a mic click? |
Are there any mic-controlled .nds launchers?
But this power off source is still a useful example.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#131101 - Lynx - Mon Jun 11, 2007 2:45 am
The only way to save "wear and tear" on your DS is to put in on the shelf and not play it. Somehow, I don't think that is why you purchased it.
_________________
NDS Homebrew Roms & Reviews
#131102 - chuckstudios - Mon Jun 11, 2007 2:57 am
Now can you make a program to turn the DS on without touching the power switch? :P
#131105 - OSW - Mon Jun 11, 2007 3:31 am
chuckstudios - now that would be impressive ^_^
#131106 - HyperHacker - Mon Jun 11, 2007 4:32 am
I can do it, sure. Just it won't be a program running on the DS itself, rather, a PC wired to the button.
_________________
I'm a PSP hacker now, but I still <3 DS.
#131131 - TheYak - Mon Jun 11, 2007 11:54 am
Wear and tear on the power switch is a viable reason. The thing is remarkably fragile. I accidentally broke one while reassembling my DSL - and that wasn't due to excessive force, just the wrong angle, and my girlfriends' switch broke during normal use.
The D-Pad and A-Button are a lot more hardy.
#131135 - tepples - Mon Jun 11, 2007 12:15 pm
But can one use Nitro Hax to put this power-off code into every DS Game Card that one plays?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#131140 - Lynx - Mon Jun 11, 2007 1:56 pm
Quote: |
I accidentally broke one while reassembling my DSL |
Some how.. I don't think the power off code would have helped you.
_________________
NDS Homebrew Roms & Reviews
#131144 - Lick - Mon Jun 11, 2007 3:41 pm
tepples wrote: |
But can one use Nitro Hax to put this power-off code into every DS Game Card that one plays? |
Yes, absolutely. Just like the brightness settings, the power-off SPI is ARM7. So it would working practically in the same way but with a different SPI number and bit.
_________________
http://licklick.wordpress.com
#131176 - Dood77 - Mon Jun 11, 2007 11:22 pm
Hmm... Is there a way to detect in code (or in NitroHax) when the SLOT-1 is removed? And then execute the power off code? (maybe an icon could be displayed in whatever program that lets you know when its NOT okay to remove the card...)
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.
Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC
#131180 - Lick - Mon Jun 11, 2007 11:37 pm
Dood77, you check if the read data from the card is 0xFFFFFFFF. That should always happen when the slot is empty.
_________________
http://licklick.wordpress.com
#131248 - Dood77 - Tue Jun 12, 2007 11:58 pm
Now all thats needed is a hardware mod to power on every time a cards inserted :P
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.
Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC
#131262 - HyperHacker - Wed Jun 13, 2007 8:31 am
Lick wrote: |
tepples wrote: | But can one use Nitro Hax to put this power-off code into every DS Game Card that one plays? |
Yes, absolutely. Just like the brightness settings, the power-off SPI is ARM7. So it would working practically in the same way but with a different SPI number and bit. |
It might not be too hard, then, to add this functionality to the existing light control code.
_________________
I'm a PSP hacker now, but I still <3 DS.
#131264 - chishm - Wed Jun 13, 2007 9:32 am
I'm seriously hoping everyone is being really sarcastic and I just missed it.
Let's assume you modify the brightness code to power off the DS. Now you have to press a combination of buttons (maybe L+R+Select) instead of one. Before you can even do that, you're going to have to remove and reinsert the DS card. The SLOT-1 retention spring is more prone to failure than the power button/switch. You've also got to go load the code from a flash card, which takes at least one additional button press.
If you want to prevent physical wear on your DS, perhaps you should work on your telekinesis skills to influence the electrons to "randomly" jump across the power switch and turn the DS on or off. Oh, by the way, I was being sarcastic.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#131273 - Lynx - Wed Jun 13, 2007 1:58 pm
Quote: |
If you want to prevent physical wear on your DS, perhaps you should work on your telekinesis skills to influence the electrons to "randomly" jump across the power switch and turn the DS on or off. Oh, by the way, I was being sarcastic. |
Dammit! That's even better than not playing it at all.. Shoot.. I clearly need to improve my skills.. :(
_________________
NDS Homebrew Roms & Reviews
#131300 - Sweater Fish Deluxe - Thu Jun 14, 2007 1:42 am
chuckstudios wrote: |
Now can you make a program to turn the DS on without touching the power switch? :P |
I've been working on this. I'll release some pointy stick code later today. Hopefully it will be helpful for germaphobes and those needing practice with basic tool manipulation.
...word is bondage...