Curiocity
Kirk Reiser
kirk at braille.uwo.ca
Thu May 3 12:33:42 EDT 2007
Using the standard text console there are two bytes of information
stored in video memory for each screen position. One for the
character stored and one for the colour and attribute. The
colour/attribute consists of background colour and forground colour
with a couple of bits dedicated to blinking or high intensity and the
like. So basically you mask off the info and then use that to point
in to an array to get the text string for the colours you want to
say. You do the same thing with the characters to get the
pronunciation.
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk at braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
More information about the Speakup
mailing list