GCC & bitmap.c__
-
I write bitmap.c display bitmap > 256 color on screen But I have VGA card on board.Result bad color. How to: display bitmap > 256 color on screen ? Palette have ...color ? Struct of bitmap: Struct tagBITMAP{ Word w,h; Byte *data; Byte palette[256*3]; }BITMAP; Or answer is:1. Desktop> right button click\properties\Setting\Display:Plug & Play on intel(R) 82845G GL/GE/PE/GV Graphics Controller Color Qualtily:Hightest(32 bit) 2.I change 16 bit to 32 bit.how to do ? write boot.asm -> compiler NASM-> strip header -. not copy to floppy disk,I copt to CD-ROM,normal as floppy.Can I do ?:confused: Floppy is old man.clear it Help me How to:compile this code with NASM 2. --End,vietnam not register on www.osdev.org. Please,register osdev for me.Account:TUAN_OS My Mail:thoong00biet@yahoo.com.vn
-
I write bitmap.c display bitmap > 256 color on screen But I have VGA card on board.Result bad color. How to: display bitmap > 256 color on screen ? Palette have ...color ? Struct of bitmap: Struct tagBITMAP{ Word w,h; Byte *data; Byte palette[256*3]; }BITMAP; Or answer is:1. Desktop> right button click\properties\Setting\Display:Plug & Play on intel(R) 82845G GL/GE/PE/GV Graphics Controller Color Qualtily:Hightest(32 bit) 2.I change 16 bit to 32 bit.how to do ? write boot.asm -> compiler NASM-> strip header -. not copy to floppy disk,I copt to CD-ROM,normal as floppy.Can I do ?:confused: Floppy is old man.clear it Help me How to:compile this code with NASM 2. --End,vietnam not register on www.osdev.org. Please,register osdev for me.Account:TUAN_OS My Mail:thoong00biet@yahoo.com.vn