The Brackeen website I think is the longstanding top-notch 13h VGA graphics tutorial website.

I used it quite extensively to learn 13h graphics back when I was in high school, and the tutorials are actually written VERY well. I still have all the libraries I wrote using those tutorials.

They should help you out a lot.