en:docs:bios:api:int10

This is an old revision of the document!


Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 10H

Video BIOS API. All registers saved on entry and restores on return.

BIOS Interrupts

Function Macro Description Version
00H @SetMode1) Set Video Mode 5150+
01H @SetCurSz2) Set Cursor Shape Size 5150+
02H @SetCurPos3) Set Cursor Position 5150+
03H @GetCur4) Get Current Cursor Position 5150+
04H READ LIGHT PEN POSITION 5150+
05H @SetPage5) Set Active Video Page 5150+
06H @ScrollUp6) Scroll Screen Area Up 5150+
07H @ScrollDn7) Scroll Screen Area Down 5150+
08H @GetChAtr8) Get Character Attribute 5150+
09H @PutChAtr9) Print Char With Attribute 5150+
0AH @PutCh10) Print Char 5150+
0BH @SetColor11)/@SetPalet12) Set Palette/Color 5150+
0CH @SetDot13) Draw Pixel 5150+
0DH @GetDot14) Get Pixel 5150+
0EH @WrtTTY15) Write char in TTY mode 5150+
0FH @VideoState16)/@GetMode17) Get Current Video Mode/State 5150+
1) , 2) , 3) , 4) , 5) , 8) , 9) , 10) , 11) , 12) , 17)
Defined in MASM 5.x
6) , 7) , 13) , 14) , 15) , 16)
osFree extension