en:docs:macrolib:getmode

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

@GetMode

Version

IBM 5150 and higher

Brief

Get the current video mode and page

BIOS Interrupt

Family API

Syntax

@GetMode

Parameters

none

Return

  • AL = Mode
  • AH = Width in characters
  • BH = Page