Slashdot Mirror


Gameboy Color Boot ROM Dumped After 10 Years

An anonymous reader writes "Costis was able to dump the elusive boot ROM from the Gameboy Color by using various voltage and clock glitching tricks. The boot ROM is what initializes the Gameboy hardware, displays the 'GAMEBOY' logo and animation, and makes the trademarked 'cling!' sound effect. Even decapping the CPU had failed previously, but now the boot image and specifics on how it was dumped (along with many photos) are available for download."

124 comments

  1. would it run... by Adolf+Hitroll · · Score: 2, Funny

    ...win 7.
    because otherwise this is a puny attempt at resurrecting obsolete tech.

    --
    Smile, don't click...
    1. Re:would it run... by DuoDreamer · · Score: 1

      There is a mod that can allow a GB access to an IDE device such as a hard drive, so technically, yes, it could run Win 7 in a super-slow-as-fuck emulation. For those of you who actually would like to KNOW what the boot ROM does, there is a link ON THE PAGE to a work-in-progress commented disassembly of the entire ROM, as has been previously been done with the GameBoy Mono and Super GameBoy.

    2. Re:would it run... by atomicthumbs · · Score: 1

      The GBC uses a Z80, so you oughta be done starting up Windows right around the heat death of the universe

      --
      http://pinopsida.com
    3. Re:would it run... by DuoDreamer · · Score: 1

      The GBC uses a Sharp CPU similar to a Z80, but not quite the same. The one in the GBC is extremely fast. So fast, in fact, that once Windows finishes booting, we'll still have time to get drinks and salads and Milliways before the Big Show.

  2. Cool by dintech · · Score: 5, Interesting

    I really love reading about the lengths enthusiasts go to when trying to do this kind of thing. For some reason I had assumed that this had been done already since there is already emulation for gameboy color, right? Can someone explain the significance of this development?

    1. Re:Cool by Chrisq · · Score: 0, Offtopic

      I fucked your dead great grandmother while taking a dump on a gameboy color.

      How dare you. The gameboy color is a valuable piece of history

    2. Re:Cool by Xeon3D · · Score: 5, Informative

      I really love reading about the lengths enthusiasts go to when trying to do this kind of thing. For some reason I had assumed that this had been done already since there is already emulation for gameboy color, right? Can someone explain the significance of this development?

      The gameboy bios was also "emulated" before, so this makes the emulation more "realistic". It happens the same with the GBA. While you can emulate games for the GBA without the need for a BIOS file, if you have one, they'll run better \ more accurately (or in some cases, they run instead of not running).

    3. Re:Cool by noidentity · · Score: 5, Informative

      This allows Game Boy Color emulators to display an authentic intro before running the game, including the palette selection available when running a non-color game. There's otherwise no benefit that I can see. This includes initial register values, since those could already be determined via software. Some of the other initial state, like sound registers set by the boot ROM, is more difficult to determine, so this helped there.

      When reverse-engineering hardware, it's nice to figure out every detail, and this was one of the much harder ones to figure out. Decapping usually reveals all, but even that failed here.

    4. Re:Cool by Jurily · · Score: 1

      Can someone explain the significance of this development?

      The same as fixing a 33 year old bug.

    5. Re:Cool by ArsenneLupin · · Score: 3, Funny

      I fucked your dead great grandmother while taking a dump on a gameboy color.

      This says way more about you than about a game boy colour!

      Well, it does allow to infer that the Gameboy colour is now brown.

    6. Re:Cool by RivieraKid · · Score: 1, Funny

      Dad, is that you?

      --
      "Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves
    7. Re:Cool by AstrumPreliator · · Score: 1
      Are you sure decapping failed here? Without any other sources to go by than the article it seems that the decapping was a success despite what the summary says.

      Even decapping the CPU had failed previously...

      There was great news in the GB scene a short while ago, when Neviksti from CherryRom forums announced that he had been able to extract the BIOS image from the original GameBoy by decapping the chip, staining the ROM, and using a really powerful microscope to individually resolve and read out each bit one by one.

      Although it is late and I may be misreading that.

    8. Re:Cool by Anonymous Coward · · Score: 0

      I think Neviksti did it for the original GameBoy, not the color

    9. Re:Cool by Anonymous Coward · · Score: 1, Funny

      Wait, I thought this about the GBC, not the Zune?

    10. Re:Cool by Dogtanian · · Score: 1

      I fucked your dead great grandmother while taking a dump on a gameboy color.

      That's a neat trick considering his great grandmother was cremated and her ashes scattered in the Atlantic Ocean.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    11. Re:Cool by karnal · · Score: 1

      GameBoy Color != GameBoy. So yup, you're tired.

      --
      Karnal
    12. Re:Cool by Anonymous Coward · · Score: 0

      I fucked your dead great grandmother while taking a dump on a gameboy color.

      This says way more about you than about a game boy colour!

      Well, it does allow to infer that the Gameboy colour is now brown.

      Perhaps the GGP was a bird.

    13. Re:Cool by byuu · · Score: 5, Interesting

      It happens the same with the GBA. While you can emulate games for the GBA without the need for a BIOS file, if you have one, they'll run better \ more accurately (or in some cases, they run instead of not running).

      It really just displays the logo and validates that the Nintendo copyrighted startup logo is present in the ROM. It was a trick to try and prevent third-party publishers from making their own releases. As soon as the Game Boy cartridge is started, the boot ROM is locked out completely and no longer needed. The GBA BIOS is quite different, it has tons of functions like various decompression routines, and without it you tend to have far less accurate timing and you may miss potential edge cases. Think of it as low-level emulation with the BIOS, and high-level emulation (in the vain of N64 graphics emulation) without it.

    14. Re:Cool by borizz · · Score: 3, Funny

      Well no. Basically, he masturbated in the ocean and called it fucking a woman. It's the closest most slashdotters can get, right?

    15. Re:Cool by Anonymous Coward · · Score: 0

      It appears that decapping was successful for obtaining the BIOS image for the original B&W Gameboy, but not for the Gameboy Color. The article implies that the the Super Gameboy and Gameboy pocket were not successful with decapping, although the author was able to get the SGB BIOS through other means.

    16. Re:Cool by DuoDreamer · · Score: 2, Informative

      The gameboy color decapping attempts in 2005 (after the mono was successfully decapped) was a failure because the decapping was done by a student with little experience. I sacrificed a couple gbc units for that effort and one unit for a professional decap/bit stain which cost too much so it never happened. This glitching hack was discussed for many years before someone got the right idea.
      This RE effort has rewarded us with info about hidden hardware registers that only the boot ROM uses.

    17. Re:Cool by Anonymous Coward · · Score: 0

      Didn't know that you were here as well, byuu.

      It's always nice to be corrected by you.

      Posting as AC due to laziness

    18. Re:Cool by Anonymous Coward · · Score: 0

      The boot ROM for the original (that is, black-and-white) GB was dumped by neviksti, but when he attempted to decap the Game Boy color CPU he was unable to read its NAND-style memory.

  3. What the ROM does by BadAnalogyGuy · · Score: 2, Informative

    So I took a stroll through the binary and here is what it does in a nutshell.

    - Catch the wake interrupt
    - Resent the CPU
    - Power on the LED
    - Power on the LCD
    - Power on the audio codec
    - Copy the Nintendo graphic to VRAM
    - Play the Clang WAV
    - Initialize the buttons
    - Copy game binary to memory
    - Jump to game image

    1. Re:What the ROM does by Anonymous Coward · · Score: 5, Funny

      Truly a powerful piece of technology if it's resenting CPUs.

      Skynet's not far away now guys!

    2. Re:What the ROM does by CarpetShark · · Score: 4, Funny

      - Resent the CPU

      The ROM resents the CPU? This is astounding. Nintendo have had hard AI in the lowliest of their handhelds for years, and never even told us!

    3. Re:What the ROM does by BadAnalogyGuy · · Score: 5, Funny

      Well, how do you think you would feel if you were dumped after 10 years?

    4. Re:What the ROM does by fuzzix · · Score: 2, Funny

      Well, how do you think you would feel if you were dumped after 10 years?

      My kingdom for a mod point!

      Bravo, sir.

    5. Re:What the ROM does by RuBLed · · Score: 4, Funny

      debugged

    6. Re:What the ROM does by Anonymous Coward · · Score: 0

      After 10 years of not having a dump I would be very, very relieved!

    7. Re:What the ROM does by dintech · · Score: 1

      If you liked it you should have put a 'ring 0' on it.

    8. Re:What the ROM does by tepples · · Score: 1

      You forgot "read the buttons and change the palette around for non-GBC games", which is what the dumpers were really after. Besides, I don't think the battery LED is software controlled.

    9. Re:What the ROM does by Dwedit · · Score: 2, Informative

      NO! There is no "Copy game binary to memory" Stage! These are ROM cartridges which code is executed directly off of, it's not a RAM system which loads games like the NDS.

    10. Re:What the ROM does by marcansoft · · Score: 2, Interesting

      I doubt it powers on the LED. The LED on a GBC turns on even without a clock crystal, before the CPU runs any instructions. It may just be redundantly enabling an already enabled LED though. There's also no such thing as the clang "WAV": this is fixed-function sound hardware, so all it does is configure it to output the two notes. And it certainly doesn't copy the game binary to memory, since this is a system that uses ROM cartridges with in-place execution.

    11. Re:What the ROM does by ID000001 · · Score: 1

      Also, on the boot up screen, if you press button or direction pad, you can set your own palette to one of the preset.

    12. Re:What the ROM does by Goaway · · Score: 3, Informative

      I like how this is modded +5 Informative when it is entirely made up.

    13. Re:What the ROM does by ToasterMonkey · · Score: 1

      ROM/RAM != execute in place

  4. Methinks by s1lverl0rd · · Score: 0, Redundant

    I have just one question - Why?

    1. Re:Methinks by Anonymous Coward · · Score: 1, Insightful

      Why not?

    2. Re:Methinks by adrianwn · · Score: 3, Insightful

      Because he can.

    3. Re:Methinks by Narcocide · · Score: 0, Offtopic

      Correct, sir. "Why?" is a dumb shit question to ask. "Why not?" is not as dumb but twice as rhetorical. "How much bigger did your cock get?" is the correct question to ask.

    4. Re:Methinks by Aklyon · · Score: 1

      Indeed.

      --
      I reserve the right to have a physical object so I can sell it later, and recover my money.
    5. Re:Methinks by Razalhague · · Score: 3, Insightful

      And because nobody else could.

    6. Re:Methinks by Gilmoure · · Score: 1

      Are you asking me?

      --
      I drank what? -- Socrates
  5. Very short summary of how ROM was dumped by noidentity · · Score: 5, Interesting

    Here's my summary of how he did it, since the linked blog posting is quite long:

    When the Game Boy Color powers up, a small internal boot ROM is enabled inside the CPU. This displays the logo, verifies that the game ROM is "genuine", then starts executing it. Just before it starts executing user code, it disables the boot ROM by writing to an I/O register. Once disabled, there is no way to re-enable it, thus user code can't easily read the ROM.

    Costis found that if he stopped the CPU clock for a few seconds, then restarted it, many of the CPU registers (including the program counter) would take on random values. So he placed NOP instructions in all external memory, along with a small dump routine, then stopped and restarted the clock just before the boot ROM wrote to the I/O location to disable itself. This caused the program counter to take on a value outside the boot ROM, and execute all the NOPs until it hit his small dump routine.

    1. Re:Very short summary of how ROM was dumped by tangent3 · · Score: 3, Informative

      I believe he also had to short the 3.3V rail to ground during the time the clock is stopped, to randomize the registers values.

    2. Re:Very short summary of how ROM was dumped by Angostura · · Score: 1

      Thanks for that excellent summary. Just one addition - he didn't just stop the clock, I believe he also had to briefly remove power from the chip in order to get the random values in the registers/ program counter.

      I have to say I have nothing but the greatest respect for the guy. I'd love to be smart enough to manage something like this.

    3. Re:Very short summary of how ROM was dumped by ciderVisor · · Score: 1

      he didn't just stop the clock

      I'd love to be smart enough to manage something like this.

      Look on the bright side - even a stopped clock is right two times a day.

      --
      Squirrel!
    4. Re:Very short summary of how ROM was dumped by noidentity · · Score: 1

      Argh, you're right, and he even has a nice 1...2...3 list describing dropping the 3.3V supply.

    5. Re:Very short summary of how ROM was dumped by amias · · Score: 1

      and even a slashdot poster uses an incorrect quote twice a day

      --
      [site]
    6. Re:Very short summary of how ROM was dumped by Megane · · Score: 1

      Let's see someone try that with the Xbox 360 boot ROM.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    7. Re:Very short summary of how ROM was dumped by Anonymous Coward · · Score: 0

      I'm afraid I can't quite follow your summary attempt. Could you please rephrase it as a car analogy? Thanks in advance.

    8. Re:Very short summary of how ROM was dumped by ComputerGeek01 · · Score: 1

      So it took us 10 years to find a reset button. Good job guys, I have real hope for the future now. On a serious note thanks for the rundown noidentity, this acctually makes me want to read the full article more then the summary did.

    9. Re:Very short summary of how ROM was dumped by Anonymous Coward · · Score: 0

      I'm afraid I can't quite follow your summary attempt. Could you please rephrase it as a car analogy?

      Imagine a car with fully tinted windows, with something inside you want to see. The driver won't roll down the windows for you, so you set off a gas grenade that causes him to become incoherent. He rolls down his window at some point, and you get to see inside.

    10. Re:Very short summary of how ROM was dumped by CityZen · · Score: 1

      Well, let me try. Imagine you're chasing a car (the Gameboy Color), and you want to know what's in the trunk (the ROM). The driver (the CPU) isn't talking. However, you've got a remote control button that can jam on the brakes (stop the clock). This by itself doesn't let you see what's in the trunk. But you find that by hitting the driver with a large blunt object (shorting the 3.3V to ground), you can daze him (randomize the registers) and eventually get him to do what you want, like listen to your request to open the trunk (run your code to dump the ROM).

      It's a pretty old technique, but sometimes it permanently disables the driver and it often doesn't give you what you want. The devil is in the details.

    11. Re:Very short summary of how ROM was dumped by Anonymous Coward · · Score: 0

      Couple of things:

      1.There is no real need to respect smartness: most of it is congenital or developed in the very early years of life, before anyone is responsible for their own actions. It is essentially equivalent to respecting someone for being white. Be the best you can, but respect everyone.

      2.He is merely applying well-known techniques from the smartcard hacking scene. There is no new strategy or tactic here.

      Hero worship produces the idea that humans have different worthiness according to certain measurements, the essential principle of fascism; worse, it puts heroes up on a pedestal so most others assume they can only dream of achieving what they can.

      I assure you that, with the training and interests of the guy,you would have been able to achieve what the guy did. Most people with such professional training prefer not to mess in things like this, however-- it's fairly esoteric.

    12. Re:Very short summary of how ROM was dumped by sexconker · · Score: 1

      "Hero worship produces the idea that humans have different worthiness according to certain measurements"
      That idea is correct.

      "the essential principle of fascism;"
      If you say so.

      "worse, it puts heroes up on a pedestal so most others assume they can only dream of achieving what they can."
      The truth hurts.

  6. Smells Like Primer... by Xin+Jing · · Score: 2, Interesting

    This reminds me of the epiphanic moment during the garage scene in Primer:

    "I did not remove any of the bypass caps on the mainboard for the 3.3V rail and it seems like a few seconds are actually required for the internal logic to discharge appreciably (anything less and the system continues running just fine afterward.)"

    Why a few seconds, why not an exact time?

    1. Re:Smells Like Primer... by mpoulton · · Score: 3, Informative

      Why a few seconds, why not an exact time?

      Because that's the degree of precision necessary when working with analog electronics that aren't intended to function as timing devices. Anything more precise would be unnecessary, anything less would be insufficient.

      --
      I am a geek attorney, but not your geek attorney unless you've already retained me. This is not legal advice.
    2. Re:Smells Like Primer... by marcansoft · · Score: 2, Informative

      Basically, costis attempted the precise method (clock glitching during ROM disable), which didn't work. So he pulled out the sledgehammer (massive clock and power glitching to randomize CPU state). You don't need much accuracy with a sledgehammer.

    3. Re:Smells Like Primer... by jsebrech · · Score: 1

      Computer science is not an exact science. Vagueness is to be expected, even in the little things.

    4. Re:Smells Like Primer... by Anonymous Coward · · Score: 0

      Computer science is not an exact science. Vagueness is to be expected, even in the little things.

      This post appears to have achieved a metastable state between "Vague" and "Precise".

    5. Re:Smells Like Primer... by Sir_Lewk · · Score: 1

      Damn I love that movie. Completely renewed my respect for engineering, made me feel good about being a nerd again :)

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  7. Why can you not just read the rom?? by TheSunborn · · Score: 3, Interesting

    Why can't you just take the rom chip out of the gameboy, put it in a socket on a computer and just read the rom 1 byte at a time?

    I am just a software guy, with no real lowlevel knowledge of hardware, but I would think you could just take the chip out*, solder the legs from the rom chip, on any kind of socket that take a rom chip, and then just read it from there. But I guess there is a reason you can't just do that. So what reason is that?

    *Might take som magic, but when thinking about how the *&#*$ surface mounted chips serial/io chip were changed on the Amiga 500, it can't be that impossible.

    1. Re:Why can you not just read the rom?? by eclectro · · Score: 2, Informative

      I am not familiar with the specifics of gameboy hardware. But increasingly (like with cellphones) the rom is melded with the cpu and has no external bus exposed. This method worked with the gameboy because it read an external cartridge at some point. Nonetheless, it certainly is an interesting method that certainly would have use elsewhere. He should get some kind of award.

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    2. Re:Why can you not just read the rom?? by Anonymous Coward · · Score: 1, Funny

      He should get some kind of award.

      Don't worry... Nintendo's lawyers are already working on it.

    3. Re:Why can you not just read the rom?? by noidentity · · Score: 5, Informative

      Why can't you just take the rom chip out of the gameboy, put it in a socket on a computer and just read the rom 1 byte at a time?

      Because the boot ROM is built into the custom CPU. The data bus to this ROM isn't exposed on any of the pins; when enabled, it bypasses whatever is being sent to the external data bus pins on the CPU, so that its contents are never seen by the outside world.

      A close comparison is the L1 cache inside a modern CPU. When the CPU is reading from it, you can't know what is in it, since the data isn't output to the bus.

    4. Re:Why can you not just read the rom?? by Nobo · · Score: 2, Informative

      The ROM is not on a chip, it's burned into the CPU die itself. There are no memory access lines which reach it. It's only able to be read from within the CPU itself, and there is a CPU register which permanently disables that data path, once that specific register is written to. The last instruction in the boot ROM writes to that register, the boot ROM eats the poison pill, and the next instruction is the start instruction of your cartridge ROM.

      The ROM was read out by beating the hell out of the processor electrically, during the exact clock cycle that the poison pill register is written, such that the write gets lost or scrambled, therefore the boot ROM remains accessible for readout.

      Next time, RTFA before you ask stupid questions. "+4, Interesting"? Give me a break. Lazy idiot.

    5. Re:Why can you not just read the rom?? by Hatta · · Score: 1

      Next time, RTFA before you ask stupid questions

      Welcome to Slashdot!

      --
      Give me Classic Slashdot or give me death!
  8. ASIC? by Viol8 · · Score: 1

    Isn't it because the CPU and ROM are together in an ASIC package and the ROM can't be accessed directly externally through the pins? I could be wrong. If the ROM is a seperate chip then I've no idea why you couldn't do this.

  9. Original GB Boot ROM by NorQue · · Score: 2, Informative

    Great, been waiting for that for ages. So now we might finally get those original GBC colors for GB games in emulators (and especially the coloring for Metroid 2!). For reference, if anyone is interested, here's the story how the original GB ROM got dumped by decapping the chip holding it and reading out the values with a Microscope: http://www.cherryroms.com/forums/copier-and-hardware-forum/manually-extracting-rom.html?page=2 (two thirds down the pge, the post by nevikisti from Wed, 05/18/2005 - 10:26). Thread itself deals with how they tried to dump the SNES DSP1 chip, but ultimately failed to do so. Currently there's some effort underway by the creator of bsnes to do the same thing: http://byuu.org/

    1. Re:Original GB Boot ROM by Zombie+Ryushu · · Score: 1

      You are referring to Game Boy Color's Super Game Boy Support. Someone may have to dump the rom of the Super Game Boy to do that.

    2. Re:Original GB Boot ROM by NorQue · · Score: 1

      Nope, GBC didn't have SGB support. Those colors you see in ie Metroid 2 are selected in the GBC boot process. And that guy already dumped the SGB Boot ROM, too.

    3. Re:Original GB Boot ROM by marcansoft · · Score: 1

      The same guy (costis) already dumped the SGB ROM a few days earlier, using a simpler clock-glitching-only techique. See the site.

  10. Super Gameboy Support and Emulators. by Zombie+Ryushu · · Score: 4, Interesting

    Does this mean that we will be able to colorize Non-Super Gameboy Game Boy Games?

    When a Gameboy Color starts up with a Super Gameboy boy game is put into a Super Game Boy, it uses the Super Gameboy Palette with the border that would normally be used on a TV omitted.

    Examples of this:

    Pokemon Red/Blue/Yellow
    Donkey Kong

    Alot of people thought that Pokemon games were Gameboy Color games, and some are, like Pokemon Crystal, but alot of the games are actually Super Gameboy Games.

    Classic Gameboy games such as Tetris, Super Mario Land, and Metroid II had no colorization, so the Gameboy color and Super Gameboy would color them based on an alogorithm. No emulators exist that can colorize a non-Super Gameboy game. They are displayed in Gray Scale.

    My question is, will the dumping of this Bios lead to a better understanding of how Non-Super Gameboy Games are colorized on the Game Boy Color?

    1. Re:Super Gameboy Support and Emulators. by Sockatume · · Score: 1

      My understanding is that there's no "algorithm", rather the GBC has preset palettes for recognised Gameboy games such as Metroid II and a single palette for the remainder. Could be wrong though, it's not like I have the most extensive retro collection to test it out with. At any rate, having the ROM dump should finally be able to set the matter to rest.

      --
      No kidding!!! What do you say at this point?
    2. Re:Super Gameboy Support and Emulators. by noidentity · · Score: 1

      Does this mean that we will be able to colorize Non-Super Gameboy Game Boy Games?

      We were already able to. An emulator can do whatever it pleases, including giving colors to things. Most simply, it can give each of the four shades of gray (green?) different colors. Going further, it can use one set of colors for the background shades, and another for sprites. Even further, it could divide sprites and background into multiple groups.

      The colorization the GBC did for non-GBC games was the second described above, having one set of colors for the background, and another for sprites (and a few custom palettes for particular games, like Metroid II). The dump of the GBC ROM just allows an emulator to colorize these games in a fully authentic way, rather than in its own way; the end-result is identical.

    3. Re:Super Gameboy Support and Emulators. by Anonymous Coward · · Score: 0

      With non-Gameboy Color games you could change the palette when booting the game by pressing different buttons. There was stuff like "negative black and white", everything a bit green, everything in red colors etc. I can't test it, but this is how I remember it with my (German) Gameboy Color and numerous non-color games I played on it.

    4. Re:Super Gameboy Support and Emulators. by Zombie+Ryushu · · Score: 1

      Neither Mednafen, nor sdlmess will colorize a non-Super Gameboy Game.

      Mednafen fails to activate the Super Game Boy Feature set of Super Game Boy Game.

    5. Re:Super Gameboy Support and Emulators. by Sockatume · · Score: 1

      Sure, but it defaults to a colour scheme which seems game-dependent.

      --
      No kidding!!! What do you say at this point?
    6. Re:Super Gameboy Support and Emulators. by noidentity · · Score: 1

      The Super Game Boy isn't the only way to colorize monochrome games. For Mednafen, it seems you'd use the -gba.colormap command-line switch. Other Game Boy emulators are sure to have a way to do the same. At the very least, you can modify their source code (the original point was that these games coulds still be colorized by emulators before this recent GBC boot ROM dump was made, even if some emulators didn't provide a UI to do so).

    7. Re:Super Gameboy Support and Emulators. by Anonymous Coward · · Score: 0

      Neither Mednafen, nor sdlmess will colorize a non-Super Gameboy Game.

      MESS does now.

    8. Re:Super Gameboy Support and Emulators. by Anonymous Coward · · Score: 0

      Not only does it lead to "better understanding", it leads to colorization that Just Works: If you download the latest MESS (http://www.mess.org/) SVN tree and compile it yourself, you can play GB Mono games on the GB Color driver, and they will be colorized as appropriate using the GB Color's "internal algorithm", which is just a default set of values for certain games, and also the ability to select the palette by holding down a direction on the D-Pad during bootup.

    9. Re:Super Gameboy Support and Emulators. by Anonymous Coward · · Score: 0

      Neither Mednafen, nor sdlmess will colorize a non-Super Gameboy Game.

      Mednafen fails to activate the Super Game Boy Feature set of Super Game Boy Game.

      That's an incorrect statement. If you download the latest version of the MESS source code from the MESS Suberversion tree, it will colorize non-SGB games if you run the Game Boy Color driver with a Game Boy Mono game.

    10. Re:Super Gameboy Support and Emulators. by DuoDreamer · · Score: 4, Informative

      There is a hashtable of GameBoy Mono games which are recognized by the GameBoy Color, and it applies a preset color scheme that Nintendo chose to make the game stand out better. Metroid II is a perfect example of this coloring. All of these GBC colored B&W games are run in plain B&W mode, even if they have Super GameBoy features, as the GBC is not a Super GameBoy and doesn't have the same features. There is a disassembled source file to the GBC Boot ROM linked on the dumper's website, with most of it commented and disassembled. (Except the game recognition hashing part, which is still being analyzed)

    11. Re:Super Gameboy Support and Emulators. by kriston · · Score: 1

      This is all great, but how can I display my Gameboy Color on my television screen?
      These were in-store kiosks with the game boy somehow displaying its image both on the little screen and a television mounted on the kiosk.

      --

      Kriston

    12. Re:Super Gameboy Support and Emulators. by petermgreen · · Score: 1

      When a Gameboy Color starts up with a Super Gameboy boy game is put into a Super Game Boy, it uses the Super Gameboy Palette with the border that would normally be used on a TV omitted.
      No it doesn't, though it does colorise some known roms.

      Pokemon Red/Blue/Yellow
      The colorisation of those games running in SGB mode (interestingly the way games check if they are running on a SGB is to check if the second controller exists) is pretty different from that which the gameboy color uses. The SGB colorisation changes during the game, the stuff applied by the gameboy color does not.

      Alot of people thought that Pokemon games were Gameboy Color games, and some are, like Pokemon Crystal, but alot of the games are actually Super Gameboy Games.
      R/B/Y were gameboy games with support for the SGB pallete/border system.
      G/S were dual mode gameboy/gameboy color games, I don't know if they also had support for the SGB stuff.
      crystal was a gameboy color only game (I'm guessing they switched to color only to free up rom space for the new features they added)

      My question is, will the dumping of this Bios lead to a better understanding of how Non-Super Gameboy Games are colorized on the Game Boy Color?
      It will get more details on how the games are identified and what the exact color values are.

      It could also be interesting for flashcart menus if it reveals a way to switch from GBC mode to gameboy mode (this is normally selected by the GBC depending on a byte in the roms header).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    13. Re:Super Gameboy Support and Emulators. by Anonymous Coward · · Score: 0

      Yeah. The Super Game Boy still has never been emulated in its entirety. I don't think any of the SNES level features like the built-in menu work on current GB/C emulators.

  11. feels like .... Chicken! by freaker_TuC · · Score: 1

    Or Super Mario Bros ... wasted ...

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  12. I smell double standards by netpixie · · Score: 5, Insightful

    "Copyright 2009. Costis Sideris."

    So copyright law is good enough for you, but not for Nintendo?

    1. Re:I smell double standards by kestasjk · · Score: 1

      That is a bit hypocritical, well spotted. (I suppose he could argue it's an artistically creative work vs a piece of software, but I don't buy that argument personally even though it convinces some.)

      --
      // MD_Update(&m,buf,j);
    2. Re:I smell double standards by robot256 · · Score: 0

      The GBC was released almost 11 years ago. That means there's a good chance Nintento didn't (or soon won't) renew their copyrights on some of it and it is public domain.

      Besides, the boot rom is hardly something that they would even bother to copyright--since it is so inaccessible they probably kept it as a "trade secret" which means there is no automatic protection under the law. I would be extremely surprised if they bothered to do anything about this at all, since the GBC and GBA are both ancient history by now.

      Of course, I too find claimed copyrights on hack data to be very dubious, but one can only assume the author expects others to ignore that copyright as much as he ignores everyone else's. But technically, is it even copyrighted if he didn't submit it to the Copyright Office, or is it just a banner he put there to scare people?

    3. Re:I smell double standards by daid303 · · Score: 3, Informative

      Copyright lasts 70 years, not 10. And you don't need to add a copyright notice to get copyright. If you made it it's yours, under your copyright. If something has no notice/license at all, then it's copyrighted. And then you shouldn't go and copy it.

      http://inventors.about.com/od/copyrights101basicsfaq/f/secure_copyrigh.htm

    4. Re:I smell double standards by Anonymous Coward · · Score: 1, Insightful

      That means there's a good chance Nintento didn't (or soon won't) renew their copyrights on some of it and it is public domain.

      This is complete bullshit. Nintendo is one of the most enthusiastic defenders of their copyright properties. Watch these guys get a C&D letter as soon as Nintendo notices their existence. I'm guessing no later than the end of this week.

    5. Re:I smell double standards by Anonymous Coward · · Score: 0

      No, not unless he's distributing the ROM dumps.

    6. Re:I smell double standards by marcansoft · · Score: 1

      He is. But seriously, this is a 4kB dump of an 11-year-old boot ROM. Copyright or no copyright, I'd say the historical significance and the usefulness for preservation efforts outweighs concerns about copyright violation.

      Copyright law is grossly overreaching. At some points, such as small, old, historical works, you have to draw a line.

    7. Re:I smell double standards by BitZtream · · Score: 1, Insightful

      Ahhh common ignornace.

      Your location on the globe (what your countries laws are) and what type of material you are dealing with (print, versus audio, versus other artwork) play into the length of copyright.

      Just because Disney has fucked up your country doesn't mean those rules apply to anyone else.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    8. Re:I smell double standards by Mr+Z · · Score: 5, Informative

      I assume you refer to the United States. The US was actually late to the party. The Berne Convention got the ridiculous-copyright-term ball rolling... Disney just gave it an extra push. In particular:

      The Berne Convention states that all works except photographic and cinematographic shall be copyrighted for at least 50 years after the author's death

      The Berne Convention is also what gives us the rule that daid303 stated, that you don't need to add a copyright notice to get copyright:

      Under the Convention, copyrights for creative works are automatically in force upon their creation without being asserted or declared. An author need not "register" or "apply for" a copyright in countries adhering to the Convention. As soon as a work is "fixed", that is, written or recorded on some physical medium, its author is automatically entitled to all copyrights in the work and to any derivative works, unless and until the author explicitly disclaims them or until the copyright expires. Foreign authors are given the same rights and privileges to copyrighted material as domestic authors in any country that signed the Convention.

      The US didn't sign on to Berne until 1988. The EU's been on board for awhile, as have many, many other countries. So, yes, you're technically correct that there are some people that are unaffected by the US's copyright protections (or in the case of Nintendo's IP, Japan's). But, a great many places have similar restrictions.

    9. Re:I smell double standards by H0p313ss · · Score: 1

      +informative Never a mod point when I really need one!

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    10. Re:I smell double standards by JSBiff · · Score: 4, Informative

      This article is a classic example of why you shouldn't take legal advice from slashdot posts.

      Note, I am not a lawyer, but that doesn't mean I can't find credible sources/links which show this guys doesn't know jack nor shit about what he's talking about.

      First, yes, as someone pointed out, copyright laws vary somewhat from country to country. However, thanks to treaties, like the Berne Convention, which has been signed by most of the world's countries (although, not all the countries necessarily enforce it vigorously) they have become fairly standardized.

      For the following statements, I've referenced wikipedia articles (which, I suppose might be wrong, but I have a fair amount of confidence in the accuracy), as well as the US Copyright Office website:

      1) Copyright is longer than 10 years in most countries, and particularly, in the US, Europe and Japan (50 years for Japan, 70 years for US and Europe). So there is no way this is public domain (note: I am, personally of the opinion that copyright on software *should* be about 10 years, maybe renewable for another 10, but want you or I want, and what is law, are two separate things, and you'd do well to remember that).

      2) You don't have to bother to copyright something. In all Berne Convention copyright regimes, copyright is *automatic* at the moment a work is put in a fixed form. So,

      "But technically, is it even copyrighted if he didn't submit it to the Copyright Office, or is it just a banner he put there to scare people?"

      Yes, to the extent that something he claims copyright on is actually his original work, it *is* copyrighted. Whether he'll enforce the copyright or not, is a different question, which I cannot answer.

    11. Re:I smell double standards by bushing · · Score: 2, Informative
      There's no well-defined line of what software is expressive (and eligible for copyright) and what software is merely functional. I would argue that this software is merely functional -- there's not all that much code, and there are only a few ways you can write code that performs the same function. It's largely mechanical.

      On the other hand, the Nintendo logo is actually contained in the ROM, as part of the protection mechanism. This was probably done as a "copyright/trademark trick" -- the logo is certainly expressive (and eligible for copyright), so in order to make a clone cartridge, you would have to copy this logo.

      Unfortunately for Nintendo, Sega tried this trick in court and lost a couple of years later. That court case actually established the precedent I'm alluding to above... a few choice quotes from the decision:

      In some circumstances, even the exact set of commands used by the programmer is deemed functional rather than creative for purposes of copyright. "[W]hen specific instructions, even though previously copyrighted, are the only and essential means of accomplishing a given task, their later use by another will not amount to infringement."

      [...]

      Sega's trademark security system (TMSS) initialization code not only enables video game programs to operate on the Genesis III console, but also prompts a screen display of the SEGA trademark and message. As a result, Accolade's inclusion of the TMSS initialization code in its video game programs has an effect ultimately beneficial neither to Sega nor to Accolade. A Genesis III owner who purchases a video game made by Accolade sees Sega's trademark associated with Accolade's product each time he inserts the game cartridge into the console. Sega claims that Accolade's inclusion of the TMSS initialization code in its games constitutes trademark infringement and false designation of origin in violation of [...] the Lanham Trademark Act. Accolade counterclaims that Sega's use of the TMSS to prompt a screen display of its trademark constitutes false designation of origin under Lanham Act section 43(a), 15 U.S.C. Section 1125(a). Because the TMSS has the effect of regulating access to the Genesis III console, and because there is no indication in the record of any public or industry awareness of any feasible alternate method of gaining access to the Genesis III, we hold that Sega is primarily responsible for any resultant confusion. Thus, it has not demonstrated a likelihood of success on the merits of its Lanham Act claims.

      This legal issue was later revisited in a slightly different form (with mixed results) in Lexmark V. Static Control Components -- however, in that case, there was a lot more code involved than the boot ROM we're talking about here, so much more room for claims of expressive code.

    12. Re:I smell double standards by daid303 · · Score: 2, Insightful

      Just FYI, the site is hosted in the US, and the domain register is from the US. Which makes US copyright law pretty relevant in this case.

      (And I'm from Europe)

  13. Re:Who even remembers the GBC? Who cares? by LoonyMike · · Score: 5, Funny

    This is a perfect example of useless, wasted effort.

    I agree, you should have posted on Digg instead.

  14. Re:Who even remembers the GBC? Who cares? by tpwch · · Score: 3, Insightful

    I care.

    There are many great games for gameboy color, I had a gbc and about 10 games, but I haven't been able to play them for a while becuase I lost my GBC. I want to re-play them again some day.

    Sure, this rom isn't needed for re-playing them, but its also a bit of preserved history. Thats one of the main reasons for dumping roms, its not all about piracy, its preserving a bit of history for future generations.

    --
    Posted by a Debian GNU/Linux user
  15. Re:Idle hands by machine321 · · Score: 3, Funny

    GBC Boot ROM dumped? After 10 years?

    It's more likely than you think.

  16. If GBC has been dumped after 10 years... by madenglishbloke · · Score: 0

    I think he will suddenly have a lot of spare cash to spend on beer and hookers...

  17. Re:Who even remembers the GBC? Who cares? by Ash-Fox · · Score: 1

    Thats one of the main reasons for dumping roms, its not all about piracy, its preserving a bit of history for future generations.

    Son.. You're old enough now to become a.. Pokemon master!

    We spent year reverse engineering the technology, but now you can become a Pokemon master thanks to advances in modern pirate technology.

    --
    Change is certain; progress is not obligatory.
  18. Re:Idle hands by Dogtanian · · Score: 2, Funny

    GBC Boot ROM dumped? After 10 years?

    It's more likely than you think.

    Can you play Centipede on it? :-)

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  19. DMCA by Alioth · · Score: 0

    I'm just wondering when he's going to receive his DMCA takedown notice.

    1. Re:DMCA by _Shad0w_ · · Score: 0

      And how many people will have mirrored it before then?

      --

      Yeah, I had a sig once; I got bored of it.

  20. Vcc/clock glitching by bushing · · Score: 1

    This is also an interesting development because Costis achieved the same goal as the decapping of the original GameBoy CPU, but with vastly cheaper equipment (< $100) and probably in less time (< 1 week).

    Glitching is a neat technology; it's most famously used by "card unloopers" for smartcard hacking, and is also used by modern Wii modchips. Travis Goodspeed gave a neat presentation at DefCon 2009 about glitching, and has released some open-source hardware which will eventually support glitching target microcontrollers. Given the right software, that board alone would probably have been enough to perform this hack.

  21. Re:Who even remembers the GBC? Who cares? by Anonymous Coward · · Score: 0

    get a GBA (or SP but not micro). the GBA played all previous GB, GBC and GBA games.

  22. Quick! by Anonymous Coward · · Score: 0

    Somebody scream: DMCA!

  23. Re:Who even remembers the GBC? Who cares? by GameboyRMH · · Score: 1

    What!? CHILD is evolving!!! CHILD evolved into...PERMAVIRGIN!

    Ding dong doooong! Da da da da da dee da!

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  24. I am impressed.. by zmollusc · · Score: 1

    ..that nobody from the original company leaked the information in the interim. What kind of scary NDA do they have?

    --
    They whose government reduces their essential liberties for temporary security, receive neither liberty nor security.
  25. Re:Who even remembers the GBC? Who cares? by markimusk · · Score: 1

    oh Fuck me! I just chocked on my cigarette!

    hahahahaha, thanks for the laugh!