Hello. Zoltan Boszormenyi wrote: > eject the CD util I exit dosemu. The dosemu internal eject > command didn't work. The problem is most likely not in dosemu itself (kernel? udev?) Dosemu does what's the attached simple test-case does, which fails on FC3 too. > I have a question. At present, dosemu doesn't run on Linux/x86-64 > (in 64-bit mode) as the vm86 mode is disabled on the hardware. > How hard would it be to write an in-kernel vm86 emulation? There are the already-written CPU emulators. I was playing around the qemu, which has the vm86() syscall emulation. It was possible to run dosemu entirely under the qemu user-mode emulation, so it was very promising. I almost got it to work inside the dosemu, but at some point its author abandonned the user-mode support and dosemu no longer runs under it, and so I had to abandon my porting effors. If/when (which is now unlikely) qemu is fixed, I'll probably look up that code and complete the work. There are the other CPU emulators too, but qemu have the ready-to-use vm86() emulation, not just the CPU emulation, so it is the primary target of course. Another interesting thing would be to have the Windows port - someone already built the dosemu with help of coLinux, and it even worked.