Annotation of 43BSDTahoe/new/X/libibm/libsrc/aed.h, revision 1.1.1.1

1.1       root        1: /* $Header: aed.h,v 10.1 86/11/19 10:44:53 jg Exp $ */
                      2: /* aed.h - Defines and macros needed to support AED
                      3:  *
                      4:  *     Author:
                      5:  *             Scott Bates
                      6:  *             Brown University
                      7:  *             IRIS, Box 1946
                      8:  *             Providence, RI 02912
                      9:  *
                     10:  *
                     11:  *             Copyright (c) 1986 Brown University
                     12:  *
                     13:  * Permission to use, copy, modify and distribute this software and its
                     14:  * documentation for any purpose and without fee is hereby granted, provided
                     15:  * that the above copyright notice appear in all copies, and that both
                     16:  * that copyright notice and this permission notice appear in supporting
                     17:  * documentation, and that the name of Brown University not be used in
                     18:  * advertising or publicity pertaining to distribution of the software
                     19:  * without specific, written prior permission. Brown University makes no
                     20:  * representations about the suitability of this software for any purpose.
                     21:  * It is provided "as-is" without express or implied warranty.
                     22:  */
                     23: 
                     24: #include "../bitblt/bitblt_aed.h"
                     25: 
                     26: #define SCREEN_BASE    AED_BM_ADDR /* buffer address for bitmap structure */
                     27: #define SCREEN_BM_SIZE  AED_BM_SIZE /* size of the aed screen bitmap */
                     28: #define XDEV_ID        XDEV_IBMAED /* device id for info structure */
                     29: 
                     30: #define X_SCREEN_WIDTH  AED_WIDTH   /* number of bits/line for aed display */
                     31: #define X_SCREEN_HEIGHT AED_HEIGHT  /* number of lines on the screen */
                     32: 
                     33: #define REAL_SCREEN_WIDTH  X_SCREEN_WIDTH
                     34: #define REAL_SCREEN_HEIGHT X_SCREEN_HEIGHT 
                     35: 
                     36: #define CURSOR_TYPE    HARD_CURSOR     /* aed uses hardware cursor */
                     37: 
                     38: #define DISPLAY_INIT()  aed_init()     /* display initialization routine */
                     39: 
                     40: #define SCREEN_DEVICE  "/dev/aed"      /* device name of display */
                     41: #define MOUSE_DEVICE   "/dev/msaed"    /* device name of mouse for display */
                     42: 
                     43: /*
                     44:  * Defines for default foreground/background
                     45:  */
                     46: 
                     47: #define        WHITE_ON_BLACK  0
                     48: #define        BLACK_ON_WHITE  1
                     49: 
                     50: /*
                     51:  * gets color of constant tile (black or white)
                     52:  */
                     53: 
                     54: #define CONSTANT_TILE_COLOR(blt) ((blt->tile_ptr->tile[0]) & 0xFFFF ? 1 : 0)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.