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

Comparing BasiliskII/src/BeOS/sysdeps.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.11 by cebix, 2001-02-09T20:04:15Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions for BeOS
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 25 | Line 25
25   #include <support/SupportDefs.h>
26   #include <support/ByteOrder.h>
27  
28 + #include "user_strings_beos.h"
29 +
30   // Are the Mac and the host address space the same?
31   #ifdef __i386__
32   #define REAL_ADDRESSING 0
33 + #undef WORDS_BIGENDIAN
34   #else
35   #define REAL_ADDRESSING 1
36 + #define WORDS_BIGENDIAN 1
37   #endif
38  
39 < // Are we using a 68k emulator or the real thing?
39 > // Using 68k emulator
40   #define EMULATED_68K 1
41  
42 < // Is the Mac ROM write protected?
42 > // Mac ROM is write protected
43   #define ROM_IS_WRITE_PROTECTED 1
44  
45 + // ExtFS is supported
46 + #define SUPPORTS_EXTFS 1
47 +
48 + // mon is not supported
49 + #undef ENABLE_MON
50 +
51   // Time data type for Time Manager emulation
52   typedef bigtime_t tm_time_t;
53  
54 + // Offset Mac->BeOS time in seconds
55 + #define TIME_OFFSET 0x7c25b080
56 +
57   // 64 bit file offsets
58   typedef off_t loff_t;
59  
# Line 51 | Line 64 | typedef off_t loff_t;
64   #define uae_u16 uint16
65   #define uae_s32 int32
66   #define uae_u32 uint32
67 + #define uae_s64 int64
68 + #define uae_u64 uint64
69   typedef uae_u32 uaecptr;
70 + #define VAL64(a) (a ## LL)
71 + #define UVAL64(a) (a ## uLL)
72  
73   // UAE CPU defines
74   #ifdef __i386__
# Line 74 | Line 91 | static inline void do_put_mem_word(uae_u
91   #endif
92  
93   #define X86_ASSEMBLY
94 + #define UNALIGNED_PROFITABLE
95 + #define OPTIMIZED_FLAGS
96   #define ASM_SYM_FOR_FUNC(a) __asm__(a)
97   #define REGPARAM __attribute__((regparm(3)))
98  
# Line 86 | Line 105 | static inline void do_put_mem_long(uae_u
105   static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {*a = v;}
106  
107   #undef X86_ASSEMBLY
108 + #define UNALIGNED_PROFITABLE
109 + #undef OPTIMIZED_FLAGS
110   #define ASM_SYM_FOR_FUNC(a)
111   #define REGPARAM
112   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines