Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am working with SVGA (640X480 256

Status
Not open for further replies.

nb1969

Programmer
Joined
Oct 15, 2003
Messages
4
Location
US
I am working with SVGA (640X480 256 colors). I am trying to write directly to video memory in 32-bit protected mode. I started off with a simple routine to draw a single pixel (I would be happy if I could see that). Whether I write to the base address of the graphics controller or the video memory, I see a blank screen. Also I have set the vesa mode to 101h.

I am working with VxWorks. I am looking for a sample program in either 32bit assembly or C/C++ which, perhaps will be able to tell me what I am doing wrong.

Also is it true that if I am working in 32-bit protected mode then I don't have to worry about bank switching?

Any help would be highly appreciated.
 
Windows doesn't allow direct write to the video RAM.

Tessa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top