home *** CD-ROM | disk | FTP | other *** search
- FUNCTION PrTest : Boolean; { by Michael D Bates }
- TYPE
- regtype = Record
- ax,bx,cx,dx,bp,si,di,ds,es,flags: integer
- End;
- VAR
- reg : regtype;
- I : integer;
- Begin
- reg.ax:=$0200;
- reg.dx:=$0000;
- intr($17,reg);
- I := ((reg.ax and $ff00) shr 8);
- If (I=144) then PrTest := True
- else PrTest := False;
- End;
-