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

      PROGRAM MAIN

      INTEGER ZEROES(16)
      INTEGER MODE
      INTEGER FG_GETMODE

      DATA ZEROES /16*0/

      CALL FG_INITPM
      MODE = FG_GETMODE()
      CALL FG_SETMODE(13)

      CALL FG_PALETTES(ZEROES)

      CALL FG_SETMODE(MODE)
      CALL FG_RESET

      STOP ' '
      END
