dev_fb.h Source File
Back to the index.
Go to the documentation of this file. 1 #ifndef TESTMACHINE_FB_H
2 #define TESTMACHINE_FB_H
12 #define DEV_FB_ADDRESS 0x12000000
15 #define DEV_FBCTRL_ADDRESS 0x12f00000
16 #define DEV_FBCTRL_LENGTH 0x20
24 #define DEV_FBCTRL_PORT 0x00
25 #define DEV_FBCTRL_DATA 0x10
27 #define DEV_FBCTRL_PORT_COMMAND 0
28 #define DEV_FBCTRL_PORT_X1 1
29 #define DEV_FBCTRL_PORT_Y1 2
30 #define DEV_FBCTRL_PORT_X2 3
31 #define DEV_FBCTRL_PORT_Y2 4
32 #define DEV_FBCTRL_PORT_COLOR_R 5
33 #define DEV_FBCTRL_PORT_COLOR_G 6
34 #define DEV_FBCTRL_PORT_COLOR_B 7
35 #define DEV_FBCTRL_NPORTS 8
43 #define DEV_FBCTRL_COMMAND_NOP 0
46 #define DEV_FBCTRL_COMMAND_SET_RESOLUTION 1
49 #define DEV_FBCTRL_COMMAND_GET_RESOLUTION 2
52 #define DEV_FBCTRL_COMMAND_FILL 3
53 #define DEV_FBCTRL_COMMAND_COPY 4
56 #define DEV_FBCTRL_MAXY(x) (((DEV_FBCTRL_ADDRESS-DEV_FB_ADDRESS) / 3) / x)
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18