Replaced em_mapclean by em_commit

git-svn-id: svn://svn.cc65.org/cc65/trunk@1682 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-01 18:06:57 +00:00
parent f5193bc0d1
commit 0c38839e79
7 changed files with 44 additions and 44 deletions

View File

@@ -14,10 +14,10 @@
C_OBJS = em_load.o
S_OBJS = em-kernel.o \
em_commit.o \
em_copyto.o \
em_copyfrom.o \
em_map.o \
em_mapclean.o \
em_pagecount.o \
em_unload.o \

View File

@@ -27,7 +27,7 @@ emd_install: jmp $0000
emd_deinstall: jmp $0000
emd_pagecount: jmp $0000
emd_map: jmp $0000
emd_mapclean: jmp $0000
emd_commit: jmp $0000
emd_copyfrom: jmp $0000
emd_copyto: jmp $0000

16
libsrc/em/em_commit.s Normal file
View File

@@ -0,0 +1,16 @@
;
; Ullrich von Bassewitz, 2002-12-01
;
; 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
; * em_map, em_copyfrom or em_copyto are called without calling em_commit
; * first. Note: Not calling em_commit does not mean that the changes are
; * discarded, it does just mean that some drivers will discard the changes.
; */
.include "em-kernel.inc"
_em_commit = emd_commit ; Use driver entry

View File

@@ -1,17 +0,0 @@
;
; 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