summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/display.hch
blob: 4568b98925032eb93b023b209622e369287a00c6 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*! \file display.hch
 *
 * \section generic Display API
 *
 * \section project Project information.
 * Project Graphic Equalizer\n
 * \author 
 * \date 20041011
 * \version 0.1
 *
 * \section copyright Copyright
 * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
 *
 * \section history Change history
 * 20041011: \n	Initial version
 *
 ********************************************************************/
 
#ifndef _DISPLAY_HCH
#define _DISPLAY_HCH 1



/*
 * Use defines to keep API generic
 */
#define display_run(VideoOut, ClockRate) PalVideoOutRun(VideoOut, ClockRate)
#define display_init(VideoOut) PalVideoOutEnable(VideoOut)



/*
 * Main display loop. This function never returns! It handles display output.
 * It needs to respond to certain events set by the events pointer. Also it
 * informs events what the current mask is. To optain the current mask we need
 * the X and Y coordinates from our mousedata pointer.
 */
macro proc display_main(events, mousedata, CLOCKRATE, VIDEOOUT, RAM_BANK0);

#else
#error "ERROR file display.hch multiple times included"
#endif /* --- _DISPLAY_HCH --- */