TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SYLVAIN LAUZON
from: JASEN BETTS
date: 1998-02-08 05:39:00
subject: i need to allocate some m

SL> I used int 21h/48 to allocate some memory but failed. the file is .com
SL> Any ideas why it doesn't?                                              
Com files usually get ALL the memory when they are started, (not
just 64K), if you want to be allocated some memory there must be
some memory free! (you can either free some memory then allocate
what you need, or just check that you have enough.)
The word at (DS-1):3 will tell you how many paragraphs you have
available, but there's probably a interrupt service with the same
information.
Does anyone know if DOS will allocate UMBs if there's no free low
memory?
                        
--- EzyQwk V1.20
---------------
* Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350)

SOURCE: echomail via exec-pc

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™.