Subj : Re: BIOS interrupt To : borland.public.cpp.borlandcpp From : waking@idirect.com (Wayne A. King) Date : Sun Aug 24 2003 02:10 pm On 22 Aug 2003 15:28:29 -0700, "Rob C." wrote: >This program returns 32, which is red on green. No it isn't. The 32 is the decimal value of the *character* at the cursor, not its attributes. The routine I gave you was named readch and was specifically created to do just that: read the "character" at the cursor location. You changed the name to readattr without altering the code and now assume it will return the attributes. You have to change more than that. -- Wayne A. King (ba994@torfree.net, wayne.king@ablelink.org, waking@idirect.com, Wayne_A_King@compuserve.com) .