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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vesavbe.c

?? s3c6410的 Uboot 代碼, 感興趣的可以看看呀
?? C
?? 第 1 頁 / 共 3 頁
字號:
	    }	}    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)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久国产97色综合| 国产亚洲一二三区| 在线视频你懂得一区二区三区| 成人免费视频播放| 日韩电影在线观看一区| 久久国产夜色精品鲁鲁99| 美女在线一区二区| 国产尤物一区二区| 成人免费视频一区| 欧洲视频一区二区| 91精品国产综合久久福利软件 | 欧美一级高清片| 日韩免费高清视频| 亚洲色图欧美激情| 久久精品国产亚洲一区二区三区| 成人成人成人在线视频| 欧美日韩国产经典色站一区二区三区| 欧美老肥妇做.爰bbww视频| 欧美大白屁股肥臀xxxxxx| 中文字幕在线一区二区三区| 日韩国产欧美在线视频| 成人av小说网| 欧美精品自拍偷拍动漫精品| 国产日韩欧美电影| 日韩av一区二| 色视频欧美一区二区三区| 国产亚洲欧美日韩俺去了| 亚洲成av人**亚洲成av**| 成人99免费视频| 久久久国产午夜精品| 午夜精品久久久久久久久| 99re成人精品视频| 国产精品国产自产拍高清av| 韩国v欧美v日本v亚洲v| 欧美一区二区三区电影| 亚洲123区在线观看| 在线观看中文字幕不卡| 中文字幕在线免费不卡| 成人av网站免费观看| 欧美精品一区二区三区高清aⅴ | 欧美一级日韩一级| 免费精品视频最新在线| 3d动漫精品啪啪| 麻豆精品视频在线| 精品久久久久av影院| 国产电影一区二区三区| 欧美激情综合五月色丁香小说| 国产一区在线看| 亚洲国产精品av| 日本精品视频一区二区| 亚洲3atv精品一区二区三区| 欧美α欧美αv大片| 国v精品久久久网| 中文字幕视频一区| 欧美日韩一区二区三区免费看| 日本不卡123| 国产精品久久久久久久第一福利 | 亚洲国产经典视频| 91国产丝袜在线播放| 久久机这里只有精品| 国产精品久久久久影院| 欧美日韩一区高清| 成人天堂资源www在线| 亚洲午夜电影在线观看| 国产日韩欧美精品在线| 欧美性生活大片视频| 成人手机电影网| 欧美aaaaaa午夜精品| 一区二区久久久久| 国产亚洲成年网址在线观看| 在线播放91灌醉迷j高跟美女 | 成人免费小视频| 久久精品网站免费观看| 欧美一区二区三级| 欧美日韩黄视频| 欧美亚洲国产一区二区三区 | 国产精品欧美综合在线| 日韩写真欧美这视频| 91.com在线观看| 欧美日韩一区二区三区高清| 色av综合在线| 欧洲国内综合视频| 欧美无砖专区一中文字| 成人av电影在线网| 99久久精品国产导航| 99久久久国产精品| 91丝袜美腿高跟国产极品老师 | 一级日本不卡的影视| 亚洲免费av高清| 亚洲自拍偷拍九九九| 天天综合色天天综合色h| 亚洲专区一二三| 麻豆91在线播放| 国产精品系列在线播放| 成人免费视频视频| 91在线国产福利| 欧美日韩成人激情| 日韩亚洲欧美高清| 中文字幕不卡在线观看| 亚洲色图丝袜美腿| 日本不卡1234视频| 国产99久久久国产精品免费看| 99国产欧美另类久久久精品| 欧美在线一区二区| 26uuu色噜噜精品一区二区| 国产精品国模大尺度视频| 日韩影院精彩在线| 成人美女在线视频| 91精品国产欧美一区二区18| 欧美国产禁国产网站cc| 日韩精品亚洲一区二区三区免费| 国产成人精品免费| 91精品国产91热久久久做人人| 中文一区在线播放| 日本在线不卡一区| 91性感美女视频| 亚洲国产高清在线观看视频| 免费在线视频一区| 欧美日韩国产在线观看| 国产精品久久久久7777按摩| 狠狠v欧美v日韩v亚洲ⅴ| 在线观看不卡视频| 亚洲免费色视频| 99久久精品国产导航| 亚洲国产精品99久久久久久久久| 麻豆专区一区二区三区四区五区| 欧美亚日韩国产aⅴ精品中极品| 国产精品传媒视频| www.在线欧美| 亚洲人成在线播放网站岛国| av网站一区二区三区| 日韩美女精品在线| 91麻豆福利精品推荐| 亚洲视频香蕉人妖| 色综合久久综合网欧美综合网| 日韩一区有码在线| 欧美性一二三区| 日韩在线观看一区二区| 精品理论电影在线观看| 狠狠色丁香久久婷婷综合丁香| 国产视频一区在线观看| 99久久久久久99| 日本亚洲视频在线| 国产欧美日韩另类一区| 色偷偷久久一区二区三区| 亚洲成人一区在线| 久久综合色综合88| 色系网站成人免费| 久久精品国产一区二区三| 国产日韩欧美亚洲| 欧美精品三级日韩久久| 国产福利视频一区二区三区| 亚洲电影一级片| 中文字幕精品综合| 成人国产免费视频| 日韩精品久久久久久| 中文字幕av一区二区三区高| 在线成人午夜影院| 99久久综合99久久综合网站| 老汉av免费一区二区三区| 亚洲精品自拍动漫在线| 国产日韩欧美制服另类| 日韩三级免费观看| 欧美日本一区二区三区| 99久久国产综合精品麻豆| 国产在线播放一区| 日本伊人色综合网| 午夜精彩视频在线观看不卡| 亚洲欧美另类小说| 久久久久久久久久久久电影| 日韩精品一区二区三区视频在线观看 | 精东粉嫩av免费一区二区三区| 亚洲综合一二区| 夜夜嗨av一区二区三区网页 | 91精品国产欧美日韩| 欧美日韩精品二区第二页| 日本精品一区二区三区高清| 91免费视频网| 色综合视频在线观看| 在线看日韩精品电影| 欧美专区亚洲专区| 91精品欧美一区二区三区综合在 | 欧美aⅴ一区二区三区视频| 日韩中文字幕麻豆| 国产一区二区三区香蕉| 高清不卡一区二区| 成人app网站| 欧美乱熟臀69xxxxxx| 欧美一区日韩一区| 69p69国产精品| 亚洲国产高清aⅴ视频| 亚洲欧美日韩国产成人精品影院| 亚洲一区二区三区视频在线播放| 人人精品人人爱| 97se狠狠狠综合亚洲狠狠| 欧美亚洲国产一卡| 国产偷国产偷亚洲高清人白洁| 亚洲靠逼com| 国产成人在线视频免费播放| 在线精品观看国产|