drawing rectangle and circle

Hello world !

I have to developp a small screen utility and i want to draw rectangle and
circle fill with standard VGA colors
without using Phab. This utility could be start from a shell without photon.

could you help me thanks