summaryrefslogtreecommitdiff
path: root/fpcdocs/go32ex/softint.pp
blob: 502b7dfcb151e426f9d8435b3b0a7d20e1775b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
uses
        go32;

var
        r : trealregs;

begin
        r.ah := $30;
        r.al := $01;
        realintr($21, r);
        Writeln('DOS v', r.al,'.',r.ah, ' detected');
end.