03.06.2014 22:31, Eric Auer пишет: > Hi! > >> The proper win31 support happened because an author of hx >> extender shared a few tricks with us how to do that. That even >> involved things contradicting with the dpmi specs. He wrote >> hdpmi server that was able to run win31 before dosemu did. > Interesting! When was that and which anti-specs features > were required? Maybe you can email details to the list? Eric, there is no secret here, but this was so long ago that it is mostly lost. What do you want to do with that info? Write your own dpmi server? For example he suggested to alter the exception routing rules. While dpmi spec says unhandled exceptions 1..5 and 7 should generate real-mode interrupts, he suggested to call the protected-mode handlers instead, and if there are none - terminate the client, but never call the real-mode interrupt the way spec does. Also there are many undocumented things, for instance, the limit of LDT selector must dynamically grow when you allocate the descriptors in LDT. There is a summary on undocumented DPMI: ftp://ifctfvax.harhan.org/pub/micro/msdos/above640k/TrueDPMI/dpmiext.txt but it documents actually nothing of what we didn't know ourselves. The most important and difficult to discover things are not in that doc.
After that, I did an attempt to port dosemu's PM api translator to DOS. The idea was to make it runnable under different "weak" dpmi servers (like cwsdpmi), making them able to run windows. I even wrote the code and it mostly worked. But now its dropped because it is difficult to compile DOS code under linux. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel