[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
TextBuffer

The Text Buffer

The text buffer occupies the memory starting at address B800:0000. Each character occupies two bytes. The first byte is the ASCII value of the character. The second represents the color of the character.

The color byte is seperated into two nibbles. The first nibble is the background, the second is the foreground. For example, if the word at B000:0000 is 7054h (using the little endian notation), this would mean 54h = 'T', 7h = light grey, and 0h = black. The letter T would be displayed in the top left corner, light grey text on a black background.

See Also:

last edited (February 5, 2003) by KDivad Leahcim, Number of views: 2707, Current Rev: 6 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.