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

      PROGRAM MAIN

      INTEGER*2 ZEROES(16)
      INTEGER*2 MODE
      INTEGER*2 FG_GETMODE

      DATA ZEROES /16*0/

      MODE = FG_GETMODE()
      CALL FG_SETMODE(13)

      CALL FG_PALETTES(ZEROES)

      CALL FG_SETMODE(MODE)
      CALL FG_RESET

      STOP ' '
      END
