muta...@gmail.com
2022-11-24 09:19:47 UTC
How did people support malloc() requests in the
tiny/small/medium memory models?
Did the executable in the header ask for memory
beyond SP, perhaps filling out to the 64k boundary,
and then at startup, see how much memory you
managed to get, and only release stuff above the
64k boundary, and then service malloc requests
from within that space?
Currently in PDPCLIB I only support malloc for
compact/large/huge and go directly to the OS
to obtain it rather than link in my own memory
management routines.
Thanks. Paul.
tiny/small/medium memory models?
Did the executable in the header ask for memory
beyond SP, perhaps filling out to the 64k boundary,
and then at startup, see how much memory you
managed to get, and only release stuff above the
64k boundary, and then service malloc requests
from within that space?
Currently in PDPCLIB I only support malloc for
compact/large/huge and go directly to the OS
to obtain it rather than link in my own memory
management routines.
Thanks. Paul.