Check out the FreeBasic compiler at
http://www.freebasic.net.
It gives you capability to use C code along with the graphics functions used in Basic.
EX:
PSET (x-coordinate, y-coordinate), color //draws a pixel
LINE (x1,y1)-(x2,y2),color //draws a line
CIRCLE (x,y), radius, color //draws a circle
Those are just 3 of the VERY basic drawing functions.
And I've found that it compiles for MS-DOS too.
(something I've been looking for for a while, my reasons are my own.)