TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: HUGH NOLAND
from: WIM KONING
date: 1997-11-26 13:47:00
subject: Pascal`s TextColor

Op Dinsdag 25 november 1997 schreef Hugh Noland dit aan Wim Koning...
He, Hugh..
 WK>> Sorry, about the Subject, but, who can I put that in Assembler.
 WK>> I'm a beginner in Asm, so I don't know it exactly.
 WK>> Ehmzz, I saw with Int 10.. a interupt for changing background/border
 >> color, but that isn't what I want.
 WK>> Must I be with the attrib of character?
 HN> You can control the text color with int 10h, function 9.
 Ehmzz.. I look in INTER55.* for Function 9 int 10:
INT 10 - VIDEO - WRITE CHARACTER AND ATTRIBUTE AT CURSOR POSITION
        AH = 09h
        AL = character to display
        BH = page number (00h to number of pages - 1) (see #0009)
            background color in 256-color graphics modes (ET4000)
        BL = attribute (text mode) or color (graphics mode)
            if bit 7 set in <256-color graphics mode, character is XOR'ed
              onto screen
        CX = number of times to write character
Return: nothing
Notes:  all characters are displayed, including CR, LF, and BS
        replication count in CX may produce an unpredictable result in 
graphics
          modes if it is greater than the number of positions remaining in 
he
          current row
SeeAlso: AH=08h,AH=0Ah,AH=4Bh"GRAFIX",INT 17/AH=60h,INT 1F"SYSTEM DATA"
SeeAlso: INT 43"VIDEO DATA",INT 44"VIDEO DATA"
?¨?¨? That's not it, is it? I don't know, I don't understand it..
 Yours Sincerely,
   úúúÄWimÄúúú
    *ProgInc*
... ----> If you cut here, you'll ruin your monitor. <----
---
---------------
* Origin: Democratie is de dictatuur van de meerderheid (2:282/1.40)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.