Now video driver in C. Next step is memory manager, malloc/free/realloc.