An integral x86 PC emulator with debugger