Call Descriptions
Function calls associated with Memory Management Services include:
- m_alloc Attempts to expand the data space occupied by the application by exp_size bytes.
- m_alloc_large Attempts to expand the data space occupied by the application by exp_paras paragraphs (16 bytes).
- m_current_task Returns the current task number.
- m_enable_app_key Enables use of application key after lock.
- m_free Shrinks the data space claimed by the application by releasing all memory beyond the pointer.
- m_free_large Shrinks the data space claimed by the application beginning at pointer.
- m_free_static_block Frees up a block of static RAM previously allocated by the m_get_static_block call.
- m_free_SVC_entry Frees a pointer to an S_SERVICE entry.
- m_get_active_DOS_size Returns memory size of open DOS box.
- m_get_avail_123_mem Returns the number of bytes available for a 123 memory allocate call.
- m_get_avail_mem Returns the number of bytes available for a memory allocate call.
- m_get_avail_static_mem Returns the total bytes of the largest free block of static RAM that can be allocated.
- m_get_DOS_hot_key Returns scan code of DOS box (normally Ctrl+123).
- m_get_DOS_part_size Returns Setup's DOS box memory size (may not be the same as the size of an open DOS box).
- m_get_far_block Allocates an initial indirect far pointer block of memory.
- m_get_far_handle Returns the offset of the next free far table entry.
- m_get_far_user_handle Returns a near handle to a free USER far pointer entry.
- m_get_initial_mem Returns the number of bytes of memory available to an application at startup.
- m_get_static_block Initial call to allocate a block of static RAM.
- m_get_static_size Returns size of static memory reserved by the system manager.
- m_get_static_used Returns amount of static RAM currently in use by Special TSR's.
- m_get_SVC_entry Gets a pointer to an S_SERVICE entry.
- m_load_client Loads the Redirector application. NOT SUPPORTED ON 200LX.
- m_load_TSR Installs special TSR module into static RAM area.
- m_locate_SVC Gets a pointer to a particular S_SERVICE entry.
- m_lock_out_app_key Locks out usage of application key and updates the TCB.
- m_modify_hot_key Modifies the hot key of the current task.
- m_QuickKeyCheck Enables an application to peek ahead at the next key in the keyboard buffer without having to do an m_action from the main event loop.
- m_reg_far Registers an indirect far pointer table with the System Manager.
- m_set_DOS_hot_key Used by the Setup application to set DOS's hot key.
- m_set_DOS_part_size Used by the Setup application to set the default DOS box size.
- m_set_far_block Expands/shrinks or frees a previously allocated indirect far pointer memory block.
- m_set_static_size Used by the Setup application to set the amount of static RAM.
- m_task_info Allows access to task control block information.
- m_unload_client Unloads the Redirector application. NOT SUPPORTED ON 200LX.