Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

Programming It's funny.  Laugh. IT Technology Entertainment Games

Game Boy Zelda Comes With Source, Sort Of 200

Posted by CmdrTaco
from the hate-when-that-happens dept.
Jamie found a fun story about a 90s Zelda Game Boy ROM that shipped with the source code- not so much on purpose, but more because the linker padded out the last meg of ROM with random memory contents, which happened to include game source code.
This discussion has been archived. No new comments can be posted.

Game Boy Zelda Comes With Source, Sort Of

Comments Filter:
  • by Anonymous Coward on Sunday November 25, 2007 @03:39PM (#21472999)
    Or you could, you know, manage your memory properly.
  • by MBCook (132727) <> on Sunday November 25, 2007 @03:41PM (#21473009) Homepage
    Am I missing some reason that you can't just pad with 0s or 1s? Why bother with random data?
  • by hxnwix (652290) on Sunday November 25, 2007 @04:06PM (#21473187) Journal

    Now the site is Wordpressed
    When slashdot brings down a site running Apache, we call it slashdotting, not Apache-ing. When slashdot brings down a site running wordpress, we call it slashdotting, not wordpressing.

    the original doesn't have any of the code in question
    Are the other games mentioned also trainered?

    "X-Men - Wolverine's Rage" (MD5: b1729716baaea01d4baa795db31800b0), which contains Windows 9x registry keys and INF files, "Mortal Kombat 4 (MD5: 7311f937a542baadf113e9115158cde3), in which you can find some small source fragments, "Gift" (MD5: e6a51088c8fea7980649064bd3a9f9ff), which will tell you that the developers had some Game Boy emulators installed on their system, or the "BIT-MANAGERS" games "Spirou" (MD5:5aa012cf540a5267d6adea6659764441, Turbo C, MAP file, source) and "TinTin in Tibet" (Game Boy Color version, MD5: 8150a3978211939d367f48ffcd49f979), which, amongst other things, contains references to Nintendo's Game Boy Advance (!) SDK ("C:\Cygnus\thumbelf-000512\H-i686-cygwin32\lib\gcc-lib\thumb-elf\2.9-arm-000512, "/tantor/build/nintendo/arm-000512/i686-cygwin32/src/newlib/libc/stdio/stdio.c").
  • Re:Not true (Score:1, Insightful)

    by Anonymous Coward on Sunday November 25, 2007 @04:13PM (#21473235)
    The term DOSsed is sufficient.
  • by dattaway (3088) on Sunday November 25, 2007 @04:40PM (#21473373) Homepage Journal
    Wordpress has rightfully earned this term. Wordpress is so script intensive that nearly every web page on a server farm, that a few concurrent hits causes the load average to soar. Wordpress may be responsible for a significant portion of electricity usage in data centers. Want to kill every virtual account on a server? Install Wordpress.
  • by simcop2387 (703011) on Sunday November 25, 2007 @04:43PM (#21473395) Homepage Journal
    it was filled with things in ram, most likely because malloc was used to get the ram needed to link the image, and they didn't bother to clear it, calloc would have cleared it for them
  • by Carrot007 (37198) <> on Sunday November 25, 2007 @05:06PM (#21473509) Homepage
    > This emulation craze is fairly recent.

    What? I really mean it what?

    I remeber running sonic (megadrive) on a low end pentium (133) back in the day, albeit with no sound.

    I also remeber using various earlier emulators on my amiga before that (speccy and such).

    Maybe you have a differnet definition of recent than me though.
  • Re:Malloc clears? (Score:5, Insightful)

    by mikael_j (106439) on Sunday November 25, 2007 @05:56PM (#21473765)

    I think you're giving MS-DOS too much credit when it comes to memory management. Basically, it was single-tasking so you could just use whatever memory you wanted to.


  • by Anonymous Coward on Sunday November 25, 2007 @06:15PM (#21473855)
    "Maybe you have a differnet definition of recent than me though."

    No, he just apparently has a different definition of "craze" to you. Being the only person in your state to emulate a megadrive on a low-end Pentium without sound doesn't mean that's when the emulation craze started. That was just you pushing the boundaries of what was available at the time. The average gamer wouldn't have understood you back then if you said the word "emulation" to them.

    Only in recent years have so many people been emulating earlier consoles and arcade games on their home PCs, with pretty faithful representation of the original experience.
  • Re:Malloc clears? (Score:4, Insightful)

    by Tony Hoyle (11698) <> on Sunday November 25, 2007 @07:35PM (#21474249) Homepage
    It's not even zeroed.. it doesn't exist.

    When you first malloc memory you get a page of memory that's set copy on write and backed from a special page in memory with nothing but zeroes in it. It's only when you first use the memory that physical memory is actually allocated.
  • by CastrTroy (595695) on Sunday November 25, 2007 @10:42PM (#21475051) Homepage
    I remember a big craze back when I was in highschool. About 10 years ago. Almost all the kids were into it. We played mostly NES and Gameboy games. I remember Pokemon being a huge hit. I actually think it was more popular back then than it is now. You could play games on your computer that were only 1 generation behind the current technology. Now the emulation hasn't really kept up with the advancing consoles. The bests emulators you can find are Playstation and N64, which are very old systems by today's standards.

Always try to do things in chronological order; it's less confusing that way.