]> git.sur5r.net Git - cc65/blobdiff - include/em.h
memmove, memcpy, memset and bzero now return dest ptr as they should
[cc65] / include / em.h
index a69c9598dd2502c18e9573abb94a4e7120519c62..5064d137f1574abc5ca0871fb59b1684b42545fc 100644 (file)
@@ -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