delorie.com/djgpp/doc/libc/libc_677.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No

Example

 
video_mode = ScreenMode();


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004