home *** CD-ROM | disk | FTP | other *** search
- Function GetVideoMode : Byte;
- { This function will place a Turbo Pascal variable directly }
- { into the Video Display Data Area where the current video }
- { mode is stored. }
-
- Var
- Crt_Mode : Byte Absolute $40:$49;
- { Location in VDDA where mode is kept }
-
- Begin
- GetVideoMode := Crt_Mode;
- { Assign this value to function name }
- End;