Go to the first, previous, next, last section, table of contents.


ScreenRows

Syntax

#include <pc.h>

int ScreenRows(void);

Description

This function returns the number of rows of the text screen. It does so by looking at the byte at the absolute address 40:84h in the BIOS area. This method works only for video adapters with their own BIOS extensions, like EGA, VGA, SVGA etc.

Return Value

The number of rows.

Portability

not ANSI, not POSIX

Example

int rows = ScreenRows();


Go to the first, previous, next, last section, table of contents.