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 marcov, 26.07.2023, 17:18

> 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

Memavail is the dynamic memory available to the heapmanager. But that is potentially decreased by code,stack and (static) data segment and startup allocations.

Anyway, these functions get info from the heapmanager, so the bit that is interesting is how the RTL finds the amount of memory and initializes the heapmanage)

 

Complete thread:

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