Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

real mode memory management question (Developers)

posted by marcov, 25.08.2008, 10:34

> EDIT: 650k should never work (else you're doing something VERY weird).

This sounds all like it is in FPC, so maybe this is a 32-bit compiler?

(malloc (getmem) allocates from 32-bit mem, dos_alloc from realmode mem (which is unused, except for 100k extender stuff) so a malloc(650k) will work (even a 128MB could), but dos_alloc(650k) won't.

 

Complete thread:

Back to the forum
Board view  Mix view
22750 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum