VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

I'm using the FE /7 iw(immediate word) opcode in my emulator to execute handlers hardcoded in my emulator (function 0 being the BIOS POST, all other handlers are dynamically allocated). I know Dosbox uses it in the same way too to handle it's BIOS and MS-DOS interrupt handlers.

Are there other emulators using this opcode in this way as well or are only Dosbox and my x86EMU using the opcode this way? Does VirtualPC, VirtualBox, QEMU etc. use it too?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 3, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

I don't know of any other emulator that uses that instruction.
VirtualPC, for example, uses an illegal CMPXCHG-based sequence as one method. VMware uses an I/O port as one method.
I have forgotten how QEMU does it, and I haven't looked at all at VirtualBox.

Reply 3 of 3, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

Bochs has a magic port, too.