DCPU emulator in C++