Thanks Nick Hodges for asking, and Uwe Raabe for answering:
Yep! Delphi 2 had TThread while Delphi 1 did not.
It resulted in an interesting thread including topics like cooperative multi-tasking and named pipes under DOS by using Turbo Pascal.
Boy, I remember the \pipe\
days and releasing a time slice by calling INT $28, $15 and $2F combinations like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asm | |
int $28 | |
mov ax, $1000 | |
int $15 { DESQview/TopView give up time slice } | |
mov ax, $1680 | |
int $2F | |
end; |
Note: you can even use INT $2F with AX=$1680 to check if you are running in a DOS x86 VM and other OS checks.
–jeroen
via: Anyone remember which version of Delphi introduced TThread?.