X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Tue, 20 Sep 2011 23:10:36 -0500 From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp References: <201109171356 DOT 53360 DOT juan DOT guerrero AT gmx DOT de> <2dc464f3-6f8c-4139-8dcb-0719e25116bf AT i39g2000yqn DOT googlegroups DOT com> <6d89c59a-0e99-4fe4-be98-0d8f2ced65d3 AT g30g2000yqc DOT googlegroups DOT com> Subject: Re: Hammer of Thyrion (was Re: Isues concerning the INT 21 ...) Date: Tue, 20 Sep 2011 23:10:22 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Original Message-ID: Lines: 23 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 64.91.136.221 X-Trace: sv3-Ul3GIP27+5vi1Ry2XH7adCtZi5uvSiiJs1VSdlK4qDMvjwgdNkMbH2udiOZGSxIuCRgNARSMWotfJJX!7qmRyTxKFEJU0T1PjKkn/AK0zbhNwYWjp89kdLfJ3K4gBB55fxqN21oBzAG2Wf6mgWm1JiYoE/Y3!3o9jpNrGP/v2OzDx+3vMsnfAYH68TXWv X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2724 X-Original-Bytes: 2663 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >"Rugxulo" wrote in message >news:6d89c59a-0e99-4fe4-be98-0d8f2ced65d3 AT g30g2000yqc DOT googlegroups DOT com... >I'm on a "big" RAM machine here. So when I test in native FreeDOS, >there's gobs of memory. Apparently it doesn't like that, tries to >malloc a negative amount by default. ;-) I assume this is an old >Quake (2 GB??) limitation. The memory code in Quake has some horrible hacks to try to make it run on like an 8MB machine under Windows 95. In those days the thought of a 2GB machine would be unbelievable. (That code tries to make sure it's all paged in, locked in memory, and everything else is paged out). I suggest using sbrk() when you need to use more than 2GB of memory :-) >That's using r7. When using r5, it can't >load all the page tables, so similar memory problem. >(CWS would probably find this funny. No so funny, but it shows to not make assumptions.