Interrupt 0x15 function 0x86 (BIOS WAIT) runs far slower on real hardware than on virtual machines?
问题 I've been writing a bootloader in assembly (a game). The bootloader uses the bios WAIT function (int 0x15, ah 0x86) for delays between frames. I'm debugging with BOCHS and everything works just splendid (timing is perfect). I also made a bootable iso with the isogenimage tool and tested my bootloader in virtualbox and everything works as expected there too. So I think it's safe to say that delays work in virtual environments. Now here's the peculiar part: when I write the bootloader to a usb