Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am learning mode 13h graphics programming in c and I am having a problem. You see I am learning this so that I can program games and at the moment I am writing a function that reads a rectangler area of the screen and stores it in "lenear sprite format" in a buffer. But the listing given to me by an online article does not work. It tells me that there is a general protection fault and if I look at the details of the error message it just gives me a memory address. Any help would be appreciated.