home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / d / ddx-mips.zip / MIPS.H < prev    next >
C/C++ Source or Header  |  1992-04-07  |  2KB  |  64 lines

  1. /*
  2.  * $XConsortium$
  3.  *
  4.  * Copyright 1991 MIPS Computer Systems, Inc.
  5.  *
  6.  * Permission to use, copy, modify, distribute, and sell this software and its
  7.  * documentation for any purpose is hereby granted without fee, provided that
  8.  * the above copyright notice appear in all copies and that both that
  9.  * copyright notice and this permission notice appear in supporting
  10.  * documentation, and that the name of MIPS not be used in advertising or
  11.  * publicity pertaining to distribution of the software without specific,
  12.  * written prior permission.  MIPS makes no representations about the
  13.  * suitability of this software for any purpose.  It is provided "as is"
  14.  * without express or implied warranty.
  15.  *
  16.  * MIPS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  17.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL MIPS
  18.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  19.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  20.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
  21.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22.  */
  23. /* $Header: mips.h,v 1.7 92/04/06 21:01:54 dd Exp $ */
  24. #ifndef __DDX_MIPS_H
  25. #define    __DDX_MIPS_H
  26.  
  27. #ifndef PIXIE
  28. #define PIXIE       0    /* Define to allow Pause/Break key to exit */
  29.                 /* must be defined for pixie analysis */
  30.                 /* Also must provide -DPIXIE in os/4.2bsd */
  31. #endif
  32.  
  33. #ifndef NETWORK_KEYBD
  34. #define NETWORK_KEYBD    0    /* Connect across TCP socket to remote keyboard client */
  35. #endif
  36.  
  37. /* System types */
  38. #define RS2030        0
  39. #define RS3230        1
  40. #define    RS4000        2
  41.  
  42. extern int mipsSysType;
  43.  
  44. /* big/little-endian code selection macro */
  45. #ifndef IFMIPSEL
  46. #ifdef _MIPSEL
  47. #define    IFMIPSEL(a, b) a
  48. #else
  49. #define    IFMIPSEL(a, b) b
  50. #endif
  51. #endif
  52.  
  53. /* 4 bit frame buffers supported on big-endian systems only */
  54. #ifndef    MIPS_4BIT
  55. #define    MIPS_4BIT !defined(_MIPSEL)
  56. #endif
  57.  
  58. /* measured DPI values for MIPS monitors */
  59. #define    DPI_SONY19    96
  60. #define    DPI_SONY16    110
  61. #define    DPI_MONO17    100
  62.  
  63. #endif /* __DDX_MIPS_H */
  64.