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

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

?? vesavbe.c

?? 嵌入式試驗箱S3C2410的bootloader源代碼
?? 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一区二区三区免费野_久草精品视频
国产乱国产乱300精品| 亚洲成国产人片在线观看| 99精品一区二区| 亚洲高清三级视频| 欧美肥大bbwbbw高潮| 国产一区二区美女诱惑| 亚洲欧洲三级电影| 欧美一区欧美二区| 99久久国产综合色|国产精品| 亚洲人精品午夜| 这里只有精品电影| 不卡欧美aaaaa| 青娱乐精品视频在线| 国产精品久线观看视频| 制服丝袜亚洲色图| 91小视频在线| 国产真实乱偷精品视频免| 夜夜精品浪潮av一区二区三区| 国产日韩在线不卡| 欧美性猛片aaaaaaa做受| 国产精品一区二区黑丝| 调教+趴+乳夹+国产+精品| 国产精品午夜电影| 精品少妇一区二区三区免费观看 | 在线观看一区二区精品视频| 韩国精品一区二区| 亚洲地区一二三色| 亚洲日本va午夜在线电影| 日韩亚洲欧美综合| 欧美三级韩国三级日本三斤| 国产成人aaa| 狠狠色丁香婷综合久久| 一区二区三区四区在线| 久久久久久久久久久电影| 欧美亚洲一区二区三区四区| 国产成人一级电影| 捆绑调教美女网站视频一区| 无吗不卡中文字幕| 一区二区三区免费在线观看| 国产精品久久影院| 欧美国产精品中文字幕| 中文字幕欧美国产| 中国av一区二区三区| 久久久亚洲精华液精华液精华液| 欧美大片日本大片免费观看| 欧美日韩国产欧美日美国产精品| 一本大道久久a久久精二百| 成人免费视频网站在线观看| 国产成人精品一区二| 精品系列免费在线观看| 男女男精品网站| 日韩avvvv在线播放| 亚洲国产日韩在线一区模特| 亚洲综合小说图片| 亚洲国产精品一区二区久久恐怖片 | 亚洲图片欧美色图| 亚洲国产视频一区二区| 亚洲精品免费一二三区| 亚洲激情校园春色| 一区二区在线免费观看| 亚洲一区二区美女| 欧美激情一区二区在线| 亚洲精品videosex极品| 亚洲国产一区视频| 午夜久久久久久久久久一区二区| 午夜电影久久久| 美女尤物国产一区| 精品在线一区二区| 国产综合久久久久久鬼色| 国产传媒日韩欧美成人| 成人h版在线观看| 91亚洲男人天堂| 欧美日本一道本| 日韩精品一区二区在线观看| 久久精品综合网| 久久久国产精华| 国产精品成人一区二区艾草 | 色老汉av一区二区三区| 欧美午夜免费电影| 精品国产第一区二区三区观看体验| 亚洲国产精品t66y| 午夜成人免费视频| 不卡的av中国片| 欧美理论电影在线| 欧美国产禁国产网站cc| 亚洲国产综合在线| 处破女av一区二区| 8v天堂国产在线一区二区| 国产精品三级视频| 久久精品国产亚洲aⅴ| 99久久综合狠狠综合久久| 日韩欧美一区二区视频| 成人欧美一区二区三区视频网页 | 国产一区久久久| 色一情一伦一子一伦一区| 2017欧美狠狠色| 午夜日韩在线观看| 不卡电影一区二区三区| 亚洲精品在线一区二区| 亚洲第一狼人社区| 成人一区二区三区视频| 日韩欧美电影在线| 亚洲国产精品一区二区www在线 | 日韩一级精品视频在线观看| 亚洲精品一卡二卡| 福利电影一区二区三区| 91精品国产入口| 亚洲国产精品久久艾草纯爱| jvid福利写真一区二区三区| 精品国产一区二区精华| 日韩精品一二三| 欧美日韩一级视频| 成人免费在线播放视频| 国产麻豆精品一区二区| 日韩一区二区三区四区 | 在线亚洲一区二区| 91精品国产91久久久久久一区二区 | 亚洲免费观看高清完整版在线| 国产一区二区三区高清播放| 欧美一区二区黄| 婷婷中文字幕一区三区| 在线观看欧美黄色| 亚洲人成亚洲人成在线观看图片| 国产成人av电影在线| 久久免费的精品国产v∧| 日本不卡免费在线视频| 91精品在线一区二区| 亚洲一区二区三区四区不卡| 91欧美激情一区二区三区成人| 中国色在线观看另类| 成人丝袜18视频在线观看| 久久久.com| 成人精品视频一区二区三区尤物| 久久精品一区二区三区四区| 国产精品系列在线播放| 国产视频一区在线播放| 国产精品1024久久| 国产精品日产欧美久久久久| 成人免费看片app下载| 国产精品免费久久| 97se亚洲国产综合自在线不卡| 综合色天天鬼久久鬼色| 91麻豆免费在线观看| 亚洲精品免费在线| 欧美三级午夜理伦三级中视频| 亚洲福利电影网| 日韩一区二区三区在线| 激情小说欧美图片| 国产精品二区一区二区aⅴ污介绍| va亚洲va日韩不卡在线观看| 亚洲激情av在线| 欧美在线观看你懂的| 天天综合色天天综合色h| 欧美一区二区三区免费观看视频 | 成人影视亚洲图片在线| 亚洲日本va午夜在线影院| 在线免费亚洲电影| 另类小说欧美激情| 国产日产欧美一区| 91免费看视频| 日本成人在线网站| 久久久777精品电影网影网| 99精品国产热久久91蜜凸| 亚州成人在线电影| 国产精品一区二区在线播放 | 久久久久久影视| 成人高清视频免费观看| 亚洲免费资源在线播放| 在线不卡一区二区| 国产成人在线观看| 亚洲综合一区二区| 久久久影视传媒| 在线看国产日韩| 国产精品影视在线观看| 亚洲一区二区三区影院| 精品国一区二区三区| 91在线视频免费91| 日本sm残虐另类| 中文字幕中文乱码欧美一区二区| 欧美日韩国产美女| 成人污污视频在线观看| 天天操天天色综合| 中文字幕一区二区日韩精品绯色 | 中文字幕欧美一区| 日韩精品中午字幕| 色婷婷av久久久久久久| 久草这里只有精品视频| 亚洲国产精品一区二区www在线| 久久久久88色偷偷免费| 欧美日韩成人一区| 不卡一二三区首页| 久久99国产精品免费网站| 亚洲一区自拍偷拍| 国产精品蜜臀在线观看| 欧美一区二区三区思思人| 色偷偷88欧美精品久久久| 国产成人av影院| 麻豆成人91精品二区三区| 亚洲最色的网站| 国产精品进线69影院|