Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!rutgers!orstcs!jacobs!winters
From: winters@jacobs.cs.orst.edu (stafford winters)
Newsgroups: comp.sys.ibm.pc
Subject: Re: How to turn off cursor?
Message-ID: <1272@orstcs.CS.ORST.EDU>
Date: Sat, 28-Nov-87 04:29:08 EST
Article-I.D.: orstcs.1272
Posted: Sat Nov 28 04:29:08 1987
Date-Received: Mon, 30-Nov-87 02:43:07 EST
References: <2065@killer.UUCP> <1271@orstcs.CS.ORST.EDU>
Sender: netnews@orstcs.CS.ORST.EDU
Reply-To: winters@jacobs.UUCP (stafford winters)
Organization: Oregon State Universtiy - CS - Corvallis, Oregon
Lines: 53

I found this in a file called interrup.arc on one of the BBS's in PDX.  I
believe it was originally posted in one of the newsgroups some time back.
So, credit goes to someone else.

-----------------------------------------------------------
INT 10 - VIDEO - SET VIDEO MODE
        AH = 0
        AL =
                0 = 40x25 B&W
                1 = 40x25 COLOR
                2 = 80x25 BW
                3 = 80x25 COLOR
                4 = 320x200 GRAPHICS, 4 COLOR
                5 = 320x200 GRAPHICS, 4 GREY
                6 = 640x200 GRAPHICS, B&W
                7 = MONOCHROME
                8 = 160x200 GRAPHICS, 16 COLOR (PCjr/Tandy 1000)
                9 = 320x200 GRAPHICS, 16 COLOR (PCjr/Tandy 1000)
                A = 640x200 GRAPHICS, 4 COLOR (PCjr/Tandy 1000)
                D = 320x200 graphics, 16 color (EGA)
                E = 640x200 graphics, 16 color (EGA)
                F = 640x350 graphics, monochrome (EGA)
               10 = 640x350 graphics, 4 or 16 color (EGA)
-----------------------------------------------------------
INT 10 - VIDEO - SET CURSOR CHARACTERISTICS
        AH = 1
        CH =
                bits 5-6 = blink attribute
                        (00=normal, 01=invis., 10 = slow, 11=fast)
                bits 0-4 = start line for cursor in char. cell
        CL =
                bits 0-4 = end line for cursor in char. cell
-----------------------------------------------------------
INT 10 - VIDEO - SET CURSOR POSITION
        AH = 2
        DH,DL = ROW,COLUMN - 0,0 = UPPER LEFT
        BH = PAGE NO. - 0 = GRAPHICS
-----------------------------------------------------------
INT 10 - VIDEO - READ CURSOR POSITION
        AH = 3
        BH = PAGE NO. - 0 = GRAPHICS
        Return: DH,DL = ROW,COLUMN
                CH,CL = CURSOR MODE,CURRENT SET
-----------------------------------------------------------
INT 10 - VIDEO - READ LIGHT PEN POSITION
        AH = 4
        Return: AH = 0: light pen switch not activated
                AH = 1: light pen values in registers
                DH = row of current position
                DL = column of current position
                CH = raster line (0-199)
                BX = pixel column (0-319 or 0-639)
-----------------------------------------------------------