[fpc-devel] Multithreading under DOS

Travis Siegel tsiegel at softcon.com
Thu Sep 26 21:52:35 CEST 2013

What's preventing any threading library from launching it's own  
program in a virtual 8086 machine, thereby leaving dos in it's own  
space.  Any dos calls could simply be routed to that version of  
already running dos.  Dos supports redirection, so if it's just a  
matter of getting some output, problem solved.
Create virtual 8086 machines, run plain dos in one, your program in  
another, and simply redirect any and all dos calls to the version of  
dos already running in it's own 8086 machine.  Sure, it'd be a  
bottleneck if it's bombarded with multiple requests, but dos already  
knows how to deal with that, so again, no problem.

More information about the fpc-devel mailing list