Thursday, July 30, 2009

Can someone explain this code in C programming language-char far *Vid_base=0xb8000000;*(Vid_bas...

These lines of code in C were used for displaying something.


Can u explain how it works or provide any link or book where i can find explaination.

Can someone explain this code in C programming language-char far *Vid_base=0xb8000000;*(Vid_bas...
?
Reply:This is a pointer to screen memory when you are in DOS mode (80 chars wide and 25 chars high). I don't think this will work in the windowed environment, only when you boot up something like Dos 6.22.





Advanced C, part 2 of 3


http://gd.tuwien.ac.at/languages/c/progr...


No comments:

Post a Comment