--- BasiliskII/src/AmigaOS/sysdeps.h 1999/10/12 20:00:50 1.2 +++ BasiliskII/src/AmigaOS/sysdeps.h 2000/04/10 18:52:42 1.8 @@ -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 @@ -39,6 +39,12 @@ // Is the Mac ROM write protected? #define ROM_IS_WRITE_PROTECTED 0 +// ExtFS is supported +#define SUPPORTS_EXTFS 1 + +// mon is not supported +#define ENABLE_MON 0 + // Data types typedef unsigned char uint8; typedef signed char int8; @@ -46,18 +52,26 @@ typedef unsigned short uint16; typedef signed short int16; typedef unsigned long uint32; typedef signed long int32; -typedef char bool; -#define true 1 -#define false 0 -typedef LONG loff_t; +typedef unsigned long long uint64; +typedef signed long long int64; + +typedef unsigned long long loff_t; // Time data type for Time Manager emulation typedef struct timeval tm_time_t; +// Offset Mac->AmigaOS time in seconds +#define TIME_OFFSET 0x8b31ef80 + // Endianess conversion (not needed) #define ntohs(x) (x) #define ntohl(x) (x) #define htons(x) (x) #define htonl(x) (x) +// Some systems don't define this (ExecBase->AttnFlags) +#ifndef AFF_68060 +#define AFF_68060 (1L<<7) +#endif + #endif