Apparently, DOS loads a program into memory and then gives it almost all the available memory.

How do I find the value of the 'Free memory pointer', i.e. the start of this memory. Also, how do I know when it ends?

Cheers,

S.
Posted on 2004-01-11 16:44:20 by Station
Search for info on Memory Control Blocks... if you just want to allocate memory from a dos exe, you should resize your memblock to the smallest possible size, then use the dos alloc functions.

Ralph Brown's interrupt list + old asm sources should be of great help... I stopped caring about this ages ago though, so I can only say 'google'.
Posted on 2004-01-11 17:22:04 by f0dder