use USER_CPPFLAGS
[AROS.git] / arch / all-native / hidd / vgagfx / vgagfx_hidd.h
blobd4b751eee6c002b9f8d1a913b5aacc6ca5ea9d92
1 #ifndef VGAGFX_HIDD_H
2 #define VGAGFX_HIDD_H
4 /*
5 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: VGA Gfx Hidd data.
9 Lang: English.
12 #include <exec/interrupts.h>
13 #include <exec/types.h>
14 #include <exec/nodes.h>
16 /***** VGA gfx HIDD *******************/
18 /* IDs */
19 #define IID_Hidd_Gfx_VGA "hidd.gfx.vga"
20 #define CLID_Hidd_Gfx_VGA "hidd.gfx.vga"
22 /* I've tested additional modes on my ThinkPad 365x.
23 The display appears either black or broken.
24 Perhaps LCD controller doesn't recognise them.
25 sonic */
26 #define ONLY640 1
28 #ifdef ONLY640
29 #define NUM_MODES 1
30 #else
31 #define NUM_MODES 3
32 #endif
34 struct vgaModeDesc
36 char *name; /* Mode name */
37 UWORD Width;
38 UWORD Height;
39 UBYTE Depth; /* BitsPerPixel */
40 UBYTE clock; /* PixelClock used */
41 ULONG Flags; /* Misc Flags */
42 IPTR HDisplay;
43 IPTR HSyncStart;
44 IPTR HSyncEnd;
45 IPTR HTotal;
46 IPTR HSkew;
47 IPTR VDisplay;
48 IPTR VSyncStart;
49 IPTR VSyncEnd;
50 IPTR VTotal;
53 struct vgaModeEntry
55 struct MinNode Node;
56 ULONG mode; /* Mode desc */
57 struct vgaModeDesc *Desc;
60 struct VGAGfxDriverData
62 struct Interrupt ResetInterrupt;
65 #endif /* VGAGFX_HIDD_H */