/* */
/* */
/* */
-/* (C) 1998-2000, Ullrich von Bassewitz */
+/* (C) 1998-2015, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
#ifdef NDEBUG
# define assert(expr)
#else
-extern void __cdecl__ _afailed (const char*, unsigned);
+extern void __fastcall__ _afailed (const char*, unsigned);
# define assert(expr) ((expr)? (void)0 : _afailed(__FILE__, __LINE__))
#endif
/* */\r
/* */\r
/* */\r
-/* (C) 2000-2001 Piotr Fusik <fox@scene.pl> */\r
+/* (C) 2000-2015 Piotr Fusik <fox@scene.pl> */\r
/* */\r
/* This file is based on the zlib.h from 'zlib' general purpose compression */\r
/* library, version 1.1.3, (C) 1995-1998 Jean-loup Gailly and Mark Adler. */\r
*/\r
\r
\r
-int __cdecl__ uncompress (char* dest, unsigned* destLen,\r
- const char* source, unsigned sourceLen);\r
+int __fastcall__ uncompress (char* dest, unsigned* destLen,\r
+ const char* source, unsigned sourceLen);\r
/*\r
Original zlib description:\r
\r
/*
** Marc 'BlackJack' Rintsch, 06.03.2001
**
-** unsigned int __cdecl__ cbm_load(const char* name,
-** unsigned char device,
-** const unsigned char* data);
+** unsigned int __fastcall__ cbm_load(const char* name,
+** unsigned char device,
+** const unsigned char* data);
*/
#include <cbm.h>
/*
** _afailed.c
**
-** Ullrich von Bassewitz, 06.06.1998
+** 1998-06-06, Ullrich von Bassewitz
+** 2015-03-13, Greg King
*/
-void _afailed (char* file, unsigned line)
+void __fastcall__ _afailed (char* file, unsigned line)
{
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
exit (2);
;
; Ullrich von Bassewitz, 11.08.1998
;
-; char* DbgMemDump (unsigend Addr, char* Buf, unsigned char Length);
+; char* __cdecl__ DbgMemDump (unsigend Addr, char* Buf, unsigned char Length);
;
.export _DbgMemDump
#include <zlib.h>
-int uncompress (char* dest, unsigned* destLen,
- const char* source, unsigned sourceLen)
+int __fastcall__ uncompress (char* dest, unsigned* destLen,
+ const char* source, unsigned sourceLen)
{
unsigned len;
unsigned char* ptr;