Added em_use
git-svn-id: svn://svn.cc65.org/cc65/trunk@1719 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -90,6 +90,15 @@ void* __fastcall__ em_map (unsigned page);
|
||||
* em_commit, the old contents of the memory window may be lost!
|
||||
*/
|
||||
|
||||
void* __fastcall__ em_use (unsigned page);
|
||||
/* Tell the driver that the memory window is associated with a given page.
|
||||
* This call is very similar to em_map. The difference is that the driver
|
||||
* does not necessarily transfer the current contents of the extended
|
||||
* memory into the returned window. If you're going to just write to the
|
||||
* window and the current contents of the window are invalid or no longer
|
||||
* use, this call may perform better than em_map.
|
||||
*/
|
||||
|
||||
void __fastcall__ em_commit (void);
|
||||
/* Commit changes in the memory window to extended storage. If the contents
|
||||
* of the memory window have been changed, these changes may be lost if
|
||||
|
||||
Reference in New Issue
Block a user