Could anyone give me an example on how to make a simple vga program with the GNU C /C++ compiler supplied with red hat? Just changing video mode and plotting a pixel.
Does it support assembly btw?
Could anyone give me an example on how to make a simple vga program with the GNU C /C++ compiler supplied with red hat? Just changing video mode and plotting a pixel.
Does it support assembly btw?
Let's see...You'll have to probably learn how to programming with X first. Also, I'm not sure about g++ or gcc supporting assembly, but RedHat does come with NASM...A totally free Assembler.
What will people say if they hear that I'm a Jesus freak?
What will people do if they find that it's true?
I don't really care if they label me a Jesus freak, there is no disguising the truth!
Jesus Freak, D.C. Talk
-gnu-ehacks
What compiler might be good to use while programming in X?
GCC has an assembler in there somewhere.
svgalib is what you need to find, and probably some docs for it, too.
SVGAlib works from the console, I think.
All generalizations are false
I just downloaded svgalib and installed everything. The problem is that, being a Linux newbie, I must have happened to set some permission to root only, because everytime I try to run an svgalib program while not being root it says something like "svgalib: unable to get I/O permission".
How do I correct this?