Can we draw graphics on screen by directly pappping the graphics memory using pointers if yes how to find the starting address , word length ,resolusion etc?

>pappping

what is that?

You can do this thing by accessing VDU memory. But, this will be text mode. I do not know how to do the same thing in graphics mode?

char far *vdu;
int main()
{
	int mm_choice;
	#ifdef MA
		vdu=(char far *)0xb0000000L;
	#else
		vdu=(char far *)0xb8000000L;
	#endif
.............
}

But unless your real OS is really DOS, then poking around in physical memory isn't going to work.

The OP should begin by saying what OS/Compiler they have, then we can suggest a way forward.

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.