Home | History | Annotate | Line # | Download | only in boot
      1 /* $NetBSD: amigagraph.h,v 1.5 2008/04/28 20:23:13 martin Exp $ */
      2 
      3 /*-
      4  * Copyright (c) 1996 The NetBSD Foundation, Inc.
      5  * All rights reserved.
      6  *
      7  * This code is derived from software contributed to The NetBSD Foundation
      8  * by Ignatios Souvatzis.
      9  *
     10  * Redistribution and use in source and binary forms, with or without
     11  * modification, are permitted provided that the following conditions
     12  * are met:
     13  * 1. Redistributions of source code must retain the above copyright
     14  *    notice, this list of conditions and the following disclaimer.
     15  * 2. Redistributions in binary form must reproduce the above copyright
     16  *    notice, this list of conditions and the following disclaimer in the
     17  *    documentation and/or other materials provided with the distribution.
     18  *
     19  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     20  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     21  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     22  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     23  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     29  * POSSIBILITY OF SUCH DAMAGE.
     30  */
     31 
     32 #ifndef AMIGA_GRAPH_H
     33 #define AMIGA_GRAPH_H
     34 
     35 #define SA_Title	0x80000028
     36 #define SA_Colors	0x80000029
     37 
     38 #define SA_Sysfont	0x8000002C
     39 #define SA_Type		0x8000002D
     40 
     41 #define SA_DisplayID	0x80000032
     42 #define SA_ShowTitle	0x80000036
     43 #define SA_Quiet	0x80000038
     44 #define SA_AutoScroll	0x80000039
     45 #define SA_Pens		0x8000003A
     46 
     47 #define PUBLICSCREEN 2
     48 #define CUSTOMSCREEN 0xF
     49 
     50 #define	WA_Left		0x80000064
     51 #define	WA_Top		0x80000065
     52 #define	WA_Width	0x80000066
     53 #define	WA_Height	0x80000067
     54 #define WA_DetailPen	0x80000068
     55 #define WA_BlockPen	0x80000069
     56 #define WA_IDCMP	0x8000006A
     57 #define WA_Flags	0x8000006B
     58 #define WA_Gadgets	0x8000006C
     59 #define WA_Checkmark	0x8000006D
     60 #define WA_Title	0x8000006E
     61 #define WA_ScreenTitle	0x8000006F
     62 #define WA_CustomScreen	0x80000070
     63 #define WA_SuperBitMap	0x80000071
     64 #define WA_MinWidth	0x80000072
     65 #define WA_MinHeight	0x80000073
     66 #define WA_MaxWidth	0x80000074
     67 #define WA_MaxHeight	0x80000075
     68 #define WA_Backdrop	0x80000085
     69 #define WA_Borderless	0x80000088
     70 #define WA_Activate	0x80000089
     71 #define WA_AutoAdjust	0x80000090
     72 
     73 struct Window {
     74 	u_int8_t dum1[136];
     75 };
     76 #endif /* AMIGA_GRAPH_H */
     77