]> git.sur5r.net Git - cc65/blobdiff - include/em/em-kernel.h
Missing declaration
[cc65] / include / em / em-kernel.h
index 8a3938fb6631b35741558adf94b98d05c9e13b11..ffc6e131a9db1ea1472fe6969c260b009ba2954f 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                                       */
+/*               Roemerstrasse 52                                            */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 /* A structure that describes the header of an extended memory driver loaded
- * into memory.
- */
+** into memory.
+*/
 typedef struct {
 
     /* Driver header */
     char                id[3];          /* Contains 0x65, 0x6d, 0x64 ("emd") */
     unsigned char       version;        /* Interface version */
+    void*               libreference;   /* Library reference */
 
     /* Jump vectors. Note that these are not C callable */
     void*               install;        /* INSTALL routine */
@@ -60,7 +61,7 @@ typedef struct {
     void*               map;            /* MAP routine */
     void*               use;            /* USE routine */
     void*               mapclean;       /* MAPCLEAN routine */
-    void*              copyfrom;       /* COPYFROM routine */
+    void*               copyfrom;       /* COPYFROM routine */
     void*               copyto;         /* COPYTO routine */
 
 } em_drv_header;
@@ -68,27 +69,9 @@ typedef struct {
 
 
 /* EM kernel variables */
-extern em_drv_header*          em_drv;         /* Pointer to driver */
-
-
-
-
-/*****************************************************************************/
-/*                                Functions                                 */
-/*****************************************************************************/
-
-
-
-unsigned char __fastcall__ em_install (void* driver);
-/* Install the driver once it is loaded, return an error code. */
-
-void __fastcall__ em_deinstall (void);
-/* Deinstall the driver before unloading it */
+extern em_drv_header*   em_drv;         /* Pointer to driver */
 
 
 
 /* End of em-kernel.h */
 #endif
-
-
-