/ MCUME_teensy / teensyvcs / raster.h
raster.h
 1  /*****************************************************************************
 2  
 3     This file is part of Virtual 2600, the Atari 2600 Emulator
 4     ==========================================================
 5     
 6     Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
 7  
 8     This software is distributed under the terms of the GNU General Public
 9     License. This is free software with ABSOLUTELY NO WARRANTY.
10     
11     See the file COPYING for details.
12     
13     $Id: raster.h,v 1.5 1997/04/06 02:15:13 ahornby Exp $
14  ******************************************************************************/
15  
16  /*
17    The raster prototypes.
18    */
19  
20  #ifndef RASTER_H
21  #define RASTER_H
22  /* Color lookup tables. Used to speed up rendering */
23  /* The current colour lookup table */
24  extern int *colour_lookup;  
25  
26  /* Colour table */
27  #define P0M0_COLOUR 0
28  #define P1M1_COLOUR 1
29  #define PFBL_COLOUR 2
30  #define BK_COLOUR 3
31  extern unsigned int colour_table[4];
32  
33  /* normal/alternate, not scores/scores*/
34  extern int norm_val, scores_val;
35  extern int *colour_ptrs[2][3];
36  
37  void tv_raster(int line);
38  
39  extern void 
40  init_raster(void);
41  #endif
42  
43  
44