/* */
/* */
/* */
-/* (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 */
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;
/* 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
-
-
-