Looking for info about INT12h, mem tools and copy tools (Miscellaneous)
There's an old FASM thread titled How to determine amount of free conventional memory? that may help.
For instance, I pointed to a download link of TSRW31.ZIP that had FREERAM.ASM inside it. But I don't recall how accurate it was. (Maybe it's only largest block?)
I do have some old "walk the MCB chain" code I found in a Turbo C book somewhere (but not sure of the license).
You could also just use Turbo Pascal "writeln(memavail);", and then disassemble that to see how it's done. That's usually pretty accurate, IMHO. Actually, even better, just use FreePascal's code (sorry, don't know the exact filename): rtl/i8086
Complete thread:
- Looking for info about INT12h, mem tools and copy tools - nico7550, 21.07.2023, 21:15
- Looking for info about INT12h, mem tools and copy tools - CandyMan, 21.07.2023, 22:51
- Looking for info about INT12h, mem tools and copy tools - nico7550, 22.07.2023, 09:35
- Looking for info about INT12h, mem tools and copy tools - Rugxulo, 25.07.2023, 01:38
- Looking for info about INT12h, mem tools and copy tools - nico7550, 26.07.2023, 12:49
- Looking for info about INT12h, mem tools and copy tools - marcov, 26.07.2023, 17:18
- Looking for info about INT12h, mem tools and copy tools - Rugxulo, 25.07.2023, 01:38
- Looking for info about INT12h, mem tools and copy tools - nico7550, 22.07.2023, 09:35
- Looking for info about INT12h, mem tools and copy tools - CandyMan, 26.07.2023, 14:24
- Looking for info about INT12h, mem tools and copy tools - CandyMan, 21.07.2023, 22:51