Porting an NES sound engine to the Game Boy