add func to vga.c&add some basic func in func.c