TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: ALL
from: SAM IZZO
date: 1997-12-20 02:46:00
subject: Memory Allocation

Hey all!
Ok.  I need to allocate some memory in a program which is in 100% assembler, 
so
I thought I'd use Int 21h function 48h/49h to get/free some memory.  I used
these functions in a Turbo Pascal program to allocate some memory, and they
worked fine, after I change TP's heap requirements (with $M etc).  Now I'm
coding in A86 and TASM, and need to allocate memory, but whenever I try it
gives me the error code for 'not enough memory'.  Is it something to do with
my programs being .COM files?  Do they need to be .EXEs?  I tried compiling 
o
.EXE with TASM, but it still didn't work.  What am I doing wrong?
Please, any help would be appreciated!
Sam
... i missed Bill Gates at COMDEX, but i'll get him next year...
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)

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