Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site mhuxi.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxt!mhuxv!mhuxh!mhuxi!ggl From: ggl@mhuxi.UUCP (LASKARIS) Newsgroups: net.micro.pc Subject: Re: int10h help needed Message-ID: <379@mhuxi.UUCP> Date: Wed, 11-Dec-85 08:39:51 EST Article-I.D.: mhuxi.379 Posted: Wed Dec 11 08:39:51 1985 Date-Received: Thu, 12-Dec-85 05:46:04 EST References: <1216@pucc-i> Organization: AT&T Bell Laboratories, Murray Hill Lines: 32 > Would anyone please tell me what to expect in AL after INT 10H for MS-DOS, > IBM PC-like machine, with 0FH in AL on entry? Trying to get the video > status. For my machine it is 7 which among other things means that the > video memory segment is at 0B000h. Thank you. > > D.K. {decvax|harpo|ihnp4|inuxc|seismo|ucbvax}!pur-ee!pucc-i!ade The listing of IBM BIOS in the PC `Technical Reference' (April '84) has notes under int 10: (AH) = 15 CURRENT VIDEO STATE RETURNS THE CURRENT VIDEO STATE (AL) = MODE CURRENTLY SET ( SEE AH=0 FOR EXPLANATION) (AH) = NUMBER OF CHARACTER COLUMNS ON SCREEN (BH) = CURRENT ACTIVE DISPLAY PAGE and, at AH=0, we have: ( SET MODE (AL) CONTAINS MODE VALUE (AL)=0 40X25 BW (POWER ON DEFAULT) (AL)=1 40X25 COLOR (AL)=2 80X25 BW (AL)=3 80X25 COLOR GRAPHICS MODES (AL)=4 320X200 COLOR (AL)=5 320X200 BW (AL)=6 640X200 BW CRT MODE=7 80X25 B&W CARD (USED INTERNAL TO VIDEO ONLY) *** NOTE BW MODES OPERATE SAME AS COLOR MODES, BUT COLOR BURST IS NOT ENABLED Hope this helps. David Laurance mhuxi!ggl