-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cpp
85 lines (80 loc) · 2.47 KB
/
setup.cpp
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
int pilogos[4] = {0,40,90,130};
int logooffset=0;
unsigned long int pilogo[40] = {
0b00000000010000000000011010000000,
0b00011111111110000001111111111000,
0b00011111111111000011111111111000,
0b00011110111111100111111101111000,
0b00011111101111100111110111111000,
0b00001111111011100111011111110000,
0b00001111111101100010111111110000,
0b00000111111110000001111111100000,
0b00000011111110000001111111000000,
0b00000001111100000000111110000000,
0b00000000000000011100000000000000,
0b00000000111001111110011100000000,
0b00000011111011111111001111000000,
0b00000111110011111111000111100000,
0b00000111000001111110000011100000,
0b00000110000100000001110001100000,
0b00000000011111000011111100000000,
0b00000000111111100111111110000000,
0b00011001111111100111111110011000,
0b00111001111111100111111111011100,
0b00111011111111100111111111011100,
0b00111001111111100011111111011100,
0b00111001111111000011111110011100,
0b00111001111110000001111100011100,
0b00110000011001111110000000001100,
0b00010000000011111111000000101000,
0b00001110000011111111000011110000,
0b00001111100011111111100111110000,
0b00001111110011111111101111110000,
0b00001111110011111111001111110000,
0b00000111111011111111011111110000,
0b00000111111000111110011111100000,
0b00000011111000000000011111000000,
0b00000000110000000000001100000000,
0b00000000000011111111000000000000,
0b00000000000011111111000000000000,
0b00000000000001111110000000000000,
0b00000000000000111100000000000000,
};
void DVsetup (void){
#define BLACK 0
#define BLUE 1
#define RED 2
#define MEGENTA 3
#define GREEN 4
#define CYAN 5
#define YELLOW 6
#define WHITE 7
#define brightBLACK 8
#define brightBLUE 9
#define brightRED 10
#define brightMEGENTA 11
#define brightGREEN 12
#define brightCYAN 13
#define brightYELLOW 14
#define brightWHITE 15
#define SKYBLUE 16
#define darkGREY 17
graphics.create_pen(0, 0, 0);
graphics.create_pen(0, 0, 0xdd);
graphics.create_pen(0xdd, 0, 0);
graphics.create_pen(0xdd, 0, 0xdd);
graphics.create_pen(0, 0xdd, 0);
graphics.create_pen(0, 0xdd, 0xdd);
graphics.create_pen(0xdd, 0xdd, 0);
graphics.create_pen(0xdd, 0xdd, 0xdd);
graphics.create_pen(0x44, 0x44, 0x44);
graphics.create_pen(0, 0, 0xff);
graphics.create_pen(0xff, 0, 0);
graphics.create_pen(0xff, 0, 0xff);
graphics.create_pen(0, 0xff, 0);
graphics.create_pen(0, 0xff, 0xff);
graphics.create_pen(0xff, 0xff, 0);
graphics.create_pen(0xff, 0xff, 0xff);
graphics.create_pen(0, 0x88, 0xff);
graphics.create_pen(0x88, 0x88, 0x88);
}