Project

General

Profile

Revision 261

stuff

View differences:

graph.c
22 22
#define AH_FUNC_NOT_SUPP    0x02    /** @brief Function call is not supported in current HW configuration */
23 23
#define AH_FUNC_INVALID     0x03    /** @brief Invalid function in current video mode */
24 24

  
25
// Graphics modes
26
#define INDEXED_1024_768        0x105
27
#define DIRECT_640_480_888      0x110
28
#define DIRECT_800_600_888      0x115
29
#define DIRECT_1024_768_888     0x118
30
#define DIRECT_1280_1024_565    0x11A
31
#define DIRECT_1280_1024_888    0x11B
32
#define LINEAR_FRAME_BUFFER_MD  BIT(14)
33

  
34

  
35

  
36

  
37

  
38 25
/// MACROS
39 26
#define FAR2PHYS(n)         ((((n)>>12) & 0xFFFFFFF0) + ((n) & 0x0000FFFF))
40 27

  

Also available in: Unified diff