Remove trailing whitespace
Add a global emu_t struct
cpu: add instruction counter and debug
cpu: add a dump state function
Link against SDL2
sdl port wip
Use clang
Add a few more comments
Use a C++ compiler instead of C

For the moment, just as a better C, not using a lot of C++ features.
Add casting that makes C++ compilers happy