Hi all :-)
Im using Borland C\C++ 5.5 compiler and I am woundering can anyone now and give me a idea or even the code to setup the VGA color for my programm. I hope someone can help? Your fraind,
Alexander :-)
Hi all :-)
Im using Borland C\C++ 5.5 compiler and I am woundering can anyone now and give me a idea or even the code to setup the VGA color for my programm. I hope someone can help? Your fraind,
Alexander :-)
apuschumann,
-> give me a idea or even the code to setup the VGA color for
-> my program.
u have to access directly to the vga memory cell.
it depends upon your vga card.
so, first detect your vga and then try to access that part.
good luck.
thanx...
take care...
Jackie
Will it work? It depends on your system.Code:void setMode ( unsigned char mode ) { union REGS uregs; uregs.h.ah = 0x00; ruegs.h.al = mode; int86 ( 0x10, &uregs, &uregs ); } . . . setMode ( 0x13 );
-Prelude
My best code is written with the delete key.