Re:Goboy: Multi-Platform Nintendo Game Boy Color Emulator Wr...
by jchw on Thursday November 22, 2018 @06:37PM
(#18513303)
Cool! I also wrote a Gameboy emulator in Go, but I never got to supporting audio or GBC. I wonder how much harder it is to do Gameboy Color once you've got decent Gameboy DMG emulation?
[ Parent
| on HN ]
Re:Goboy: Multi-Platform Nintendo Game Boy Color Emulator Wr...
by humpheh on Friday November 23, 2018 @03:21AM
(#18515123)
There aren't actually too many differences between GBC and DMG emulation as most of the hardware was consistent between them. The main change is around the PPU and the memory, as the GBC added some internal memory banks which are used for tile attributes and colour palettes etc. The actual changes around the graphics rendering aren't very significant other than some conditionals for GBC mode - you can see them here where `isGBC` is used: https://github.com/Humpheh/goboy/blob/master/pkg/gb/ppu.go