--- BasiliskII/src/AmigaOS/sysdeps.h 1999/10/21 22:39:59 1.5 +++ BasiliskII/src/AmigaOS/sysdeps.h 2000/10/09 17:05:15 1.10 @@ -1,7 +1,7 @@ /* * sysdeps.h - System dependent definitions for AmigaOS * - * Basilisk II (C) 1997-1999 Christian Bauer + * Basilisk II (C) 1997-2000 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,18 +30,22 @@ #include "user_strings_amiga.h" -// Are the Mac and the host address space the same? +// Mac and host address space are the same #define REAL_ADDRESSING 1 -// Are we using a 68k emulator or the real thing? +// Using 68k natively #define EMULATED_68K 0 -// Is the Mac ROM write protected? +// Mac ROM is not write protected #define ROM_IS_WRITE_PROTECTED 0 +#define USE_SCRATCHMEM_SUBTERFUGE 1 // ExtFS is supported #define SUPPORTS_EXTFS 1 +// mon is not supported +#undef ENABLE_MON + // Data types typedef unsigned char uint8; typedef signed char int8; @@ -49,17 +53,10 @@ typedef unsigned short uint16; typedef signed short int16; typedef unsigned long uint32; typedef signed long int32; +typedef unsigned long long uint64; +typedef signed long long int64; -#ifdef __GNUC__ typedef unsigned long long loff_t; -#endif - -#ifdef __SASC -typedef char bool; -#define true 1 -#define false 0 -typedef LONG loff_t; -#endif // Time data type for Time Manager emulation typedef struct timeval tm_time_t; @@ -73,7 +70,7 @@ typedef struct timeval tm_time_t; #define htons(x) (x) #define htonl(x) (x) -// Some systems don't define this +// Some systems don't define this (ExecBase->AttnFlags) #ifndef AFF_68060 #define AFF_68060 (1L<<7) #endif