home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 13 / MA_Cover_13.bin / source / c / gbe / data.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-12  |  1.4 KB  |  44 lines

  1. /*
  2.  *  gbe - gameboy emulator
  3.  *  Copyright (C) 1999  Chuck Mason, Steven Fuller
  4.  *
  5.  *  This program is free software; you can redistribute it and/or modify
  6.  *  it under the terms of the GNU General Public License as published by
  7.  *  the Free Software Foundation; either version 2 of the License, or
  8.  *  (at your option) any later version.
  9.  *
  10.  *  This program is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *  GNU General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU General Public License
  16.  *  along with this program; if not, write to the Free Software
  17.  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  18.  *
  19.  *
  20.  *  Chuck Mason <chuckjr@sinclair.net>
  21.  *  Steven Fuller <relnev@atdot.org>
  22.  */
  23. #ifndef __DATA_H
  24. #define __DATA_H
  25.  
  26. typedef enum _force_type { REGULAR = 0, COLOR = 1, NONE } force_type;
  27.  
  28. typedef union _wordun {
  29.      unsigned short uw;
  30.        signed short sw;
  31.      struct {
  32.           unsigned char h; /* Flip-Flopped for BIG_ENDIAN by AmiDog */
  33.           unsigned char l;
  34.      } b;
  35. } wordun;
  36.  
  37. extern unsigned long cycles_per_hblank;
  38. extern unsigned char use_joystick;
  39. extern unsigned char gameboy_screen_mul;
  40. extern force_type force_system;
  41. extern char **gbe_argv;
  42. extern int    gbe_argc;
  43.  
  44. #endif