⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vesa编程介绍.htm

📁 vesa编程指南
💻 HTM
📖 第 1 页 / 共 3 页
字号:
face="Times New Roman">VGA</FONT><FONT lang=ZH-CN 
face=宋体>模式号有7位,目前范围从</FONT><FONT face="Times New Roman">00h</FONT><FONT 
lang=ZH-CN face=宋体>到</FONT><FONT face="Times New Roman">13h</FONT><FONT 
lang=ZH-CN face=宋体>。</FONT><FONT face="Times New Roman">OEM</FONT><FONT 
lang=ZH-CN face=宋体>可以在</FONT><FONT face="Times New Roman">14h-7Fh</FONT><FONT 
lang=ZH-CN face=宋体>范围内定义扩展显示模式。</FONT><FONT 
face="Times New Roman">80h-FFh</FONT><FONT lang=ZH-CN 
face=宋体>范围不能使用,因为</FONT><FONT face="Times New Roman">VGA BIOS</FONT><FONT 
lang=ZH-CN face=宋体>函数</FONT><FONT face="Times New Roman">00h</FONT><FONT 
lang=ZH-CN face=宋体>(设置显示方式)将第七位作为判断是否清除显存的标志。</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>由于模式号7位的限制,</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN face=宋体>显示模式号有</FONT><FONT 
face="Times New Roman">15</FONT><FONT lang=ZH-CN face=宋体>位宽。其数值通过</FONT><FONT 
face="Times New Roman">BX</FONT><FONT lang=ZH-CN face=宋体>寄存器传送到</FONT><FONT 
face="Times New Roman">VESA BIOS</FONT><FONT lang=ZH-CN face=宋体>函数</FONT><FONT 
face="Times New Roman">02h</FONT><FONT lang=ZH-CN face=宋体>(设置超级</FONT><FONT 
face="Times New Roman">VGA</FONT><FONT lang=ZH-CN face=宋体>模式)来初始化超级</FONT><FONT 
face="Times New Roman">VGA</FONT><FONT lang=ZH-CN face=宋体>模式。</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">VESA</FONT><FONT lang=ZH-CN 
face=宋体>模式号的格式如下:</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">D0-D8 </FONT><FONT lang=ZH-CN 
face=宋体>模式号</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>如果</FONT><FONT 
face="Times New Roman">D8</FONT><FONT lang=ZH-CN face=宋体>为</FONT><FONT 
face="Times New Roman">0</FONT><FONT lang=ZH-CN face=宋体> 不是</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN 
face=宋体>定义的模式</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>如果</FONT><FONT 
face="Times New Roman">D8</FONT><FONT lang=ZH-CN face=宋体>为</FONT><FONT 
face="Times New Roman">1</FONT><FONT lang=ZH-CN face=宋体> 这是</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN 
face=宋体>定义的模式</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">D9-D14 VESA</FONT><FONT lang=ZH-CN 
face=宋体>为今后的扩展而保留(为</FONT><FONT face="Times New Roman">0</FONT><FONT lang=ZH-CN 
face=宋体>)</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">D15 </FONT><FONT lang=ZH-CN 
face=宋体>保留(为</FONT><FONT face="Times New Roman">0</FONT><FONT lang=ZH-CN 
face=宋体>)</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>因此,</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN face=宋体>模式号从</FONT><FONT 
face="Times New Roman">100h</FONT><FONT lang=ZH-CN 
face=宋体>开始。这种编号方式实现地将标准</FONT><FONT face="Times New Roman">VGA</FONT><FONT 
lang=ZH-CN face=宋体>模式号和</FONT><FONT face="Times New Roman">OEM</FONT><FONT 
lang=ZH-CN face=宋体>模式号做为</FONT><FONT face="Times New Roman">VESA</FONT><FONT 
lang=ZH-CN face=宋体>模式号的一部分。这意味着普通的</FONT><FONT 
face="Times New Roman">VGA</FONT><FONT lang=ZH-CN face=宋体>显示模式也能被</FONT><FONT 
face="Times New Roman">VESA BIOS</FONT><FONT lang=ZH-CN face=宋体>函数</FONT><FONT 
face="Times New Roman">02h</FONT><FONT lang=ZH-CN face=宋体>定义,即将模式号置入</FONT><FONT 
face="Times New Roman">BL</FONT><FONT lang=ZH-CN face=宋体>,而将高位的</FONT><FONT 
face="Times New Roman">BH</FONT><FONT lang=ZH-CN face=宋体>清除。</FONT><FONT 
face="Times New Roman">OEM</FONT><FONT lang=ZH-CN 
face=宋体>定义模式也可同样地初始化。</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>例外,</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN face=宋体>定义了</FONT><FONT 
face="Times New Roman">7</FONT><FONT lang=ZH-CN face=宋体>位的模式号,</FONT><FONT 
face="Times New Roman">6Ah</FONT><FONT lang=ZH-CN face=宋体>,来表示800</FONT><FONT 
face="Times New Roman">x</FONT><FONT lang=ZH-CN 
face=宋体>600,16色,4平面的显示模式。相应的15位模式号为</FONT><FONT 
face="Times New Roman">102h</FONT><FONT lang=ZH-CN face=宋体>。</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT lang=ZH-CN face=宋体>以下是已经定义了的</FONT><FONT 
face="Times New Roman">VESA</FONT><FONT lang=ZH-CN 
face=宋体>模式号:</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
lang=ZH-CN face=宋体 size=2>图象 文本</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
lang=ZH-CN face=宋体 size=2>15位模式号 7位模式号 分辨率 色彩 15位模式号 7位模式号 列数 行数</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%">------------------------------------------------------------------------------------------</P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
lang=ZH-CN face=宋体 size=3></FONT><FONT face="Times New Roman" size=2>100h --- 
640x400 256 108h --- 80 60</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>101h --- 640x480 256</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>109h --- 132 25</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>102h 6Ah 800x600 16 10Ah --- 132 43</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>103h --- 800x600 256 10Bh --- 132 50</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>10Ch --- 132 60</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>104h --- 1024x768 16</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>105h --- 1024x768 256</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>106h --- 1280x1024 16</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>107h --- 1280x1024 256</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>10Dh --- 320x200 32K 1:5:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>10Eh --- 320x200 64k 6:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>10Fh --- 320x200 16.8M 8:8:8</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>110h --- 640x480 32K 1:5:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>111h --- 640x480 64K 6:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>112h --- 640x480 16.5M 8:8:8</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>113h --- 800x600 32K 1:5:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>114h --- 800x600 64K 6:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>115h --- 800x600 16.5M 8:8:8</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>116h --- 1024x768 32K 1:5:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>117h --- 1024x768 64K 6:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>118h --- 1024x768 16.5M 8:8:8</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>119h --- 1280x1024 32K 1:5:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>11Ah --- 1280x1024 64K 6:5:5</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>11Bh --- 1280x1024 16.5M 8:8:8</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
face="Times New Roman" size=2>11Ch --- 1600x1200 256</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">11Dh --- 1600x1200 32K </FONT><FONT 
lang=ZH-CN face=宋体>未检验</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2><FONT face="Times New Roman">11Eh --- 1600x1200 64K </FONT><FONT 
lang=ZH-CN face=宋体>未检验</FONT></FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"> </P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
lang=ZH-CN face=宋体 size=2>&lt;End&gt;</FONT></P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%">------------------------------------------------------------------------------------------</P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"><FONT 
size=2>&nbsp;相关章节:&nbsp; (1): 标准<FONT face="Times New Roman">VGA 
BIOS</FONT>及超级<FONT 
face="Times New Roman">VGA</FONT>模式号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
href="http://shaker.myrice.com/document/vesa-program-introduce/vesa-introduce-2.htm"><FONT 
face="Times New Roman">(2)</FONT>:CPU<FONT lang=ZH-CN>显存控制</FONT></A><FONT 
lang=ZH-CN>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT lang=ZH-CN 
face="Times New Roman"><A 
href="http://shaker.myrice.com/document/vesa-program-introduce/vesa-introduce-3.htm">(3)</A></FONT><A 
href="http://shaker.myrice.com/document/vesa-program-introduce/vesa-introduce-3.htm">:<FONT 
lang=ZH-CN>扩展的VGA BIOS</FONT></A></FONT>&nbsp;</P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
lang=ZH-CN face="Times New Roman" size=2>&nbsp;&nbsp;&nbsp;&nbsp; <A 
href="http://shaker.myrice.com/document/vesa-program-introduce/vesa-introduce-4.htm">(4): 
</A></FONT><A 
href="http://shaker.myrice.com/document/vesa-program-introduce/vesa-introduce-4.htm"><FONT 
lang=ZH-CN size=2>扩展的VGA BIOS</FONT><FONT lang=ZH-CN face="Times New Roman" 
size=2>(</FONT><FONT lang=ZH-CN size=2>续</FONT><FONT lang=ZH-CN 
face="Times New Roman" size=2>)</FONT><FONT lang=ZH-CN size=2>及应用举例</FONT></A> 
</P>
<P 
style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%">==========================================================================================</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -