Hi Michael, Japeth, >> > QEMU has never liked CTMOUSE under FreeDOS, and possibly MS-DOS. I don't >> > know why. >> >>when I modify emm386.asm, proc v86_monitor, so that the IF in real-mode is >>cleared for all interrupts routed to v86-mode, not just the IRQs, it works >>with CTMOUSE in qemu. >> >>There might be good reasons to clear IF for IRQs only, as it is done in >>current source code.
1'st, that's a nice find 2'nd, as sort of original author, my 2 cents: INT xx enters the interrupt handler with IF cleared, so this should be done also when being rerouted through the v86_monitor; looks like a plain bug to me I have no idea if the original author made this bug, or this bug creeped in when I converted it to (the original) EMM386, but I can't remember doing this on purpose. > So, is there a real bug normally masked in some way, most software interupt handlers will re-enable interrupts quickly, so this would be masked > Changing a long-standing fundamental behavior to fix a single problem in a > virtual environment with one program can be worrying. I understand that you are not just quickly changing this, as this could have other funny sideeffects... If I had to decide this, I'd change this, and see what happens, but I leave this entirely up to you (YOU are the one that would get complains should sometnig break, thanks for your work) Tom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel