🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2898

Re: How does BIOS define character attributes?

#2898
From: Bill de Beaubien
Date: Fri, 02 Nov 1990 13:27
21 lines
1296 bytes
In article <6558@uceng.UC.EDU> dsims@uceng.UC.EDU (david l sims) writes:
>I want to use BIOS call 10H, function 09H (write attribute/character at
>current cursor position). Register BL is supposed to hold the
>attribute of the character that I want to write. However, I've searched
>my BIOS manual high and low, and I can't find anything describing
>this "character attribute."
>
>Does anyone know how this character attribute is defined?

The attribute byte is defined as follows:
bit 7 - blink, though can be background intensity if you're on an EGA or
		better, and use int 10h, service 3, subservice 3 to disable the
		blinking attribute.
bits 4-6 - background color
bit 3	 - foreground intensity
bits 0-2 - foreground color

Bill

-- 
Bill de Beaubien / wjb@moscom.com 
Technical Details
Message-ID: <2352@moscom.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!midway!linac!uwm.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!ee.rochester.edu!moscom!wjb
References: <6558@uceng.UC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!midway!linac!uwm.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!ee.rochester.edu!moscom!wjb
From: wjb@moscom.UUCP (Bill de Beaubien)
Newsgroups: comp.os.msdos.programmer
Subject: Re: How does BIOS define character attributes?
Keywords: BIOS character attributes
Message-ID: <2352@moscom.UUCP>
Date: 2 Nov 90 13:27:51 GMT
References: <6558@uceng.UC.EDU>
Reply-To: wjb@moscom.UUCP (Bill de Beaubien)
Organization: Moscom Corp., E. Rochester, NY
Lines: 21