Linux on Nintendo DS, Update 208
fdevliegher writes "Trying to port Linux to various portable devices is hot nowadays. One project is porting Linux to the Nintendo DS, and is making big progress lately. Right after the DSLinux guys had a working bootable 2.6 kernel, they have put lots of effort in making the sash shell work, in which they also succeeded. The latest feature added is the touchscreen keyboard. It allows users to tap in the commands, providing a much easier input method than before (when only the buttons could be used to input text). Only the basics are being worked on for now, but the future uses of Linux on the Nintendo DS are practically unlimited. In other words, it might become a cheap alternative for a PDA, an emulator, movie viewer, maybe even internet browser, who knows."
Next Up- (Score:3, Funny)
Re:Next Up- (Score:2)
I have no idea how this shit works. I don't really understand how you put Linux on all these devices; do you rewrite it with a totally new machine language set? Or just create new libraries? What do you have to have, in the first place? How does all this work?
Is there some reason that Linux for NES is technically infeasabale?
Re:Next Up- (Score:3, Informative)
Often, new libraries have to be written for weird devices like this, because there isn't support for things like the graphics chip, the touchscreen, the wireless, etc.
Linux on the NES is infeasible because there isn't NEAR enough RAM, for starters. Also, the CPU is 8-bits - I don't know of any Linux variant that runs on less than a 32-bit CPU (except for ELKS, but that's getting a bit far away from Linux).
Re:Next Up- (Score:2)
Re:Next Up- (Score:2)
Lunix appears to just be a *nix lookalike, but it isn't at all POSIX compliant - AFAICT, you can't recompile a POSIX app for Lunix, it only runs Lunix apps. That's why I didn't mention it at all.
Yup. (Score:5, Funny)
So hot. You should see the look on my girlfriend's face when I tell her, "Time to compile the kernel on this bad boy."
Gets 'em every time, baby.
Re:Yup. (Score:2)
Re:Yup. (Score:4, Funny)
It's her favorite part.
Re:Yup. (Score:4, Funny)
"Mount and fsck me, baby!"
Re:Yup. (Score:5, Insightful)
It's true that if you mount without protection while fscking, you are vulnerable to bloating the system, and causing instability - poentially screwing everything up...
That's why, if you're going to do that - use protection! If you mount her read-only you can be sure that you won't leave anything behind in the filesystem... Then you can fsck safely...
So, which will come first? (Score:1)
Graffiti-Style Input? (Score:3, Interesting)
Re:Graffiti-Style Input? (Score:1)
Re:Graffiti-Style Input? (Score:3, Funny)
Re:Graffiti-Style Input? (Score:2)
Re:Graffiti-Style Input? (Score:2)
I used to use these on my Stylistic 1200 (120 MHz Pentium tablet). I liked the alphabet xstroke used over the one in xscribble, plus it had a nice full screen capability (no special window to write in).
Re:Graffiti-Style Input? (Score:1)
My point
What are the real uses? (Score:3, Insightful)
Re:What are the real uses? (Score:2, Insightful)
Re:What are the real uses? (Score:2)
You'd be suprised what a couple smart hackers can do, given a consistent form factor and an entire console to play around with.
Re:What are the real uses? (Score:3, Interesting)
Re:What are the real uses? (Score:3, Funny)
This [gatech.edu].
I don't know... (Score:1, Insightful)
Re:I don't know... (Score:5, Funny)
If it computes it does run NetBSD. (of course)
The two things I want (Score:5, Interesting)
The other would be a Game Boy Color emulator. Yes, I know that the DS can play Game Boy Advance games, but there's still 4 Game Boy games I haven't finished yet (two Zelda games, "Dragon Warrior III" (almost done), and "Metal Gear Solid GBC"). I just want to have the ability to play them all on one device, and then I won't have to keep the GBA SP around all the time.
Not sure if it can do the latter - the processor might not be powerful enough for emulating the GBC, but the datebook might be good.
It makes me wonder why Palm hasn't tried to sell a Palm OS cartridge - I know I'd buy one, and even if it was Palm Light (let you sync up, maybe enter some things, but no major app support) it would almost be worth $50 - $60.
Just my opinion, of course. Congrats to the Linux on DS team, either way!
Re: (Score:3, Informative)
That was a cruel hoax (Score:5, Informative)
I wanted to believe it too. But no, the DS hasn't got GBC-compatible hardware. Emulation is probaby on the way though. Hell, if the Linux development gets far along enough that SDL can be ported, GnuBoy would run! (Who knows at what speed, but still...
Re: (Score:2)
Re:That was a cruel hoax (Score:2)
http://www.livejournal.com/community/nintendo_ds/
If you need more proof, do some actual research before assuming all
Re:The two things I want (Score:1)
Re:The two things I want (Score:2)
It's all about table lookup decodes. The z80 has all at most 256 instructions. The real tricky part is emulating the MMCs [memory map controllers] and audio/timer hardware in sync.
Actually emulating the cpu isn't so hard.
Tom
Re:The two things I want (Score:2)
the Z80 (as used in the gameboy and gameboy color) on the other hand has the main instructions and then it has a prefix byte which selects another set giving the possibility of just under 512 instructions total (i dunno off hand how many of them it actually uses)
Re:The two things I want (Score:2)
Even if it did have 512 instructions [which I don't think it does] that's still not hard to handle.
Again, the actual challenge is the timing of sound/video/timers. Since they have to be in sync for gameplay to be enjoyable...
Tom
Re:The two things I want (Score:2)
link is probablly the biggest nightmare in gameboy emulation. the only way to do it well is to emulate two gameboys in the same process with lock-step timing. few emulators seem to
Re:The two things I want (Score:2)
You're right it had a bit more than 256 instructions. The basic opcode was 8-bits but there were "shift" opcode bytes that would change the meaning of the next byte. So roughly there are at most around 1024 instructions though not all shifted opcodes are valid [or documented].
Tom
Re:The two things I want (Score:2)
Thus, yes, we can probably assume that the DS has enough processing power to emulate the game boy.
Palm OS? (Score:2)
Personally I think this would be a wonderful move on Nintendo's part. With the competition between NDS and the PSP so close why not take full advantage of the DS's trump card: input! The DS may never be the pr0n machine that Sony has turned out but surely it would be trivial to throw on a few hundred dollars worth of functionality with a
Re:The two things I want (Score:2)
There seems to be work in progress [oddigytitanium.com] on this front.
Re:The two things I want (Score:2)
Re:The two things I want (Score:2)
Ah, here. [gbafan.com] http://www.gbafan.com/game_boy.html [gbafan.com]
There's a list of GB emulators, although proper GBC support may not be there. It's as good a start as I've got, though.
feel free to say i'm wrong (Score:2, Insightful)
with the psp linux project, the gadget has had a huge amount of added features aincluding the ability to emulate other platforms (famicon/snes/gameboy).
The nintendo ds isnt very exciting or sexy as a handheld. The added feature of various linux hacks (eg a media player) could very well make the ds a more attractive toy.
you are wrong. (Score:2, Insightful)
Re:feel free to say i'm wrong (Score:5, Informative)
Now you probably don't know about emulation, homebrew, movie playback etc. on the Gameboy Advance or Gameboy. It does exist in a considerably more advanced state than on the PSP. The main difference is that in order to take advantage of it, you need a flash memory cart for the GBA or DS. A good example is the Super Card [modwhiz.com] which allows you to plug a compact flash card into the DS. It also plays GB, NES, PCEngine and Sega GameGear games out of the box. It has both movie and music playback features as well and supports homebrew GBA apps. There are other cards available that will allow you to play DS bootleg or homebrew games as well.
Re:feel free to say i'm wrong (Score:2)
"The main difference is that in order to take advantage of it, you need a flash memory cart for the GBA or DS."
Any one will do. The SuperCard is nice because it uses compact flash.
Are you stating that the other cards weren't made for piracy? How is playing a Nintendo ROM on a PSP NOT piracy???
Also do you think that the fact that the Super Card includes emulators built in and also includes the ability to play MP3s and movies as well means that maybe it ca
Re:feel free to say i'm wrong (Score:3, Insightful)
Even on home consoles, mod-chip users are in the vast minority. Although a conso
Re:feel free to say i'm wrong (Score:2, Interesting)
Please explain then why the DS is currently killing the psp in japan right now.
I'll tell you the reason. A must have game!(nintendogs)
Not Linux, not bsd, not emulation.
The average consumer hasn't even heard of linux.
Keyboard layout (Score:1)
[ esc ][ FKEYS ]
[ tab ][ NUMBERS ]
[ ctl ][ LETTERS ]
[ alt ][ LETTERS ]
[ sft ][ LETTERS ]
[ *** ][ NONLETTERS ]
[ SPACE ][enter]
The *** key, would be whatever that penguin one did. The row of special keys on
Re:Keyboard layout (Score:1)
The reason for maintaining a standard QWERTY or Davork(sic?) layout is because it allows the user to subconciously know where the keys are because that is what he is used to.
At the same time though, providing the user the ability to design his own keyboard layout would be a nice feature and likely wouldn't be too hard to provide since they are already having to code a keyboard program for the touch screen. This may be something that they will choose to implement once they get a stable port working on the D
Re:Keyboard layout (Score:1)
Actually the dvorak keyboard [mit.edu] is an entirely different layout than the 'qwerty' layout.
IBM SHARK/ATOMIK (Score:5, Interesting)
http://www.alphaworks.ibm.com/tech/atomik [ibm.com] is a layout for tapping. I used it on my m105, and it's pretty good. Definitely better than graffiti if you're standing still and don,t haveto pay attention to your surroundings, and somewhat better than qwerty or alphabetic (I used paper overlays on the graffiti area).
http://www.alphaworks.ibm.com/tech/sharktext [ibm.com] uses the same layout in an ingenious way, where you trace a line between the letters of the word. You quickly remember the shape of frequent words, and it works surprisingly well (I'm using the java demo almost as often as the built-in TIP on my tablet PC).
Re:IBM SHARK/ATOMIK (Score:2)
" how about an adaptive keyboard?
Sorta like a radial cqntext menu. It has a dictionary, and learns which words are common from you... and gives you the next letter for various words in a radial context menu. Depending on how fast it can generate the menus, you could muscle-memorize words. It could potentially be faster than traditional keyboards."
Mm.. A bit like http://www.inference.phy.cam.ac.uk/dasher/ [cam.ac.uk] ? I guess you could at least crib the predictive part of the engine. The problem I see
Re:IBM SHARK/ATOMIK (Score:2)
Re:Keyboard layout (Score:1)
Re:Keyboard layout (Score:1)
No...there is. Most people can pick it up and have a good idea where the letters are. It might be search and peck for you but I'd bet a good number of people know where the keys are on a standard layout.
Everyone who uses your ABC keyboard layout would have to spend time learning it.
Re:Keyboard layout (Score:1)
Re:Keyboard layout (Score:1, Interesting)
http://www.fitaly.com/fitaly/transopt.htm [fitaly.com]
Boring (Score:1, Insightful)
X Server (Score:1)
Re:X Server (Score:2)
Foot - Mouth?
Re:X Server (Score:2)
Innovation (Score:1)
Newb (Score:2, Flamebait)
Trying to port Linux to various portable devices is hot nowadays.
You're new here, aren't you?
Da Bomb (Score:1)
X is going to be tough, only 4mb of RAM for the whole system.
If they can just get the wifi to work, then this would be worth having on slashdot.
Re:Da Bomb (Score:1)
Something I'd like to see... (Score:1)
Someone here said, "if it computes, it can run Linux". OK, the gauntlet has been thrown down... anyone wanna pick it up? Can it be done in just 64K?
Re:Something I'd like to see... (Score:2)
MediaPods (Score:2)
Will this effect normal DS gameplay?? (Score:2, Interesting)
Nethack (Score:4, Funny)
I understand that simply having Linux on the DS doesn't mean Nethack would be trivial to port, but it is a step in the right direction IMHO. I'm holding my breath.
Nokia 770 (Score:2)
-russ
Re:Nokia 770 (Score:2)
Nintendo Already licensed Palm OS (Score:5, Interesting)
Nintendo had recently licensed Palm OS based PDA software without any details on why they had done it. Nintendo sources have now revealed that the V-Pocket patent filed by Nintendo a few days ago concerns this licensing. E3 2005 will be the first witness of the Nintendo V-Pocket suite: a complete line of personal organizer tools for the Nintendo DS. Nintendo believes PDA software coupled with the already existing touch screen of the DS will put it above its high profiled rival, the PSP.
Re:Nintendo Already licensed Palm OS (Score:2)
I think its cool (Score:5, Insightful)
There is a company called Charmed Labs that makes a programmable robot cartridge for the old GBA. They're probably working on a similar add on for the DS right now. But with Linux on the DS you don't even need to robot cartridge to have fun, or you could probably by the cartridge for extras like easily accessible ADC/DAC lines. You could make a little hand-held oscilliscope or something.
GBA's were being used as information accessories for some car races. The cartridges that you could rent had wireless units that would get realtime info from the race.
Someone else was using GBA's as little hand-held real-time engine information units. You could tap into your car's microprocessor and get some info out.
Stuff like that would just be easier to do with Linux on the DS. It's all good.
I'd buy a DS just to get Linux running on it. Now if I could only find the time to play with a project like that -- I already work too hard
Well, fine, but... (Score:2)
So when can we see (Score:2)
good news for music makers (Score:2, Interesting)
What I REALLY want... (Score:2)
The cartidge I'd like to see (Score:2)
Hey, I bey Skype could make some money by making a really small libSkype and licensing it to DS developers to provide voice chat in game. "You don't have to run a server like with TeamSpeak - our network does all of the work for you!"
What's the "cheap" bit? You can do way better... (Score:2)
No, this one is purely a matter of the hack value... the DS hardware is no bargain.
Complimentary Projects (Score:2)
Re:Emulate? (Score:1, Troll)
Because it can't even run right on a regular PC? Because the kernel is about as stable as a ladder made of lincoln logs? Because it's large, unwieldy, difficult to maintain, and spreads itself across hard drives like a plague?
Now, if you had been talking about putting an actual production system like NetBSD onto the DS....
Re:Emulate? (Score:2)
</sarcasm>
Re:Emulate? (Score:1)
Re:Only Reason (Score:2)
Re:Hackaday clonage! *AGAIN* (Score:1, Insightful)
Re:maybe im just ignorant. (Score:2)
Sort of a "See, look what we can do!"
Re:maybe im just ignorant. (Score:1)
Comment removed (Score:4, Interesting)
Re: (Score:2)
Re: (Score:2)
Uh... (Score:2)
It happens, incidentally, to have an 802.11 chip built in, as well as enough power to potentially be turned to non-game uses.
Can you really not see why some people might consider it potentially useful to have the ability to run general applications, such as a web browser, ssh client, IM client, etc, on a device which you might frequently have in your pocket anyhow?
If not, well, I do, and I intend to do exactly this once the flash ca
Re:Uh... (Score:2)
I keep waiting for a wi-fi alternative to cell phones to become ubiqutous if this works well enough and the DS keeps selling this could be it!
3.) Profit?
Re:Uh... (Score:2)
Uh...? (Score:2)
Re:Waste of time? (Score:2)
In this particular case, it'd be handy if the DS had SSH running on it. Maybe even a mail client. Since it has a touch screen, an OSK would work fairly well on it. It'd be a great little $150 doohickey for Linux admins.
Other than that, I agree with you. The DS is a good match for this sort of thing, but the PSP isn't. What a difference a touch screen makes.
Re:Waste of time? (Score:2)
Look at the work being done to get Linux to work on the latest iPod generation - Linux on the iPod could be very useful to some people, especially because of the amount of people who have an iPod who happen to be geeks or similar.
The benefits may not be seen right away, but sometimes, its the small achievements that make a difference in th
Re:But does it.... (Score:1, Funny)
Re:I got Linux tatooed on my ass. (Score:2)
my other line was voulanteering to lend a boot up there!
Re:Slow already (Score:2)