New extended memory API

git-svn-id: svn://svn.cc65.org/cc65/trunk@1678 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-11-29 14:46:56 +00:00
parent 5de8af4f8f
commit 4c4e5def21
11 changed files with 456 additions and 0 deletions

17
libsrc/em/em_mapclean.s Normal file
View File

@@ -0,0 +1,17 @@
;
; Ullrich von Bassewitz, 2002-11-29
;
; void* __fastcall__ em_mapclean (unsigned page);
; /* Unmap the current page from memory and map a new one. The function returns
; * a pointer to the location of the page in memory. This function differs from
; * em_map_page() in that it will discard the contents of the currently mapped
; * page, assuming that the page has not been modified or that the modifications
; * are no longer needed, if this leads to better performance. NOTE: This does
; * NOT mean that the contents of currently mapped page are always discarded!
; */
.include "em-kernel.inc"
_em_mapclean = emd_mapclean ; Use driver entry