Memory Allocation in EXW.EXE
- Posted by Brian Jackson <bjackson at PRINTINGINC.COM> Mar 03, 1999
- 352 views
Ok, I have yet ANOTHER question in my quest to perfect FILEMAN.E In my haste to rewrite FILEMAN using DOSWRAP, I did not realize that allocate_low() is a function of EX.EXE, and does not work in EXW.EXE. Of course, there's always allocate(), but DOS interrupts require that blocks be allocated in conventional memory. My question is, does anyone have any ASM routines which will work for me? I know that int48h and 49h control allocation/deallocation of memory in DOS, but my ASM skills are nil, and I haven't been able to get anything to work. If somebody could write a quick malloc/free routine for EXW, or send me some working ASM source, I'd REALLY appreciate it. Thanks in advance, Brian Jackson bjackson at printinginc.com