Better HN
topnewbestaskshowjobs
Log inSign up

humpheh

1 karma · joined Jan 26, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

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

comment 8y ago · link · parent

There are some fantastic resources out there which detail basically every part of the GameBoy from processor to graphics.

For me the GB was a great entry point in learning about emulators as is is fairly simple compared with some other consoles. Even if you're not going to make an emulator some of them are still great reads - I've put a few resources I used on the GoBoy page: https://github.com/Humpheh/goboy#resources