an attempt at a basic game boy emulator written in c