Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Looking for info about INT12h, mem tools and copy tools (Miscellaneous)

posted by Rugxulo Homepage, Usono, 25.07.2023, 01:38

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:

Back to the forum
Board view  Mix view
22155 Postings in 2045 Threads, 396 registered users, 19 users online (0 registered, 19 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum