🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: brightwhite background text?

#610
From: Mark Hall
Date: Sun, 05 Apr 1992 13:02
34 lines
1982 bytes
In <1992Mar30.081431.14535@actrix.gen.nz> dvincent@actrix.gen.nz (David Vincent) writes:

>can anyone tell me how to get some text on screen that has a
>*brightwhite* background and any other colour foreground?

Yeah.  It's pretty simple.  Somewhere in memory (I dont' have my manuals at
the moment) is a byte with a bit that controls whether the BLINK bit in the
attribute bytes is actually blinking or background high intensity.  Once you
have set this bit, you can program all 16 colors foreground and background
simultaneously, although blinking has been disabled.  Does this make sense?

Here's what the attribute byte breaks down to:

	BL r g b I r g b
	7  6 5 4 3 2 1 0
	bit numbers ^^^^
	BL is BLInking (or hi-intensity if blink is disabled)
	r is red
	g is green
	b is blue
	I is high intensity.

hope this helps.

Mark Hall

--
| I'nt: data@{bucs1,buhub,heartland}.bradley.edu, al632@cleveland.freenet.edu |
|-----------------------------------------------------------------------------|
| F'net : 1:232/28 1:2250/9  (fname.lname@f<node>.n<net>.z<zone>.fidonet.org) |
|-----------------------------------------------------------------------------|
| "He sees you when you're sleeping, he knows when you're awake, but Captain, |
| it makes no sense!"    "But Spock, with Santa, ALL things are possible!"    |
| Kirk and Spock...Hallmark Greeting Cards                                    |
Technical Details
Message-ID: <data.702478961@cs1.bradley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!cs1!data
References: <1992Mar30.081431.14535@actrix.gen.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!cs1!data
From: data@cs1.bradley.edu (Mark Hall)
Newsgroups: comp.os.msdos.programmer
Subject: Re: brightwhite background text?
Message-ID: <data.702478961@cs1.bradley.edu>
Date: 5 Apr 92 13:02:41 GMT
Article-I.D.: cs1.data.702478961
References: <1992Mar30.081431.14535@actrix.gen.nz>
Sender: news@bradley.bradley.edu
Organization: Digilog Technologies : Music/Midi software that works for you.
Lines: 34
Nntp-Posting-Host: cs1.bradley.edu