277 lines
15 KiB
HTML
277 lines
15 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 10/AX=4F02h
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 10/AX=4F02h - VESA SuperVGA BIOS - SET SuperVGA VIDEO MODE -
|
|
AX = 4F02h
|
|
BX = new video mode (see #04082,#00083,#00084)
|
|
ES:DI - (VBE 3.0+) CRTC information block, bit mode bit 11 set
|
|
(see #04083)
|
|
Return: AL = 4Fh if function supported
|
|
AH = status
|
|
00h successful
|
|
01h failed
|
|
Notes: bit 13 may only be set if the video mode is present in the list of
|
|
accelerated video modes returned by AX=4F00h
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 10/AX=4F02h
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-0274.htm" tppabs="http://www.ctyme.com/intr/rb-0274.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-0276.htm" tppabs="http://www.ctyme.com/intr/rb-0276.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<h3><font color=#C00040>VESA SuperVGA BIOS - SET SuperVGA VIDEO MODE</font></h3>
|
|
<PRE>
|
|
AX = 4F02h
|
|
BX = new video mode <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #04082,#00083,#00084)
|
|
ES:DI -> (VBE 3.0+) CRTC information block, bit mode bit 11 set
|
|
<a href="rb-0275.htm#Table4083" tppabs="http://www.ctyme.com/intr/rb-0275.htm#Table4083">(see #04083)</a><br>
|
|
<p><b>Return:</b><br>AL = 4Fh if function supported
|
|
AH = status
|
|
00h successful
|
|
01h failed
|
|
</PRE>
|
|
<p><b>Notes:</b>
|
|
Bit 13 may only be set if the video mode is present in the list of
|
|
accelerated video modes returned by AX=4F00h.
|
|
If the DAC supports both 8 bits per primary color and 6 bits, it will
|
|
be reset to 6 bits after a mode set; use AX=4F08h to restore 8 bits
|
|
<p><b>See Also:</b>
|
|
<a href="rb-0269.htm" tppabs="http://www.ctyme.com/intr/rb-0269.htm">AX=4E03h</a> - <a href="rb-0273.htm" tppabs="http://www.ctyme.com/intr/rb-0273.htm">AX=4F00h</a> - <a href="rb-0274.htm" tppabs="http://www.ctyme.com/intr/rb-0274.htm">AX=4F01h</a> - <a href="rb-0276.htm" tppabs="http://www.ctyme.com/intr/rb-0276.htm">AX=4F03h</a> -
|
|
<PRE>
|
|
<p>
|
|
<a name=table83></a>
|
|
(Table 00083)
|
|
Values for VESA video mode:
|
|
00h-FFh OEM video modes <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #00010 at AH=00h)
|
|
100h 640x400x256
|
|
101h 640x480x256
|
|
102h 800x600x16
|
|
103h 800x600x256
|
|
104h 1024x768x16
|
|
105h 1024x768x256
|
|
106h 1280x1024x16
|
|
107h 1280x1024x256
|
|
108h 80x60 text
|
|
109h 132x25 text
|
|
10Ah 132x43 text
|
|
10Bh 132x50 text
|
|
10Ch 132x60 text
|
|
---VBE v1.2+ ---
|
|
10Dh 320x200x32K
|
|
10Eh 320x200x64K
|
|
10Fh 320x200x16M
|
|
110h 640x480x32K
|
|
111h 640x480x64K
|
|
112h 640x480x16M
|
|
113h 800x600x32K
|
|
114h 800x600x64K
|
|
115h 800x600x16M
|
|
116h 1024x768x32K
|
|
117h 1024x768x64K
|
|
118h 1024x768x16M
|
|
119h 1280x1024x32K (1:5:5:5)
|
|
11Ah 1280x1024x64K (5:6:5)
|
|
11Bh 1280x1024x16M
|
|
---VBE 2.0+ ---
|
|
120h 1600x1200x256
|
|
121h 1600x1200x32K
|
|
122h 1600x1200x64K
|
|
81FFh special full-memory access mode
|
|
</PRE>
|
|
<p><b>Notes:</b>
|
|
The special mode 81FFh preserves the contents of the video memory and
|
|
gives access to all of the memory; VESA recommends that the special
|
|
mode be a packed-pixel mode. For VBE 2.0+, it is required that the
|
|
VBE implement the mode, but not place it in the list of available
|
|
modes (mode information for this mode can be queried directly,
|
|
however)..
|
|
As of VBE 2.0, VESA will no longer define video mode numbers
|
|
<p><b>See Also:</b>
|
|
#00010 - #00011 - #00084 - #00191
|
|
<PRE>
|
|
<p><b>Index:</b><br>Video modes;VESA
|
|
<p>
|
|
<a name=table84></a>
|
|
(Table 00084)
|
|
Values for S3 OEM video mode:
|
|
201h 640x480x256
|
|
202h 800x600x16
|
|
203h 800x600x256
|
|
204h 1024x768x16
|
|
205h 1024x768x256
|
|
206h 1280x960x16
|
|
207h 1152x864x256 (Diamond Stealth 64)
|
|
208h 1280x1024x16
|
|
209h 1152x864x32K
|
|
20Ah 1152x864x64K (Diamond Stealth 64)
|
|
20Bh 1152x864x4G
|
|
211h 640x480x64K (Diamond Stealth 24)
|
|
211h 640x400x4G (Diamond Stealth64 Video / Stealth64 Graphics)
|
|
212h 640x480x16M (Diamond Stealth 24)
|
|
301h 640x480x32K
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
These modes are only available on video cards using S3's VESA driver
|
|
<p><b>See Also:</b>
|
|
#00083 - #00191 - #00732 at INT 1A/AX=B102h
|
|
<PRE>
|
|
<p><b>Index:</b><br>Video modes;S3
|
|
<p>
|
|
Format of VESA VBE CRTC Information Block:
|
|
<a name=table4083></a>
|
|
Offset Size Description (Table 04083)
|
|
00h WORD total number of pixels horizontally
|
|
02h WORD horizontal sync start (in pixels)
|
|
04h WORD horizontal sync end (in pixels)
|
|
06h WORD total number of scan lines
|
|
08h WORD vertical sync start (in scan lines)
|
|
0Ah WORD vertical sync end (in scan lines)
|
|
0Ch BYTE flags <a href="rb-0275.htm#Table4084" tppabs="http://www.ctyme.com/intr/rb-0275.htm#Table4084">(see #04084)</a>
|
|
0Dh DWORD pixel clock, in Hz
|
|
11h WORD refresh rate, in 0.01 Hz units
|
|
this field MUST be set to pixel_clock / (HTotal * VTotal),
|
|
even though it may not actually be used by the VBE
|
|
implementation
|
|
13h 40 BYTEs reserved
|
|
<p>
|
|
Bitfields for VESA VBE CRTC Information Block flags:
|
|
<a name=table4084></a>
|
|
Bit(s) Description (Table 04084)
|
|
0 enable double scanning
|
|
1 enable interlacing
|
|
2 horizontal sync polarity (0 positive, 1 negative)
|
|
3 vertical sync polarity (0 positive, 1 negative)
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#04083
|
|
<p>
|
|
<b>Category: <a href="cat-046.htm" tppabs="http://www.ctyme.com/intr/cat-046.htm">
|
|
Video</a>
|
|
- <a href="int-10.htm" tppabs="http://www.ctyme.com/intr/int-10.htm">
|
|
Int 10h</a>
|
|
- <a href="alpha-v.htm" tppabs="http://www.ctyme.com/intr/alpha-v.htm">
|
|
V</a>
|
|
</b><p><p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-0274.htm" tppabs="http://www.ctyme.com/intr/rb-0274.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-0276.htm" tppabs="http://www.ctyme.com/intr/rb-0276.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
|
|
<!-- Bottom Link Start -->
|
|
|
|
<center>
|
|
|
|
<p><table border=1 bgcolor="#ffff99"><tr><td>
|
|
<table border=0 height=80>
|
|
<tr align=center><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">
|
|
<img src="tip.gif" tppabs="http://graphics.ctyme.com/gif/tip.gif" ALT="Sponsors" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">Shopping</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">
|
|
<img src="comment.gif" tppabs="http://graphics.ctyme.com/gif/comment.gif" ALT="Forum" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">Forum</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">
|
|
<img src="mail.gif" tppabs="http://graphics.ctyme.com/gif/mail.gif" ALT="email" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">EMail</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">
|
|
<img src="toc.gif" tppabs="http://graphics.ctyme.com/gif/toc.gif" ALT="Index" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">Index</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">
|
|
<img src="home.gif" tppabs="http://graphics.ctyme.com/gif/home.gif" ALT="Home" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">Home</a>
|
|
|
|
</td><td width="90">
|
|
|
|
<center>
|
|
<FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" tppabs="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST" traget="_blank">
|
|
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
|
|
<INPUT TYPE="hidden" NAME="business" VALUE="marc@perkel.com">
|
|
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.perkel.com">
|
|
<INPUT TYPE="hidden" NAME="item_name" VALUE="Donation To Support this Site">
|
|
<INPUT TYPE="hidden" NAME="no_intl" VALUE="1">
|
|
<INPUT TYPE="image" SRC="x-click-but7.gif" tppabs="http://images.paypal.com/images/x-click-but7.gif" vspace=9
|
|
NAME="submit" ALT="Make payments with PayPal - it's fast, free and secure!">
|
|
</FORM>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
|
|
|
|
<center>
|
|
<p>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/hosting/index.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/hosting/index.htm'" tppabs="http://www.ctyme.com/hosting/index.htm" target="_blank">
|
|
<img src="ctymehost.gif" tppabs="http://graphics.ctyme.com/gif/ctymehost.gif"
|
|
border=3 height=60 width=468></a>
|
|
<p>
|
|
<!-- Ad End --->
|
|
|
|
</center>
|
|
<FORM ACTION="http://service.bfast.com/bfast/click" target="_blank">
|
|
<INPUT TYPE="hidden" NAME="siteid" VALUE="30472466" >
|
|
<INPUT TYPE="hidden" NAME="bfpage" VALUE="horizontal">
|
|
<INPUT TYPE="hidden" NAME="bfmid" VALUE="27253343" >
|
|
<INPUT TYPE="hidden" NAME="num" VALUE="30">
|
|
|
|
<table bgcolor=white border=3><tr><td>
|
|
<table bgcolor=white border=0>
|
|
<tr><td>
|
|
<IMG SRC="serve-bfmid=27253343&siteid=30472466&bfpage=horizontal.gif" tppabs="http://service.bfast.com/bfast/serve?bfmid=27253343&siteid=30472466&bfpage=horizontal" BORDER="0" WIDTH="1" HEIGHT="1" align=right NOSAVE >
|
|
<center><b>Search the web with Google</b></center>
|
|
</td></tr><tr><td>
|
|
<TABLE cellpadding=0 cellspacing=5 bgcolor="#FFFFFF">
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr><tr><td>
|
|
<IMG SRC="affiliate_logo.gif" tppabs="http://www.google.com/affiliates/affiliate_logo.gif" border="0" ALT="Google" align="center">
|
|
<INPUT TYPE=text name=q size=30 maxlength=255 value="">
|
|
<INPUT type=submit name=sa VALUE="Go">
|
|
</td></tr>
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr></TABLE>
|
|
</td></tr></table>
|
|
</tr></td></table>
|
|
</FORM>
|
|
|
|
</center>
|
|
|
|
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
|
|
<!-- Bottom Link End -->
|
|
|
|
</BODY>
|
|
</HTML>
|