m_alloc_large
m _alloc_large attempts to expand the data space occupied by the application by pgraph_request paragraphs, or 16-byte units.
- Syntax: unsigned int m_alloc_large(unsigned int pgraph_request)
- Parameters: unsigned int pgraph_request - Number of paragraphs to expand data space
- Returns: 0 - for failure
If successful - returns paragraph offset (not byte offset) from the
beginning of the application's data segment. Application must deal
with all segment normalizations and fix ups after memory moves.
- Related Calls: m_alloc
- Comments: This function must be used with care, since it is possible to
claim space that cannot be accessed through the DS register (> 64K).
Since the entire data space of the application may be moved during
certain System Manager calls, the application must be certain not to
save a segment value that may become invalid.
Do not call after making calls to m_get_far_block.