en:docs:bios:api:int10:03

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=03H

Version

IBM 5150 and higher

Brief

Get Cursor Position and Size

osFree Macro Library

Family API

Parameters

  • AH = 03h
  • BH = page

Return

  • CH = start scan line
  • CL = end scan line
  • DH = row (00h is top)
  • DL = column (00h is left)

Macro

INCLUDE BIOS.INC
 
@GetCur 0

Notes

  • a separate cursor is maintained for each of up to 8 display pages
  • many ROM BIOSes incorrectly return the default size for a color display (start 06h, end 07h) when a monochrome display is attached
  • With PhysTechSoft's PTS ROM-DOS the BH value is ignored on entry.