A chip8 emulator based on SDL