]> git.sur5r.net Git - cc65/blobdiff - asminc/em-kernel.inc
Fixed several address size issues
[cc65] / asminc / em-kernel.inc
index ab17cc2ccd09c21e619d2804110e3b38f02be6df..c5c21421baee98f00ce140e9ed5f6e1f00d29afe 100644 (file)
@@ -6,10 +6,10 @@
 ;/*                                                                           */
 ;/*                                                                           */
 ;/*                                                                           */
-;/* (C) 2002      Ullrich von Bassewitz                                       */
-;/*               Wacholderweg 14                                             */
-;/*               D-70597 Stuttgart                                           */
-;/* EMail:        uz@musoftware.de                                            */
+;/* (C) 2002-2003 Ullrich von Bassewitz                                       */
+;/*               Römerstrasse 52                                             */
+;/*               D-70794 Filderstadt                                         */
+;/* EMail:        uz@cc65.org                                                 */
 ;/*                                                                           */
 ;/*                                                                           */
 ;/* This software is provided 'as-is', without any expressed or implied       */
@@ -41,14 +41,15 @@ EMD_HDR_VERSION         = 3                     ; Interface version
 
 EMD_HDR_JUMPTAB         = 4
 EMD_HDR_INSTALL         = EMD_HDR_JUMPTAB+0     ; INSTALL routine
-EMD_HDR_DEINSTALL       = EMD_HDR_JUMPTAB+2     ; DEINSTALL routine
+EMD_HDR_UNINSTALL       = EMD_HDR_JUMPTAB+2     ; UNINSTALL routine
 EMD_HDR_PAGECOUNT       = EMD_HDR_JUMPTAB+4     ; PAGECOUNT routine
 EMD_HDR_MAP             = EMD_HDR_JUMPTAB+6     ; MAP routine
-EMD_HDR_MAPCLEAN        = EMD_HDR_JUMPTAB+8     ; MAPCLEAN routine
-EMD_HDR_COPYFROM        = EMD_HDR_JUMPTAB+10    ; COPYFROM routine
-EMD_HDR_COPYTO          = EMD_HDR_JUMPTAB+12    ; COPYTO routine
+EMD_HDR_USE             = EMD_HDR_JUMPTAB+8     ; USE routine
+EMD_HDR_MAPCLEAN        = EMD_HDR_JUMPTAB+10    ; MAPCLEAN routine
+EMD_HDR_COPYFROM        = EMD_HDR_JUMPTAB+12    ; COPYFROM routine
+EMD_HDR_COPYTO          = EMD_HDR_JUMPTAB+14    ; COPYTO routine
 
-EMD_HDR_JUMPCOUNT       = 7                     ; Number of jump vectors
+EMD_HDR_JUMPCOUNT       = 8                     ; Number of jump vectors
 
 ;------------------------------------------------------------------------------
 ; Offsets into the em_copy structure
@@ -67,9 +68,10 @@ EM_COPY_COUNT           = 5
 ; Driver entry points
 
         .global emd_install
-        .global emd_deinstall
+        .global emd_uninstall
         .global emd_pagecount
         .global emd_map
+        .global emd_use
         .global emd_commit
        .global emd_copyfrom
         .global emd_copyto
@@ -77,10 +79,12 @@ EM_COPY_COUNT           = 5
 ;------------------------------------------------------------------------------
 ; ASM functions
 
+       .global _em_unload
        .global _em_install
-       .global _em_deinstall
+       .global _em_uninstall
        .global _em_pagecount
        .global _em_map
+        .global _em_use          
        .global _em_commit
        .global _em_copyfrom
        .global _em_copyto