Re:Writing my first Gameboy Emulator
by spencercw on Wednesday December 30, 2020 @04:29PM
(#25586340)
Nice idea to write that stuff down. Something that flummoxed me for a while was how Pokemon Yellow does the Pikachu sound, since the Game Boy doesn't really support sample-based audio. Turns out it does something akin to spending 100% of its CPU time turning the sound on and off to play the samples.
Re:Writing my first Gameboy Emulator
by zeta0134 on Wednesday December 30, 2020 @05:50PM
(#25587204)
For anyone who might be curious as to how this worked in practice, Retro Game Mechanics does an excellent breakdown of the technique used here: https://www.youtube.com/watch?v=fooSxCuWvZ4
Re:Writing my first Gameboy Emulator
by RupertWiser on Wednesday December 30, 2020 @02:44PM
(#25585193)
What a wonderful resource! Thanks for documenting this. I should probably follow your example and do the same.
Really interesting.
How long did it take to have a working emulator ?
Maybe a full month to get GameBoy ROMs up, if I remember correctly. It did take a while, as there's always room for misunderstanding how something is supposed to work!
But super worth it!
https://github.com/fwsGonzo/gamebro/blob/master/POSTERITY.md
Many of the issues are not documented anywhere, and it is just about guessing what the hardware did - and thus, what the developers back in the day relied on!