Hi,

I have tried a VGA mode in C with graphics.h which displayed graphics in 256 color but 320X240 resolution. I want to know the way to display graphics in 256 color in 640X480 resolution.Can anybody please help me.?

Also I have tried to display a bmp file using graphics in C following the .bmp file format but the image is being distorted. Please provide exact procedure of reading a bmp file n dislaying it.

Thanks.
Mutyala Rao Aripaka

I would convert the bmp file to a header file. Include it into your project and use dx codes to view it.

Playing with VGA. You will probably benefit from this . It shows you how to use VGA properly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.