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

📄 mem.c

📁 linux 下svgalib编的一个界面程序示例
💻 C
字号:
#include <stdio.h> /*  * Copies pixels from 4-byte-per-pixel screen to 3-byte-per-pixel screen,  *   * discarding the last byte of each pixel.  Only uses 32-bit aligned word  * accesses.  Instructions have been shuffled a bit for possible  * avoidance of pipeline hazards.  */void __svgalib_memcpy4to3(void *dest, void *src, int n){    printf("libgl: __svgalib_memcpy4to3 not done yet\n");}/*  * Copies pixels from 4-byte-per-pixel screen organized as BGR0 to * 0BGR 4-byte-per-pixel screen. * Used by copyscreen for ATI mach32 32-bit truecolor modes. */void __svgalib_memcpy32shift8(void *dest, void *src, int n){    printf("libgl: __svgalib_memcpy32shift8 not done yet\n");}

⌨️ 快捷键说明

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