$INCLUDE: 'C:\FG\INTRFACE.FOR'

      PROGRAM MAIN

      INTEGER*2 OLD_MODE
      INTEGER*2 FG_AUTOMODE, FG_GETMODE

      OLD_MODE = FG_GETMODE()
      CALL FG_SETMODE(FG_AUTOMODE())
      CALL FG_SETCOLOR(15)

      CALL FG_INITW
      CALL FG_SETWORLD(-100.0,100.0,-100.0,100.0)

      CALL FG_MOVEW(0.0,0.0)
      CALL FG_ELLIPSEW(12.5,12.5)
      CALL FG_CIRCLEW(12.5)
      CALL FG_WAITKEY

      CALL FG_SETMODE(OLD_MODE)
      CALL FG_RESET

      STOP ' '
      END
