en:docs:bios:api:int10:0b

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, AH=0BH

Version

IBM 5150 and higher

Brief

Set background color/palette

osFree Macro Library

Family API

No equivalent

Parameters

  • AH = 0Bh
  • BH = 00h
    • BL = background/border color (border only in text modes)
  • BH = 01h
    • BL = palette ID
      • 00h background, green, red, and brown/yellow
      • 01h background, cyan, magenta, and white

Return

Macro

INCLUDE BIOS.INC
 
@SetColor 2
@SetPalet 1

Notes