Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!mailrus!iuvax!bobmon
From: bobmon@iuvax.cs.indiana.edu (RAMontante)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Screen Border
Message-ID: <11433@iuvax.cs.indiana.edu>
Date: 9 Aug 88 14:32:35 GMT
References: <2359@ur-tut.UUCP> <11297@iuvax.cs.indiana.edu> <31013@clyde.ATT.COM>
Reply-To: bobmon@iuvax.UUCP (RAMontante)
Organization: malkaryotic
Lines: 19

feg@clyde.ATT.COM (Forrest Gehrke) writes:
+ I write:
+> The Heath/Zenith Users Group magazine, REMark, gives [a 4-page] assembler
+> program that controls the border color in its July 1988 issue.
+
+For IBM and clones, using CGA, 4 or 5 instructions will produce
+border color control of the screen.
+     
+mov  al,08      ; This value controls color.
+mov  dx,03d9
+out  dx,al
+int  20h
+nop

Sounds reasonable.  The REMark program lets one scroll through all the
choices and stop when a nice color shows up.  As usual, the user interface
dominates the actual intent of the program.
-- 
--    bob,mon			(bobmon@iuvax.cs.indiana.edu)
--    "Aristotle was not Belgian..."	- Wanda