• Classy Hatter@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      51
      ·
      8 months ago

      For some reason, when a GBA game crashes, the GBA will output the content of the game cartridge as audio over the headphone jack. This person noticed it and created a script that can re-create the ROM file (content of the cartridge) from the audio that the GBA outputs.

        • fidodo@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          Sending data over audio was how dial up Internet worked. My guess here is that the audio playing hardware loses the ability to come to a stopping point at the end of the audio file after a crash and starts playing the data in the memory after the audio file ends as if it were audio.

              • MomoTimeToDie@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                0
                arrow-down
                2
                ·
                8 months ago

                The guy who uploaded the video that corporate content farm is “reporting” on actually covers exactly why this happens. In short, the gba plays sound from a certain part of ram, which a cpu interrupt continously refreshes. In the event of a crash, it keeps playing sound, but doesn’t get the interrupt to keep it playing the proper data from ram. If you let it cycle through all of ram, it eventually leaks out and just starts playing, well, everything else, eventually getting to the game rom. Relevant Videos

    • SkelectusA
      link
      fedilink
      English
      arrow-up
      12
      ·
      8 months ago

      I assume the game was playing an audio sample while it crashed, and the hardware never stopped playing, meaning it just kept playing through the entire address space.