Intel 8086 emulator in C/C++ with support for virtual devices