summaryrefslogtreecommitdiffstats
path: root/software/pong3/GPU.h
blob: 38833812f4fdeabacf1f6e56b487f4c9b6233926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * GPU.h
 *
 *  Created on: Oct 11, 2013
 *      Author: root
 */

#ifndef GPU_H_
#define GPU_H_

#define GPU_OFFSET		0x80
#if 0
#define GPU_WIDTH 		640
#define GPU_HEIGHT		480
#else
#define GPU_WIDTH 		800
#define GPU_HEIGHT		600
#endif

#define GPU_REG_BLANK		0x0
#define GPU_REG_SPRITE_X	0x1
#define GPU_REG_SPRITE_Y	0x2
#define GPU_REG_BAT0_Y		0x3
#define GPU_REG_BAT1_Y		0x4
#define GPU_REG_SPRITE_COLOUR	0x5
#define GPU_REG_SPRITE_BASE	0x10
 

#endif /* GPU_H_ */