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


ScreenMode

Syntax

#include <pc.h>

int  ScreenMode(void);

Description

This function reports the current video mode as known to the system BIOS. It does so by accessing the byte at absolute address 40:49h.

Return Value

The video mode.

Portability

not ANSI, not POSIX

Example

video_mode = ScreenMode();


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