Google Answers Logo
View Question
Q: Accessing bitplanes in VGA mode 12H (640x480x16) ( No Answer,   0 Comments )
Subject: Accessing bitplanes in VGA mode 12H (640x480x16)
Category: Computers > Graphics
Asked by: bigjosh2-ga
List Price: $100.00
Posted: 24 Mar 2006 10:03 PST
Expires: 24 Mar 2006 10:19 PST
Question ID: 711511
I need to know how to specifically access the pixel data in VGA mode
12h (640x480x16) in four continously addressable bit planes at segment

Basically, I want the couple of lines of code that will make the first
bitplane apear at A000H so I can copy it out, then switch the bank so
that the second bit
plane appears there, up to the fourth bit plane.

It is important that the entire bitplane show up as 38,400 bytes
starting at A000 so that I can
copy the entire bit plane with a single memcpy(). It is not usefull to
me to have to read individual bytes one at a time- I need the whole
bit plane at A000 all at once.

I'd image this is pretty straghtforward to do and described in any of
the good VGA refernce books that were around 10 years ago. Alas, I no
longer own any of the old
VGA reference books (I got married).

I'd accept ASM code, C code, psueduo code, or even a brief descrition
of the exact steps. Just enough so I'll be able to create a program
that does it.

Note: If you do not understand what I am talking about when I say that
the whole bit plane has to show up as one continuous array of bytes at
A000, please do not answer this question. I already know who to get
the data one byte at a time and this will not work for my application
since I need to copy a full bit plane of data at once using DMA.


Clarification of Question by bigjosh2-ga on 24 Mar 2006 10:19 PST
Found answer here...
There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy