亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vesavbe.c

?? UBOOT 源碼
?? C
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
	    }	}    else size = (size + 0xFFFFL) & 0xFFFF0000L;    return size;}ibool VBEAPI VBE_setVideoModeExt(int mode,VBE_CRTCInfo *crtc)/****************************************************************************** Function:     VBE_setVideoModeExt* Parameters:   mode    - SuperVGA video mode to set.* Returns:      True if the mode was set, false if not.** Description:  Attempts to set the specified video mode. This version*               includes support for the VBE/Core 3.0 refresh rate control*               mechanism.*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion < 0x200 && mode < 0x100) {	/* Some VBE implementations barf terribly if you try to set non-VBE	 * video modes with the VBE set mode call. VBE 2.0 implementations	 * must be able to handle this.	 */	regs.h.al = (ushort)mode;	regs.h.ah = 0;	PM_int86(0x10,&regs,&regs);	}    else {	if (state->VBEVersion < 0x300 && (mode & vbeRefreshCtrl))	    return false;	regs.x.ax = 0x4F02;	regs.x.bx = (ushort)mode;	if ((mode & vbeRefreshCtrl) && crtc)	    VBE_callESDI(&regs, crtc, sizeof(*crtc));	else	    PM_int86(0x10,&regs,&regs);	if (regs.x.ax != VBE_SUCCESS)	    return false;	}    return true;}ibool VBEAPI VBE_setVideoMode(int mode)/****************************************************************************** Function:     VBE_setVideoMode* Parameters:   mode    - SuperVGA video mode to set.* Returns:      True if the mode was set, false if not.** Description:  Attempts to set the specified video mode.*****************************************************************************/{    return VBE_setVideoModeExt(mode,NULL);}int VBEAPI VBE_getVideoMode(void)/****************************************************************************** Function:     VBE_getVideoMode* Returns:      Current video mode*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F03;    PM_int86(0x10,&regs,&regs);    if (regs.x.ax != VBE_SUCCESS)	return -1;    return regs.x.bx;}ibool VBEAPI VBE_setBank(int window,int bank)/****************************************************************************** Function:     VBE_setBank* Parameters:   window  - Window to set*               bank    - Bank number to set window to* Returns:      True on success, false on failure.*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F05;    regs.h.bh = 0;    regs.h.bl = window;    regs.x.dx = bank;    PM_int86(0x10,&regs,&regs);    return regs.x.ax == VBE_SUCCESS;}int VBEAPI VBE_getBank(int window)/****************************************************************************** Function:     VBE_setBank* Parameters:   window  - Window to read* Returns:      Bank number for the window (-1 on failure)*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F05;    regs.h.bh = 1;    regs.h.bl = window;    PM_int86(0x10,&regs,&regs);    if (regs.x.ax != VBE_SUCCESS)	return -1;    return regs.x.dx;}ibool VBEAPI VBE_setPixelsPerLine(int pixelsPerLine,int *newBytes,    int *newPixels,int *maxScanlines)/****************************************************************************** Function:     VBE_setPixelsPerLine* Parameters:   pixelsPerLine   - Pixels per scanline*               newBytes        - Storage for bytes per line value set*               newPixels       - Storage for pixels per line value set*               maxScanLines    - Storage for maximum number of scanlines* Returns:      True on success, false on failure** Description:  Sets the scanline length for the video mode to the specified*               number of pixels per scanline. If you need more granularity*               in TrueColor modes, use the VBE_setBytesPerLine routine*               (only valid for VBE 2.0).*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F06;    regs.h.bl = 0;    regs.x.cx = pixelsPerLine;    PM_int86(0x10,&regs,&regs);    *newBytes = regs.x.bx;    *newPixels = regs.x.cx;    *maxScanlines = regs.x.dx;    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_setBytesPerLine(int bytesPerLine,int *newBytes,    int *newPixels,int *maxScanlines)/****************************************************************************** Function:     VBE_setBytesPerLine* Parameters:   pixelsPerLine   - Pixels per scanline*               newBytes        - Storage for bytes per line value set*               newPixels       - Storage for pixels per line value set*               maxScanLines    - Storage for maximum number of scanlines* Returns:      True on success, false on failure** Description:  Sets the scanline length for the video mode to the specified*               number of bytes per scanline (valid for VBE 2.0 only).*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F06;    regs.h.bl = 2;    regs.x.cx = bytesPerLine;    PM_int86(0x10,&regs,&regs);    *newBytes = regs.x.bx;    *newPixels = regs.x.cx;    *maxScanlines = regs.x.dx;    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_getScanlineLength(int *bytesPerLine,int *pixelsPerLine,    int *maxScanlines)/****************************************************************************** Function:     VBE_getScanlineLength* Parameters:   bytesPerLine    - Storage for bytes per scanline*               pixelsPerLine   - Storage for pixels per scanline*               maxScanLines    - Storage for maximum number of scanlines* Returns:      True on success, false on failure*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F06;    regs.h.bl = 1;    PM_int86(0x10,&regs,&regs);    *bytesPerLine = regs.x.bx;    *pixelsPerLine = regs.x.cx;    *maxScanlines = regs.x.dx;    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_getMaxScanlineLength(int *maxBytes,int *maxPixels)/****************************************************************************** Function:     VBE_getMaxScanlineLength* Parameters:   maxBytes    - Maximum scanline width in bytes*               maxPixels   - Maximum scanline width in pixels* Returns:      True if successful, false if function failed*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F06;    regs.h.bl = 3;    PM_int86(0x10,&regs,&regs);    *maxBytes = regs.x.bx;    *maxPixels = regs.x.cx;    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_setDisplayStart(int x,int y,ibool waitVRT)/****************************************************************************** Function:     VBE_setDisplayStart* Parameters:   x,y     - Position of the first pixel to display*               waitVRT - True to wait for retrace, false if not* Returns:      True if function was successful.** Description:  Sets the new starting display position to implement*               hardware scrolling.*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F07;    if (waitVRT)	regs.x.bx = 0x80;    else regs.x.bx = 0x00;    regs.x.cx = x;    regs.x.dx = y;    PM_int86(0x10,&regs,&regs);    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_getDisplayStart(int *x,int *y)/****************************************************************************** Function:     VBE_getDisplayStart* Parameters:   x,y - Place to store starting address value* Returns:      True if function was successful.*****************************************************************************/{    RMREGS  regs;    regs.x.ax = 0x4F07;    regs.x.bx = 0x01;    PM_int86(0x10,&regs,&regs);    *x = regs.x.cx;    *y = regs.x.dx;    return regs.x.ax == VBE_SUCCESS;}ibool VBEAPI VBE_setDisplayStartAlt(ulong startAddr,ibool waitVRT)/****************************************************************************** Function:     VBE_setDisplayStartAlt* Parameters:   startAddr   - 32-bit starting address in display memory*               waitVRT     - True to wait for vertical retrace, false if not* Returns:      True if function was successful, false if not supported.** Description:  Sets the new starting display position to the specified*               32-bit display start address. Note that this function is*               different the the version above, since it takes a 32-bit*               byte offset in video memory as the starting address which*               gives the programmer maximum control over the stat address.**               NOTE: Requires VBE/Core 3.0*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion >= 0x300) {	regs.x.ax = 0x4F07;	regs.x.bx = waitVRT ? 0x82 : 0x02;	regs.e.ecx = startAddr;	PM_int86(0x10,&regs,&regs);	return regs.x.ax == VBE_SUCCESS;	}    return false;}int VBEAPI VBE_getDisplayStartStatus(void)/****************************************************************************** Function:     VBE_getDisplayStartStatus* Returns:      0 if last flip not occurred, 1 if already flipped*               -1 if not supported** Description:  Returns the status of the previous display start request.*               If this function is supported the programmer can implement*               hardware triple buffering using this function.**               NOTE: Requires VBE/Core 3.0*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion >= 0x300) {	regs.x.ax = 0x4F07;	regs.x.bx = 0x0004;	PM_int86(0x10,&regs,&regs);	if (regs.x.ax == VBE_SUCCESS)	    return (regs.x.cx != 0);	}    return -1;}ibool VBEAPI VBE_enableStereoMode(void)/****************************************************************************** Function:     VBE_enableStereoMode* Returns:      True if stereo mode enabled, false if not supported.** Description:  Puts the system into hardware stereo mode for LC shutter*               glasses, where the display swaps between two display start*               addresses every vertical retrace.**               NOTE: Requires VBE/Core 3.0*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion >= 0x300) {	regs.x.ax = 0x4F07;	regs.x.bx = 0x0005;	PM_int86(0x10,&regs,&regs);	return regs.x.ax == VBE_SUCCESS;	}    return false;}ibool VBEAPI VBE_disableStereoMode(void)/****************************************************************************** Function:     VBE_disableStereoMode* Returns:      True if stereo mode disabled, false if not supported.** Description:  Puts the system back into normal, non-stereo display mode*               after having stereo mode enabled.**               NOTE: Requires VBE/Core 3.0*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion >= 0x300) {	regs.x.ax = 0x4F07;	regs.x.bx = 0x0006;	PM_int86(0x10,&regs,&regs);	return regs.x.ax == VBE_SUCCESS;	}    return false;}ibool VBEAPI VBE_setStereoDisplayStart(ulong leftAddr,ulong rightAddr,    ibool waitVRT)/****************************************************************************** Function:     VBE_setStereoDisplayStart* Parameters:   leftAddr    - 32-bit start address for left image*               rightAddr   - 32-bit start address for right image*               waitVRT     - True to wait for vertical retrace, false if not* Returns:      True if function was successful, false if not supported.** Description:  Sets the new starting display position to the specified*               32-bit display start address. Note that this function is*               different the the version above, since it takes a 32-bit*               byte offset in video memory as the starting address which*               gives the programmer maximum control over the stat address.**               NOTE: Requires VBE/Core 3.0*****************************************************************************/{    RMREGS  regs;    if (state->VBEVersion >= 0x300) {	regs.x.ax = 0x4F07;	regs.x.bx = waitVRT ? 0x83 : 0x03;	regs.e.ecx = leftAddr;	regs.e.edx = rightAddr;	PM_int86(0x10,&regs,&regs);	return regs.x.ax == VBE_SUCCESS;	}    return false;}ulong VBEAPI VBE_getClosestClock(ushort mode,ulong pixelClock)/****************************************************************************** Function:     VBE_getClosestClock* Parameters:   mode        - VBE mode to be used (include vbeLinearBuffer)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人黄色777网| 国产精品美女久久福利网站| 欧美三级乱人伦电影| 99久久久精品免费观看国产蜜| 国产精品一区二区在线观看网站| 老司机一区二区| 日本视频免费一区| 蜜臀久久99精品久久久久久9 | 日韩亚洲欧美成人一区| 欧美日韩在线观看一区二区 | 日韩美女视频一区二区在线观看| 欧美美女网站色| 欧美日韩国产高清一区二区| 欧美视频在线观看一区| 欧美日韩在线三区| 在线综合+亚洲+欧美中文字幕| 51精品国自产在线| 精品久久人人做人人爽| 久久亚洲欧美国产精品乐播| 久久中文字幕电影| 国产精品美女一区二区三区 | 最近日韩中文字幕| 亚洲国产视频在线| 久久精品久久综合| 国产剧情一区二区三区| 懂色av中文一区二区三区| k8久久久一区二区三区| 色婷婷国产精品综合在线观看| 欧美午夜片在线观看| 日韩亚洲欧美成人一区| 国产日韩欧美精品电影三级在线| 国产精品久线观看视频| 亚洲一区在线视频观看| 日本最新不卡在线| 精品系列免费在线观看| 国产传媒欧美日韩成人| 成人av在线影院| 欧美制服丝袜第一页| 日韩片之四级片| 国产精品少妇自拍| 日韩和的一区二区| 国产成人综合亚洲91猫咪| 91麻豆国产福利精品| 91精品国产色综合久久不卡电影| 国产视频一区二区在线观看| 亚洲男人的天堂一区二区| 麻豆一区二区在线| 99热这里都是精品| 日韩一区二区电影在线| 国产精品国产精品国产专区不片| 午夜一区二区三区视频| 精品亚洲免费视频| 欧美无砖专区一中文字| 日韩精品最新网址| 一区二区三区日韩| 国产在线观看一区二区| 日本道精品一区二区三区| 欧美刺激午夜性久久久久久久| 中文字幕永久在线不卡| 日韩av不卡在线观看| 99精品国产91久久久久久| 日韩欧美亚洲一区二区| 亚洲日本va午夜在线影院| 久久精品99国产精品日本| 91亚洲永久精品| 精品免费国产二区三区| 亚洲一区在线观看视频| 成人一二三区视频| 精品久久久久久亚洲综合网 | 免费成人在线视频观看| 91免费看`日韩一区二区| 欧美精品一区二区三| 亚洲一区二区三区美女| 成人免费的视频| 精品国产91九色蝌蚪| 午夜精品一区二区三区电影天堂| 成人动漫视频在线| 久久精品一区蜜桃臀影院| 美女精品一区二区| 91超碰这里只有精品国产| 亚洲欧美国产毛片在线| 懂色av一区二区夜夜嗨| 精品成人免费观看| 日韩电影在线一区二区| 欧美日韩在线播放一区| 日韩毛片高清在线播放| 成人性生交大片免费看中文网站| 日韩亚洲欧美在线| 日本成人在线不卡视频| 67194成人在线观看| 亚洲午夜视频在线| 91激情在线视频| 亚洲免费大片在线观看| www.日韩av| 国产精品久久久久久一区二区三区 | 欧美在线观看一二区| 中文字幕一区二区5566日韩| 国产成人av一区二区三区在线 | 奇米色777欧美一区二区| 欧美性受极品xxxx喷水| 一区二区三区精品| 在线精品国精品国产尤物884a| √…a在线天堂一区| 成人午夜视频网站| 国产精品天干天干在观线| 春色校园综合激情亚洲| 国产精品免费久久| 99re热这里只有精品视频| 一区免费观看视频| 在线免费一区三区| 天堂成人免费av电影一区| 欧美日韩国产综合视频在线观看| 婷婷中文字幕综合| 欧美一级二级三级乱码| 美国一区二区三区在线播放| 日韩欧美成人激情| 国产一区二区三区久久久| 国产亚洲一二三区| 99re在线精品| 亚洲国产综合在线| 日韩欧美久久久| 国产激情一区二区三区四区 | 国产精品天天摸av网| 不卡的av电影| 一区二区三区欧美日| 欧美日韩成人激情| 韩国欧美一区二区| 国产精品久久久久一区| 欧洲中文字幕精品| 婷婷综合久久一区二区三区| 91精品国产欧美一区二区| 精品一区二区三区香蕉蜜桃 | 国产一区在线精品| 中文字幕在线不卡视频| 欧美少妇性性性| 日韩电影在线一区二区三区| 久久免费电影网| 99re成人精品视频| 日韩电影在线一区二区三区| 亚洲精品一区二区三区蜜桃下载 | 成人av电影免费在线播放| 一区二区在线观看视频在线观看| 欧美大胆人体bbbb| 风间由美一区二区三区在线观看| 综合在线观看色| 欧美一区二区三区四区五区| 激情另类小说区图片区视频区| 国产欧美日韩另类一区| 欧美亚洲国产怡红院影院| 精品一区二区三区av| 亚洲精选在线视频| 欧美成人精品二区三区99精品| 成人中文字幕合集| 丝袜亚洲另类丝袜在线| 精品国产免费人成电影在线观看四季| 99久精品国产| 美女一区二区在线观看| 中文在线资源观看网站视频免费不卡 | 亚洲综合免费观看高清完整版在线 | 不卡一区中文字幕| 免费久久99精品国产| 一区在线播放视频| 精品粉嫩超白一线天av| 91成人免费网站| 国产黄色精品视频| 午夜久久久久久久久| 国产精品理论片在线观看| 91麻豆精品91久久久久同性| 91免费视频观看| 国产福利精品一区二区| 日韩精品欧美成人高清一区二区| 中文乱码免费一区二区| 欧美电影免费观看高清完整版| 91高清在线观看| 国产高清久久久久| 蜜桃久久av一区| 夜夜精品视频一区二区| 国产精品日韩成人| 精品国内二区三区| 欧美一卡2卡3卡4卡| 91福利视频久久久久| 成人污污视频在线观看| 九九九精品视频| 天堂影院一区二区| 亚洲女与黑人做爰| 国产精品美女久久久久aⅴ国产馆| 日韩欧美中文一区二区| 精品视频999| 欧美中文一区二区三区| 99在线精品一区二区三区| 国产精品亚洲а∨天堂免在线| 麻豆免费精品视频| 视频在线在亚洲| 亚洲成a人片在线不卡一二三区| 亚洲色欲色欲www| 国产精品久久久久久亚洲伦| 国产欧美一区二区精品性色 | 精品无码三级在线观看视频| 亚洲永久免费av| 一区二区三区日韩在线观看|