[fpc-pascal]Reading the color attributes from the screen

James_Wilson at i2.com James_Wilson at i2.com
Mon Aug 20 17:33:03 CEST 2001

> (VGA-)Textmode has the following memory layout:
> Each cell of the screen is represented by two bytes, the first
> is the color attribute the second is the ascii character value.
> The cells are stored one after another in a linear fashion from
> left to right, line by line from top to bottom.
> [snip]

> Should do the trick (everything untested).

Untested, perhaps, but certainly enough for me to see what I was missing. 
Thanks for the help...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20010820/4bfef3eb/attachment.html>

More information about the fpc-pascal mailing list