News for hackers. Stuff that matters.
Re:MrWint's GBC Pokémon: Yellow Version “Arbitrary Code Exec... by ddoolin on Thursday May 03, 2018 @06:20PM (#16990533)
I got a good chuckle at pushing uncompressed Spongebob video through that 4-bit input. Nicely done.
Re:MrWint's GBC Pokémon: Yellow Version “Arbitrary Code Exec... by Willson50 on Thursday May 03, 2018 @08:47PM (#16991320)
How does he do that?
Re:MrWint's GBC Pokémon: Yellow Version “Arbitrary Code Exec... by GuiA on Thursday May 03, 2018 @09:39PM (#16991567)
This is described in the document (sections of interest are "Emulator Choice" and "SpongeBob video sequence"). To make it very brief, what's happening is that Pokémon Yellow is acting as an interpreter for commands that get sent to an engine that renders tiles+sounds. These commands are sent through the key inputs. A specific emulator that polls the keys at a subframe rate (very very subframe indeed - thousands of inputs per frame) is used so a lot of data, such as video, can be sent.

In a way, you can imagine what you're seeing not as a GameBoy Color game being played, but as a video being streamed to a GameBoy Color video player using a specific codec optimized for the GameBoy hardware.

Re:MrWint's GBC Pokémon: Yellow Version “Arbitrary Code Exec... by Torn on Thursday May 03, 2018 @11:11PM (#16991946)
Great response - I think what a lot of people miss in these pokemon code execution setups is that the inputs are being streamed to the console _really_ fast
Re:MrWint's GBC Pokémon: Yellow Version “Arbitrary Code Exec... by saagarjha on Thursday May 03, 2018 @11:01PM (#16991908)
I'm assuming that the parent comment was referencing the specific Spongebob quote in the video, rather than asking for a serious explanation.