{<<<< Monochrome >>>>}
{ From: COMPLETE TURBO PASCAL by Jeff Duntemann  }
{ Scott, Foresman & Co. 1986  ISBN 0-673-18600-8 }
{ Described in section 17.2 -- Last mod 2/1/86   }
{ HIGHLY specific to the IBM PC! }

FUNCTION Monochrome : Boolean;

TYPE
  RegPack = RECORD
              AX,BX,CX,DX,BP,SI,DI,DS,ES,FLAGS : Integer
            END;

VAR
  Regs : RegPack;

BEGIN
  INTR(17,Regs);
  IF (Regs.AX AND $0030) = $30 THEN Monochrome := True
    ELSE Monochrome := False
END;
