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?
[ Parent
| on HN ]
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.