Hi Chris!
CB> taken, there is 'not enough memory' for other things. Well behaved
CB> programs will resize themselves (INT 21h, Function 4A - Modify
Ahh ok. I looked through a few other programs that I had the source to, and
they were doing this, but I couldn't exactly figure out how/why!
CB> Allocated Memory Block (SETBLOCK)) to the size needed for CODE +
CB> STACK + DATA. I guess that with .EXE's there is some kind of compiler
Ok, now, function 4a expects ES to point to the segment of the block of
memory to resize. Do I just set this to CS or something?
thanks!
Sam
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)
|