Hello. For a few days I was toying around an idea to resurrect coopthreads. For this I created the branch "coopthreads_v2" in git. In this branch it is used by the fossil to do a blocking wait directly inside dosemu. This is likely not the right solution for fossil, so I am not going to push it to master, but that's a demo. Another test I did, was to create a while(1) loop in dosemu code that prints something, and I was able to start and stop that loop from dosdebug, just as if it would be a DOS code (well, almost). So, in theory, this will allow to move the bios.S code directly to dosemu, in C.
Everyone is encouraged to take a look and make a comment. Oh, and it have nothing to do with the old coopthreads code written by Hans Lermen. There are many coopthreads implementations around, I took libpcl, I really like the way it is written (author David e Libenzi). And the dosemu wrapper around it weights only a couple of kilobytes of a source code, compared to 50K code of an old coopthreads.c that no one can ever understand. :) So, comments are welcome. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel