4 Copyright (C) 2002-2011 Neil Cafferkey
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
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 #include <exec/types.h>
28 #include <exec/libraries.h>
29 #include <intuition/classes.h>
31 #define DATATYPE_NAME "degas.datatype"
34 #define DATE "24.7.2011"
47 #define STR(A) _STR(A)
51 struct Library library
;
54 struct ExecBase
*sys_base
;
55 struct Library
*superclass_base
;
56 struct IntuitionBase
*intuition_base
;
57 struct UtilityBase
*utility_base
;
58 struct Library
*datatypes_base
;
59 struct GfxBase
*graphics_base
;
60 struct DosLibrary
*dos_base
;
65 #define BEWord(A) AROS_BE2WORD(A)
66 #define BELong(A) AROS_BE2LONG(A)
73 #define SysBase (base->sys_base)
74 #define IntuitionBase (base->intuition_base)
75 #define UtilityBase (base->utility_base)
76 #define DataTypesBase (base->datatypes_base)
77 #define GfxBase (base->graphics_base)
78 #define DOSBase (base->dos_base)
85 #if defined(__mc68000) && !defined(__AROS__)
86 #define REG(A) __asm(A)