TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: andrew clarke
from: rowan crowe
date: 1995-06-05 17:48:08
subject: MSQ bug.

Answering msg from andrew clarke to rowan crowe,
on Monday June 05 1995 at 02:25

 >> Depending on how Watcom allocates memory, it could be as
 >> simple as asking DOS to allocate 1Mb, and noting the amount of
 >> free memory it returns when the call fails,

 ac> Would such a call fail immediately, or would DOS actually attempt to
 ac> allocate the memory and report a failure after had realised it had ran
 ac> out, or is my brain really made of baked beans?

    Fails immediately, well as immediately as being unable to find a
contiguous block of 1Mb in size.

 ac> I'm wondering what effect such a massive memory allocation attempt
 ac> would have on OS/2's "on-demand" virtual memory when
performed in DOS
 ac> emulation mode.

    There is no harm done as it's *real mode* under 1Mb memory only,
nothing to do with XMS or EMS. It's impossible to allocate 1Mb of memory
when you only have 1Mb of memory in your address space. ;)

---
* Origin: Jelly-Bean software development. (3:635/727.1)
SEEN-BY: 50/99 632/348 998 633/371 634/384 635/502 503 513 544 727 638/100
SEEN-BY: 640/230 690/718 711/401 410 430 807 808 809 933 934 713/888 800/1
SEEN-BY: 7877/2809
@PATH: 635/727 632/348 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.