From: Clemens Valens Newsgroups: comp.os.msdos.djgpp Subject: Re: Someone please help with memory problem. Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here X-Originating-Host: 195.154.148.69 X-Wren-Trace: cHxbe258IFN9NShebDA9NTwvPCgjKWowKCkzLiwxPHwiI2kzI2k9PCEpIDckZS9oM2Zxf24tWFRwYTJxYzl7Zzc/cng= Message-ID: <930903379.294@www.remarq.com> References: <377c0d74 DOT 8937482 AT nntp DOT ix DOT netcom DOT com> Lines: 11 Date: Fri, 02 Jul 1999 00:16:17 -0800 NNTP-Posting-Host: 10.0.3.195 X-Trace: WReNphoon4 930903276 10.0.3.195 (Fri, 02 Jul 1999 01:14:36 PDT) NNTP-Posting-Date: Fri, 02 Jul 1999 01:14:36 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com My guess is that your problem is not in the code you posted, but in the part you didn't post. I tried your code, using new random values for block_cols and block_rows every pass and it runs fine under real DOS and in a DOS box under Windows 98. Maybe you mess up your variables somewhere else. Clemens **** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****