en:docs:bios:api:int10:0e

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=0EH

Version

IBM 5150 and higher

Brief

Write in TTY mode

osFree Macro Library

Family API

Parameters

  • AH = 0Eh
  • AL = character to write
  • BH = page number
  • BL = foreground color (graphics modes only)

Return

Macro

INCLUDE BIOS.INC
 
@WrtTTY 'A', 0

Notes

  • characters 07h (BEL), 08h (BS), 0Ah (LF), and 0Dh (CR) are interpreted and do the expected things
  • IBM PC ROMs dated 1981/4/24 and 1981/10/19 require that BH be the same as the current active page
  • if the write causes the screen to scroll, BP is destroyed by BIOSes for which AH=06h destroys BP