Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!hao!oddjob!mimsy!aplcen!jhunix!ins_bjjb From: ins_bjjb@jhunix.UUCP (Jared J Brennan) Newsgroups: comp.sys.ibm.pc Subject: Re: EGA Text question (bug?) Message-ID: <5260@jhunix.UUCP> Date: Mon, 14-Sep-87 10:09:29 EDT Article-I.D.: jhunix.5260 Posted: Mon Sep 14 10:09:29 1987 Date-Received: Sat, 19-Sep-87 10:46:35 EDT References: <45900073@uxe.cso.uiuc.edu> Reply-To: ins_bjjb@jhunix.UUCP (Jared J Brennan) Organization: Johns Hopkins Univ. Computing Ctr. Lines: 20 Keywords: EGA string output Summary: use AH=13h In article <45900073@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: >I tried today to write characters to an EGA screen today while in mode 16 >(350x640x16 colors graphics) using the bios INT 010H, AH = 9, which is >write attribute/character. This works fine in mode 3 (24x80 text) but >in mode 16 it writes the character correctly, but refuses to do anything >with the color attributes. It writes white on black. Does anyone know if >it can be made to write in an arbitrary color? I have a graphics drawing >routine to do it, but using the BIOS should work ... or should it? >Doug McDonald The EGA-specific modes seem to require using the EGA BIOS INT 010H, AH=01?H functions. AH=13H outputs a string with attribute. I don't think there's an equivalent character output function in the EGA BIOS. -- "Disclaimers? We got disclaimers?" Jared J. Brennan BITNET: INS_BJJB@JHUVMS, INS_BJJB@JHUNIX ARPA: ins_bjjb%jhunix@hopkins.ARPA UUCP: {allegra!hopkins, seismo!umcp-cs, ihnp4!whuxcc} !jhunix!ins_bjjb