Slashdot Mirror


GameBoy Web Server

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."

38 of 212 comments (clear)

  1. Re:But why? by Kronovohr · · Score: 5, Funny

    maybe he intends to build a beowulf clu*WHACKWHACKWHACK* OW DAMNIT! I didn't say it! I *SWEAR!*

  2. Re:But why? by Moonshadow · · Score: 5, Insightful

    Because you can.

    The motto of all true engineers.

  3. This is all well and good by Saint+Aardvark · · Score: 4, Funny
    until the damn thing crashes and loses your high score for SuperMarioLand. You listening, Adrian? Don't come crying to us then, sucker!

  4. Re:But why? by ryants · · Score: 5, Insightful
    Why? WHY!?
    It's a Zen thing: if you have to ask, you'll never understand the answer.
    You have to push the limits of that which is sane and accepted, not push the limits of that which is practical.
    Is this an attempt at a koan?
    --

    Ryan T. Sammartino
    "Ancora imparo"

  5. GBA.battle.net by Vardamir · · Score: 4, Interesting

    I'd like to see a program written for the Gamecube and/or PC(this includes macs, etc.) that allows you to connect your gameboy advance (for the gamecube there is already the GCN-GBA link) and play with other GBA players over the internet (when the NIC for the Gamebue is available) as if GBA's were directly linked.

    Right now, I'm mainly thinking about playing Golden Sun against other people.

    1. Re:GBA.battle.net by Sludge · · Score: 3

      Uh, the guy said Golden Sun. It's turn based combat. I'm pretty sure my cable modem could stand up to the bandwidth needed to play those sorts of games.

    2. Re:GBA.battle.net by Anonymous Coward · · Score: 4, Funny
      You're better off playing chess with someone in Europe by writing your each individual move on paper, putting it in a glass bottle, and throwing it into the North Atlantic.

      I tried that once, and almost had a checkmate. Thanks Él Niño for ruining my game!

  6. this is cool 8) by Anonymous Coward · · Score: 4, Funny

    I can see now: Access Denied. You are not allowed to view /personalrecords.pl until you have successfully found all 6 Diamond Crystals and converted them to Gaia Armor or until you have beaten stage 4 in the Darm Realm, "Ville of the Damned." add more excitement to that dull intarnet!

  7. *sigh* by beowulf_26 · · Score: 4, Interesting

    Does anyone else hear the rumble of Nintendo closing in on this poor chap? I think it's sad when I read something like this and I first think "Oh cool. That's really smart, useless but cool." and then I cringe thinking about people like him getting squashed in litigation. I got five bucks that says he gets a cease and desist letter...

    Heh, that or I've been successfully turned to /. pessimism. You decide.

    --

    --I hate big sigs.
    1. Re:*sigh* by anticypher · · Score: 5, Funny

      He is using a FlashLinker from Lik-Sang in Taiwan. Covered before on /.

      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

      --
      Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  8. Re:But why? by ryants · · Score: 5, Funny
    ... after actually reading the article ...
    What a concept.
    --

    Ryan T. Sammartino
    "Ancora imparo"

  9. GBA programming by Anonymous Coward · · Score: 5, Informative

    It's amazingly easy to write programs for the Gameboy Advance. Since it has an ARM processor, gcc is readily available, and there is a strong developer community. Even a programming novice could probably write a few decent demos or games. For anyone who is interested in game programming, check out gbadev.org.

    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.

    1. Re:GBA programming by Canis · · Score: 3, Insightful
      Yup, there's plenty of emulators available to get started with and if you want to see stuff running on actual hardware, all you need is a multiboot cable (you can get them from Lik-Sang). Because the GBA allows multiplayer games to run with only one cartridge, it already has a protocol in place for transmitting programs from one GBA to another -- the MB cable simulates this from a PC, allowing you to upload your software to the GBA, which is pretty damn cool. Later, you may wish to get a flash-cart writer which allows you to dump your software into flash RAM in a GBA-compatible cartridge, which gives you more space to work with and you can take it with you instead of being tethered to the PC... however you may want to watch that DMCA if you're in the USA as this may be classed as a 'circumvention device' (sigh).

      Another interesting handheld console to check out is the GP32 (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.

  10. Other GBA hacking projects.... by Anonymous Coward · · Score: 5, Informative

    I haven't heard of Nintendo exactly "closing in" on other projects for the GBA, such as an NES emulator or the Afterburner front-light mod....

    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

  11. Re:People have too much time on their hands by ryants · · Score: 5, Interesting
    You can write a TCP/IP stack for some processor on some platform? Yeah, we all _know_ that can be done, but, why waste your time doing something useless?
    I'm willing to be the guy learned a great deal by doing this. A while ago I wrote a spaceship flying demo in OpenGL. Utterly useless. It's been done before. But hey, I learned a lot about OpenGL in the process.

    If you're just going to sit there doing only "useful" stuff that's completely original, you aren't going to get much done.

    --

    Ryan T. Sammartino
    "Ancora imparo"

  12. Not as cool as... by ralian · · Score: 4, Funny

    the Spud Server!!

    --

    -raph

    1. Re:Not as cool as... by quantaman · · Score: 3, Funny

      Which reminds me, how the heck are we supposed to /. this thing if he doesn't post a link?!? Anyone find a link to the actual gameboy?

      --
      I stole this Sig
    2. Re:Not as cool as... by FattMattP · · Score: 3, Informative

      I think you mean this link for a webserver that's really powered by potatos: http://world.std.com/~fwhite/spud/

      --
      Prevent email address forgery. Publish SPF records for y
  13. Apache? by Galahad2 · · Score: 4, Funny

    Yeah, echo server is all and good, but I'd like to see them get Apache 2.0 on there.
    Oh.. that's right... no mod_pearl. Oh well.

  14. Poor mario... by 42forty-two42 · · Score: 3, Funny

    If he didn't have a super mushroom he'd never survive all those SYN packets...

  15. Re:People have too much time on their hands by ryants · · Score: 4, Insightful
    I detect a hint of sarcasm.

    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....

    --

    Ryan T. Sammartino
    "Ancora imparo"

  16. Re:People have too much time on their hands by mgv · · Score: 3, Interesting

    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?

    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

    --
    There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
  17. Re:ok.... by sydneyfong · · Score: 3, Insightful

    I'm having trouble seeing it as pratical or useful

    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 ;-)

    --
    Don't quote me on this.
  18. wehavethewayout.com by Traser · · Score: 3, Funny

    In related news, port scans of wehavethewayout.com indicate that it is running on a GameBoy Advance. It is reputed to be much more stable than the Windows IIS put in to replace the FreeBSD box.

    --
    Insanity is contagious. - Yossarian
  19. Pays an homage to saint Linus... by anticypher · · Score: 5, Interesting

    If you look way down on his web page, back to the october days, he starts by creating a multi-threading kernel, and then writing alternate A's and B's to the screen. This is what Linus did when he was testing his first attempt at multi-threading two processes.

    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 /. effect :-)

    the AC

    --
    Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  20. For everyone who is asking why by Anonymous Coward · · Score: 5, Informative

    This is taken from an interview with the author http://www.consolevision.com/features/interviews/g ba/adrianon.shtml

    "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. "

  21. Read this for everyone who is asking why by Anonymous Coward · · Score: 4, Informative

    blah. This is taken from an interview with the author http://www.consolevision.com/features/interviews/g ba/adrianon.shtml

    "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

  22. Re:But why? by Lumpy · · Score: 5, Insightful

    Ok we can explain this easily...

    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?

    --
    Do not look at laser with remaining good eye.
  23. Re:But why? by EvilGwyn · · Score: 5, Funny

    Hell yeah. I heard someone actually wrote a version of the UNIX kernel that would run on home PCs. Like anyone would ever use something like that.

    --
    Phear my l33t homepage.
  24. AMEN - Because you can... by GrendelT · · Score: 5, Insightful

    "If you have to ask why, you're not a member of the intended audience. Please go on about your business and accept my apologies for this distraction."
    ---Bob Zinbinski, author of TTYQuake

  25. Ping? by SeanTobin · · Score: 5, Funny

    If you ping it, will it pong?

    --
    Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
  26. Re:But why? by Waffle+Iron · · Score: 5, Interesting
    Obviously working for hour upon hour to write a web server for a freakin' Game Boy that no one will use will ever fit any of those categories.

    It's called play. Most curious people learn through playing. A few people with Eric Cartman-like personalities, however, can't understand the concept.

  27. oh, of course by yzquxnet · · Score: 3, Funny

    soo... what games do you have for your GBA?

    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.

  28. How does one measure usefulness? by NanoGator · · Score: 5, Insightful

    I skimmed some of the posts on this topic and was a little disheartened by some people's reactions to the usefulness of this hack. Let's put a couple of things into perspective:

    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....

    --
    "Derp de derp."
  29. Somebody needs to get that dude laid. by LWolenczak · · Score: 3, Funny

    Somebody needs to get that dude laid.

  30. Re:But why? by user32.ExitWindowsEx · · Score: 3, Funny

    TI-89.....
    *thinks*
    *laughs evily*
    *disappears into darkness*

    --
    "Evil will always triumph because good is dumb." -- Dark Helmet
  31. FTP server on a palm by SCHecklerX · · Score: 3, Interesting

    What *I* really want is and ftp server, or SMB share, on my Clie (any palm, really). Sure would make grabbing stuff from it or putting stuff on it quite nice. It shouldn't be hard, somebody just has to write it...yeah, I know, but it's not so important to me to take my time away from other projects yet :)

  32. Now. LikSang no longer uses UPS. by yerricde · · 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 ]

    --
    Will I retire or break 10K?