INT10H, INT12H, mouse mask

zhaozj2021-02-08  258

Your current location: Compilation Studio Home -> Data Sharing:

The following information is for reference only:

-------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

INT 10H: INT 10H, 12H, mouse mask and other materials

INT 10HINOUTAH = 00 Set display mode AH = 0 Al = Video mode ah = 01 Set cursor type AH = 1 CH = start scan line cl = end scan line AH = 02 Setting cursor position AH = 2 BH = Display Page DH = ROW DL = COLAX = 0AH = 03 Reading cursor position AH = 3 bh = display pageax = 0 ch = start scan line cl = End scan line DH = ROW DL = COLAH = 04 Reading Globs position AH = 4AH = PEN TRIGGER SIGNAL BX = Pixel C1OLUMN CH = Pixel Row DH = Character Row DL = Character Coloumn AH = 05 Specify Display Page AH ​​= 5 Al = Page Number AH = 06 Initialization Window, Up Window AH = 6 Al = Lines To Scroll Up BH = Blank Line Attribute CH = UPPER ROW CL = Left Column DH = LOWER ROW DL = Right Column AH = 07 Initialization Window, Window Window AH = 7 Al = Lines To Scroll Down BH = Blank Line Attribute CH = Upper Row Cl = Left Column DH = LOWER ROW DL = Right Column AH = 08 Read Character and Properties AH = 8 BH = Page Number AH = 09 Writing AL = CHARACTERAH = 09 Writing Character and Properties AH = 9 Al = Character BH = Page Number BL = Attribute Cx = Number of Character To Write ah = 0A Current Cursor Writing AH = 0AH Al = CHARACTER BH = Page Number CX = Number of Character To Write AH = 0B Setup Panel AH = 0BH BH = Palette ID BL = Color ID AH = 0C Write Pixel AH = 0CH Al = Color AH = 0D Read Pixel AH = 0DH BH = Page Number CX = Pixel Column Dx = Pixel Row Al = Colorah = 0E Power Paper Writing Write ah = 0EH Al = CHARACTER BH = Page Number BL = Foreground Color AH = 0F Take Current Display Mode AH = 0FH AH = Columns Al = Display Modes BH = Active Page Number AH = 10 Set Tuning Board register AH = 10h Al = Command BH = Value BL = Palette REG DX = Offset of pointer to 17-byte table es = segment of pointer to 17-byte table bh = valueah = 11 character generator AH = 11h al = Command BP =

Offset of pointer to user table es = segment of pointer to user table ah = 12 change selection AH = 12h BL = Command AH = 13 write string AH = 13h al = mode BH = Page Number BL = Attribute Cx = Character Count DX = START CURSOR POSITION BP = Offset Of Pointer To String ES = Segment Of Pointer To String AH = 1A Read Display Code AH = 1AH Al = 0 Al = Status BH = Alternate Disp Code BL = Active Disp Code AH = 1A Write Display Code AH = 1AH al = 1 bh = alternate disp code bl = active disp code al = statusAH = 1B return status ah = 1BH bx = implementation type di = offset of pointer to empty buffer es = segment of pointer to empty buffer al = status di = offset of pointer to video state buffer es = segment of pointer to video state bufferAH = 1C returns to save / restore ah = 1CH al = 0 cx = request states al = status bx = number 64-byte blocks for stateAH = 1C saved state ah = 1CH al = 1 bx = offset of pointer to video state buffer cx = request states es = segment of pointer to video state buffer al = statusAH = 1C recovery state ah = 1CH al = 2 bx = offset of pointer to video state buffer cx = request States es = segment of pointer to video state buffer al = statusah = feve Frequency buffer ah = 0FEH di = offset of physical video buffer es = segment of physical video buffer di = offset of logical video buffer es = segment of logical video bufferAH = FF updating the video buffer ah = 0FFH cx = number of characters modified di = Offset to first character modified es = segment of logical video bufferint 12h: int 10h, 12h, mouse mask and other materials

Take a memory size service AX = Memory Size

Mouse screen and cursor mask: int 10h, 12h, mouse mask and other materials

The effect of screen and cursor mask:

Screen Mask Bitcursor Mask BitResulting Screen Bit00000110Unchanged11Ivered screen character data:

Bit NumberDescriptionComments15Blink Control1 = Blinking Character12-14Background Color 11intensity Control1 = High Intensity8-10Foreground Color 0-7characteraSciii Value

Accelerated curve:

Part of table offset (decimal) Length (in bytes) DescriptionCurve lengths01number of counts / factors in first curve11number of counts / factors in second curve21number of counts / factors in third curve31number of counts / factors in fourth curveMouse counts432array of counts for first curve3632array of counts for second curve6832array of counts for third curve10032array of counts for fourth curveScale Factors13232array of scale factors for first curve16432array of scale factors for second curve19632array of scale factors for third curve22832array of scale factors for fourth curveCurve names26016ASCII string for first curve27616ASCII string for second curve29216ASCII string for third Curve30816ASCII String for Fourth Curve

INT 10H, 12H, mouse mask and other materials

-------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Copyright (C) 1999-2000 Compilation Studio Contact Us: BitStream@263.net

转载请注明原文地址:https://www.9cbs.com/read-1639.html

New Post(0)