ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/sysdeps.h
(Generate patch)

Comparing BasiliskII/src/AmigaOS/sysdeps.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.12 by cebix, 2001-07-06T17:36:07Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions for AmigaOS
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 28 | Line 28
28   #include <stdlib.h>
29   #include <string.h>
30  
31 < // Are the Mac and the host address space the same?
31 > #include "user_strings_amiga.h"
32 >
33 > // Mac and host address space are the same
34   #define REAL_ADDRESSING 1
35  
36 < // Are we using a 68k emulator or the real thing?
36 > // Using 68k natively
37   #define EMULATED_68K 0
38  
39 < // Is the Mac ROM write protected?
39 > // Mac ROM is not write protected
40   #define ROM_IS_WRITE_PROTECTED 0
41 + #define USE_SCRATCHMEM_SUBTERFUGE 1
42 +
43 + // ExtFS is supported
44 + #define SUPPORTS_EXTFS 1
45 +
46 + // mon is not supported
47 + #undef ENABLE_MON
48  
49   // Data types
50   typedef unsigned char uint8;
# Line 44 | Line 53 | typedef unsigned short uint16;
53   typedef signed short int16;
54   typedef unsigned long uint32;
55   typedef signed long int32;
56 < typedef char bool;
57 < #define true 1
58 < #define false 0
59 < typedef LONG loff_t;
56 > typedef unsigned long long uint64;
57 > typedef signed long long int64;
58 >
59 > typedef unsigned long long loff_t;
60  
61   // Time data type for Time Manager emulation
62   typedef struct timeval tm_time_t;
# Line 58 | Line 67 | typedef struct timeval tm_time_t;
67   #define htons(x) (x)
68   #define htonl(x) (x)
69  
70 + // Some systems don't define this (ExecBase->AttnFlags)
71 + #ifndef AFF_68060
72 + #define AFF_68060 (1L<<7)
73 + #endif
74 +
75   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines