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