|
|
发表于 2011-11-30 23:12:54
|
显示全部楼层
回复 #1801 zxw 的帖子
splashimage 没有占用32MB以上的内存。
#define splashimage_loaded ((*(unsigned long **)0x8304)[46])
/*
flags for vbe splashimage
splashimage_loaded & ~0xf SPLASH_BASE_ADDR
if image load success set bit 1=1;
SPLASH_BASE_ADDR+4 image Width.
SPLASH_BASE_ADDR+8 image height
SPLASH_BASE_ADDR+16 image data
the image data use 32bit colors.eg. width=4,height=2
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
*/
只要判断splashimage_loaded的值是否为0就行了。
高位的是为了方便以后使用外部命令加载背景图提供的扩展。 |
|