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)/@SetCsrSize3) Set Cursor Shape Size 5150+
02H @SetCurPos4)/@SetCsrPos5) Set Cursor Position 5150+
03H @GetCur6)/@GetCsr7) Get Current Cursor Position 5150+
04H Read Light Pen position 5150+
05H @SetPage8) Set Active Video Page 5150+
06H @ScrollUp9) Scroll Screen Area Up 5150+
07H @ScrollDn10) Scroll Screen Area Down 5150+
08H @GetChAtr11)/@GetCharAtr12) Get Character Attribute 5150+
09H @PutChAtr13)/@PutCharAtr14) Print Char With Attribute 5150+
0AH @PutCh15)/@PutChar16) Print Char 5150+
0BH @SetColor17)/@SetPalet18)/@SetPalette19) Set Palette/Color 5150+
0CH @SetDot20) Draw Pixel 5150+
0DH @GetDot21) Get Pixel 5150+
0EH @WrtTTY22) Write char in TTY mode 5150+
0FH @VideoState23)/@GetMode24) Get Current Video Mode/State 5150+
IBM PC BIOS API
Video I/O INT 10H: 00H, 01H, 02H, 03H, 05H, 06H, 07H, 08H, 09H, 0AH, 0BH, 0CH, 0DH, 0EH, 0FH
Hardware info INT 11H, INT 12H
Serial I/O INT 14H: 00H, 01H, 02H, 03H
Tape I/O INT 15H: 00H, 01H, 02H, 03H
Keyboard I/O INT 16H: 00H, 01H, 02H
Printer I/O INT 17H: 00H, 01H, 02H
Disk I/O INT 13H: 00H, 01H, 02H, 03H, 04H, 05H
Date and Time INT 1AH: 00H, 01H
2022/03/13 05:54 · prokushev · 0 Comments
1) , 2) , 4) , 6) , 8) , 11) , 13) , 15) , 17) , 18) , 24)
Defined in MASM 5.x
3) , 5) , 7) , 12) , 14) , 16) , 19)
Defined in MASM 6.x
9) , 10) , 20) , 21) , 22) , 23)
osFree extension