$INCLUDE: 'C:\FG\FASTGRAF.FI'

      PROGRAM MAIN

      INTEGER*1 MATRIX(8)
      INTEGER OLD_MODE
      INTEGER FG_GETMODE

      DATA MATRIX /15,9,9,15,15,9,9,15/

      CALL FG_INITPM
      OLD_MODE = FG_GETMODE()
      CALL FG_SETMODE(19)

      CALL FG_DRECT(0,49,0,49,MATRIX)
      CALL FG_WAITKEY

      CALL FG_SETMODE(OLD_MODE)
      CALL FG_RESET

      STOP ' '
      END
