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.
Memory Problems in Dos C++ Game
I have written a RayCasting Engine in pure C++, and have a few other programs that play wav files and Midi files, however when I try an compine all the programs to have a full game with sound effects and background music it doesn't work right.
I think that this is a problem with memory allocation. Does a Dos program have a max size? I think it does, so I tried using far pointers to overcome it. I heard that is how the programmed Wolfenstine. It still doesn't work right. If I load the textures first then the sound files, sone of the sounds are wierd, and if I load the sounds first then the textures, some of the textures are wierd.
Does any one know how I can overcome this?