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?