Indentation fix, cleanup.
[AROS.git] / arch / all-native / hidd / vga / vgaclass.h
blob978eaaf579aee48ec6a3320604c86ec0ac6dbc01
1 #ifndef HIDD_VGACLASS_H
2 #define HIDD_VGACLASS_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Some VGA useful data.
9 Lang: English.
12 #include <exec/interrupts.h>
13 #include <exec/types.h>
14 #include <exec/nodes.h>
16 /* I've tested additional modes on my ThinkPad 365x.
17 The display appears either black or broken.
18 Perhaps LCD controller doesn't recognise them.
19 sonic */
20 #define ONLY640 1
22 #ifdef ONLY640
23 #define NUM_MODES 1
24 #else
25 #define NUM_MODES 3
26 #endif
28 struct vgaModeDesc
30 char *name; /* Mode name */
31 UWORD Width;
32 UWORD Height;
33 UBYTE Depth; /* BitsPerPixel */
34 UBYTE clock; /* PixelClock used */
35 ULONG Flags; /* Misc Flags */
36 IPTR HDisplay;
37 IPTR HSyncStart;
38 IPTR HSyncEnd;
39 IPTR HTotal;
40 IPTR HSkew;
41 IPTR VDisplay;
42 IPTR VSyncStart;
43 IPTR VSyncEnd;
44 IPTR VTotal;
47 struct vgaModeEntry
49 struct MinNode Node;
50 ULONG mode; /* Mode desc */
51 struct vgaModeDesc *Desc;
54 struct Vga_Data
56 struct Interrupt ResetInterrupt;
59 #endif /* HIDD_VGACLASS_H */