benji wrote:
Could you tell me the relationship between VESA, VGA, framebuffer and video card driver?
VESA VBE is a crude video card driver in ROM. All it can do is switch resolutions and set up a linear framebuffer. It doesn't provide access to any of the other features of the video card. A linear framebuffer is just a series of memory locations which correspond pixels on the screen. Write to those memory locations and pixels change.
benji wrote:
And If I want to write a video card driver. How do I do? IHow am I start this program (I am a beginner). If I got those conception, I ensure I can finish my job quickly. Thank you so much!
It's up to you to decide how drivers fit into your operating system. A relatively simple way is to build them into your kernel; programs make syscalls which call the functions of your driver.
I think someone already told you how to write a driver. Read the hardware documentation, and see what to do. I will add this: Don't try to understand everything before you start. I tried to understand everything first, and so I made no real progress in 30 years!