

GameBoy Web Server 214
Huma79 writes "Adrian O'Grady has successfully gotten TCP/IP and PPP working on his handheld Gameboy Advance for a web server. Pictures of the server running and a telnet session to it can be found at fivemouse.com."
Uhhhhhhhhhh (Score:1, Funny)
This is all well and good (Score:4, Funny)
GBA.battle.net (Score:4, Interesting)
Right now, I'm mainly thinking about playing Golden Sun against other people.
Re:GBA.battle.net (Score:2, Funny)
Re:GBA.battle.net (Score:3)
Re:GBA.battle.net (Score:2, Funny)
I claim that the North Atlantic has more bandwidth than your cable modem. The latency is another story though.
Re:GBA.battle.net (Score:4, Funny)
I tried that once, and almost had a checkmate. Thanks Él Niño for ruining my game!
Re:GBA.battle.net (Score:1)
Tim
Re:GBA.battle.net (Score:1)
this is cool 8) (Score:4, Funny)
*sigh* (Score:4, Interesting)
Heh, that or I've been successfully turned to
Other GBA hacking projects.... (Score:5, Informative)
By the way, the NES emulator alone is worth getting a GBA for - not some dumb old webserver that nobody (especially not the Big N) is going to care about
AC
Re:*sigh* (Score:5, Funny)
Fortunately, the UK doesn't (yet) outlaw a simple data cable as a DMCA circumvention device, unlike other countries with far fewer freedoms for CompSci students.
So when the UK gets its laws in order, then Nintendo can crack down on eeeviiiilll hackers like Adrian, who obviously are going to use this webserver as a warez site
the AC
Re:*sigh* (Score:1)
Re:*sigh* (Score:2, Insightful)
GBA programming (Score:5, Informative)
Don't be intimidated; the webserver looks like it took a lot more work than it would take to create a game. The hardest part for his project was probably establishing a PPP link.
Re:GBA programming (Score:3, Insightful)
Another interesting handheld console to check out is the GP32 [gp32.com] (Note: site's mostly in Korean). I think it's been mentioned on /. before. Very similar layout to GBA, but where the GBA runs at ~16mhz, the GP32's ARM processor can have its clockspeed set by software up to 133mhz (though obviously this drains batteries faster). It doesn't have any custom graphics hardware, you just write 16-bit RGB colour values to a linear frame buffer, but even at the more-usual 60mhz clock speed, it runs Doom very nicely. Oh yes, and the screen is 320x240 as opposed to the GBA's 240x160.
Of course, it's not a Nintendo, so it's almost guaranteed to fail, as Ninty have that market pretty sewn up. Still, if you just want to write something for your own entertainment, the GP32's sweet.
let's hope (Score:1, Funny)
Re:let's hope (Score:1, Troll)
you just made my day, thank you, bye bye ok, I love you funny boy
--
Whats at the end? (Score:2, Funny)
http://dunkels.com/adam/uip/ (Score:2, Informative)
Not as cool as... (Score:4, Funny)
Re:Not as cool as... (Score:3, Funny)
Re:Not as cool as... (Score:3, Informative)
Now all it needs... (Score:1)
Apache? (Score:4, Funny)
Oh.. that's right... no mod_pearl. Oh well.
next. (Score:1)
Re:next. (Score:2, Informative)
Not impossible, but still really hard.
Not a StrongARM, it's ARM7. No MMU, so uClinux. (Score:1)
So it has more horsepower than a Palm, but still no memory manager or cache. This means it's restricted to MMU-free micro-ports of Linux like uClinux [uclinux.org].
Like someone else posted.. not impossible, but probably not terribly satisfying as a target. Not to say it wouldn't be a satisfying, educational, or fun project, though.
Re:Not a StrongARM, it's ARM7. No MMU, so uClinux. (Score:1)
Modern PalmOS devices tend to run at 33MHz.
Poor mario... (Score:3, Funny)
Hey, It's Not As Bad As It Sounds! (Score:1)
According to the press release, it will increase server output by 300%.
Oh yeah!
wehavethewayout.com (Score:3, Funny)
Pays an homage to saint Linus... (Score:5, Interesting)
If you read through the site, you get the idea he is learning all kinds of requisite CompSci skills along the way. That's good enough reason to do a project like this.
From a late night hacking session on 3rd April 2002: I believe this may be a world first. My GBA is currently connected to the Internet (yes, if I gave you the address, you could access it right now!).
Now, if he only would post that IP address, we could see how it stands up to the
the AC
Big deal. (Score:1, Troll)
Re:Big deal. (Score:2)
Re:Big deal. (Score:2)
Now... have someone figure out the RF aspect of it, and I might have a shot. It wouldn't be the best designed 802.11 card ever, it would probably even be pretty skanky, but I might manage a functional design. And since this guy already has a tcp/ip stack written...
Actually, there are 2 pico ip stacks that I know of anyway, if that's even necessary. The GBA is pretty beefy, right? No longer the ugly little z80 with 32k of ram. Hell, you might even manage to funk the linux kernel and drivers well enough, to not have to worry so much about drivers. Haha, that might actually be fun, providing you can make it small enough to fit a pass through connector... play multi-player wireless (I'm not so great on the software side of things, but some sort of software shim to make it think that you were using the serial port can't be that impossible). Hell, I might even go for wireless web browsing. Does the color screen do high enough rez to get some porn on it?
If you're truly interested, email me at john.oyler@attbi.if-u-cant-figure-this-out-i-dont
For everyone who is asking why (Score:5, Informative)
"I wanted to write something that was technically perfect but practically useless so that the university couldn't make any money out of my project. "
online gaming? (Score:1)
Bah (Score:1)
Dammit! (Score:1)
Fastest Slashdotting ever.
Ping? (Score:5, Funny)
Heh, it balances out (Score:2, Funny)
WHY?? (Score:1)
Of course someone needs to figure out the fine details and write this shit but nonetheless kudos to the Guy!
Re:WHY?? (Score:2)
If only I could code worth a damn - this would be a great toy to port tcpdump to. Set it up to fill a flash EPROM and dump it all across the 'net to one of my own boxen, maybe, and leave it sitting in a drop ceiling somewhere.
--saint
oh, of course (Score:3, Funny)
games? oh, I never got into the whole gaming thing.
so what are you doing with a GBA?
oh, just hosting a website or two. you know, in my spare time.
this is nothing (Score:1)
thinking... (Score:1)
How does one measure usefulness? (Score:5, Insightful)
1.) It's not a product
2.) It looks as though he just wanted to do it for shits and giggles, not seriously trying to solve any probelms other than 'it can be done.'
A lot of things we take for granted today were based on ideas that people questioned the usefulness of. Did anybody think Pong was useful? "Why would I pay $119 for a game that I could play on a pingpong table?"
Consider that usefulness depends on the individual too. You yourself may not care about running a websever on a GBA, but soembody might find an interesting use for it. If I were setting up a brand new network somewhere, I could see the potential of firing up a GBA, getting it on the network, and seeing if I could connect to it. It could be a troubleshooting device, maybe. (Although if it's connected to a Linux machine, that idea seems a little absurd. But if they made the GBA independent of it...)
What of somebody took the code from this project and made the GBA into a VNC client? I think there are sysadmins out there who would find that rather useful. Seeing as how GBA's are $70 nowadays, that could turn into an interesting product. There are some of us out there that would think it was totally cool that I could buy a GBA and get reimbursed from my company with it, heh.
Come to think of it... if the XBOX were a little more open, it could turn into one hell of a sysadmin tool....
Re:How does one measure usefulness? (Score:1)
Why is that? And wouldn't it be cheaper to turn an old 700 MHz PC into a sysadm tool? I'm serious, why the heck would an xbox be any good?
Re:How does one measure usefulness? (Score:2)
Re:How does one measure usefulness? (Score:2)
I never said anything about 'out of the box'. Heh.
Re:How does one measure usefulness? (Score:2)
because microsoft take a loss anytime someone buys one?
Somebody needs to get that dude laid. (Score:3, Funny)
Re:Somebody needs to get that dude laid. (Score:1)
Craploads of very useful inventions were built on the guys who stayed up late, ignoring their supple (??) wives/mates, wanting to tinker with their toys a little bit more.
But if you're looking to get someone laid, how about tossing me a bone?
sheez
But.. (Score:2)
Drain the batteries for sure..
Where does Linux come in again? (Score:1)
Re:Where does Linux come in again? (Score:1)
Dirty (Score:1)
Wrong wrong wrong. Sometimes you have to do
something because the possibility exists, and
far too many other times you have to find the
will power to not do something that you can
because of the sheer dirtiness of it.
This hurts me.
linux-based pda (Score:1)
OR
"That's not Tetris, it's our new synergy-building groupware"
FTP server on a palm (Score:3, Interesting)
Re:But why? (Score:5, Funny)
Re:But why? (Score:5, Insightful)
The motto of all true engineers.
Re:But why? (Score:2, Funny)
We replied, "Because four wouldn't work."
Wrong (Score:1, Funny)
Re:Wrong (Score:1)
AMEN - Because you can... (Score:5, Insightful)
---Bob Zinbinski, author of TTYQuake [mr.net]
Re:But why? (Score:2)
Re:But why? (Score:5, Interesting)
It's called play. Most curious people learn through playing. A few people with Eric Cartman-like personalities, however, can't understand the concept.
Re:But why? (Score:2)
Skills learned: priceless
Hands on tinckering is a good way to learn, even if the result is silly.
Yeah, but a webserver on a PIC [umass.edu] is a much cooler thing. Yes, even your watch could have a web server. I'm thinking that building something cool and useful is even more l337. I think that a line of sight optikal ethernet link is pretty kewl (and useful!).
That's just my 10b cents.
Re:But why? (Score:2)
Re:But why? (Score:5, Insightful)
Re:But why? (Score:1)
Re:But why? (Score:5, Funny)
Re:But why? (Score:1)
But Why? Why?
Re:But why? (Score:1)
Re:But why? (Score:2)
or something.
Read this for everyone who is asking why (Score:4, Informative)
"I wanted to write something that was technically perfect but practically useless so that the university couldn't make any money out of my project. "
i like girls
Re:But why? (Score:5, Insightful)
If you wanted to write a comms protocol for the GBA that was a standard (TCP/IP over ppp) to write a game that can play against multiple players you (if you have a brain) use an established and open protocol. now you need to figure out how to write clients and servers... well the easiest thing to write is a http server.
this guy wrote it for learning.. he now has the tools to make something really cool for the GBA.
this is why.. edu-ma-cation and learning and research.
why did we go to the moon? we knew what was there. so why did we kill 3 astronauts, and waste gagillions to do it? we could have just bought a 30 billion dollar telescope to look at it.
understand now?
Re:But why? (Score:2)
Because the Soviets put the first satellite and astro/cosmonaut in orbit?
Re:But why? (Score:5, Funny)
Re:But why? (Score:1)
Re:But why? (Score:1, Informative)
Re:But why? (Score:1)
the feat here is not that the is a webserver running here its that the author was able to run an embeded proegram on a non pc system...
whether it is a webserver or whatever else doesn't matter the point is that this is one step in the right direction formany other things such as maybe a gameboy emulator...
these baby steps are the way reverse engineering is done and i amhopeful that this could lead to many other cooler GBA programs or GBA devices for use in a pc environment
Re:But why? (Score:1)
Re:But why? (Score:3, Funny)
*thinks*
*laughs evily*
*disappears into darkness*
Re:But why? (Score:1)
Re:But why? (Score:1)
I have chosen to work on this project, as I am keen to learn about development for non-Intel based systems and I am very interested in low-level networking. This project will allow me to explore both areas of interest while still only working on one project.
An extra advantage of this project is that it ties in very well with the rest of my course as I am also studying Computer Networks: Principals and Applications (CNPA) and Distributed and Parallel Systems. My project and the CNPA course will complement each other very well, as I will be studying some of the required protocols in details as part of the course.
From the work I do on this project, the main area in which I will expand my understanding is in the functionality of a number of network protocols. This knowledge should be very useful for any future project I wish to undertake which involve the use of network functions.
This project will also fit in with my specialist award as I'm aiming for a Computing and Networking specialist degree.
Re:People have too much time on their hands (Score:5, Interesting)
If you're just going to sit there doing only "useful" stuff that's completely original, you aren't going to get much done.
Re:People have too much time on their hands (Score:1)
Re:People have too much time on their hands (Score:1)
Re:People have too much time on their hands (Score:4, Insightful)
If all you can see is he learned about writing web servers for GBA, and you think this is not a very marketable skill, then you are very myopic.
I prefer to look at it this way: the guy probably learned a fair bit about embedded programming (on a very constrained system no less), along with networking.
The Next Big Thing for console games (disclaimer: I work for EA) is going to be to get them online and networked.
Hmmm.... put those two together, and I'll bet even you can figure out where I'm going with this....
Re:People have too much time on their hands (Score:2)
Quite true that this is useless to you/the world, but to him, the person that did this, he has learned a great deal. I mean, what have you done? what "valuable" asset have you produced? [I'm not saying this to say that you are worthless, but to point out that big things tend to start out small. Look at Napster for example, I don't think Shawn Fanning sat down one day and decided to make an P2P app to turn the record industry on its head...]
In addition, it just shows that the same thing that all these bloated programs/os's that we have out there can be done on a rather small device with limited hardware. I remember back in the days when the ultimate thing was to be able to design a graphic intense demo using only 640K. I keep seeing it all the time and it's just getting worse. Lazy coders and uneducated programmers don't bother writing code that can be done with 25% less lines or 25% less resources just because right now there's no need. The hardware is far ahead of the software demands. This typically leads to bloat.
Re:People have too much time on their hands (Score:3, Interesting)
Yes, I'd agree. Probably the most useful things I did was to write a ROM ripper for the C-64 to read game cartridges, and a graphic printer driver for the MPS 802 printer (No mean feat - it only had one 8x8 graphic character per line - boy did that print head fly with all those carriage returns).
Point is, neither of those things were terribly useful. So what. They were fun. I don't look back at my youth with regret because I could have done something else with my time.
To be truthful, I'm rather envious of Adrian for having the skills to do this sort of thing.
Michael
Re:People have too much time on their hands (Score:2)
Getting off topic here, and replying to an AC post as well, but the aim was to copy the ROM to tape or disk and then run from RAM, so you didn't need any extra hardware.
Michael
Re:ok.... (Score:3, Insightful)
So do I. Because it's not intended to be any of those. Why does everything have to be USEFUL? I bet the guy had loads of fun hacking this thing together. And besdies, it's damn cool. Oh well, I guess it should be useful to the guy who made it, since he'd have learnt a great deal in the process.
On the other hand, I fail to see how your comment is useful or practical either. It's great that you took the time to write it but I'm not gonna take it. Feel free to mod me flamebait
Re:Interesting... (Score:2)
Does anyone know the minimum memory/media constraints for Linux though? I've never given it much thought. =)
Re:Interesting... (Score:1)
If play around with these small linuxes on old machines like 386 laptops, you will quickly find that squeezing everything on to the disk space is not the problem, the problem is having enough ram. Most of those distros won't run on two megs of ram because they try to make an initial ram disk bigger than that and thus fail right off the bat. However, small-linux [ibiblio.org] will boot a 386 with 2 megs of ram, so if you want something tiny, it might be a good place to start.
Re:FEAR (Score:1)
LOL
Now. LikSang no longer uses UPS. (Score:3, Informative)
When can I buy liksang items here in the USA ?!?!?!
Now. LikSang.com still sells Game Boy Advance development accessories to customers in the U.S. It has just dropped UPS for United States destinations. Just ship your accessories via EMS Speedpost, and you'll be fine.
[ /me goes back to playing his spinning tetris clone on GBA ]