Revision eccabc6e hw/vga_template.h
b/hw/vga_template.h | ||
---|---|---|
127 | 127 |
else |
128 | 128 |
((uint16_t *)d)[8] = bgcol; |
129 | 129 |
#else |
130 |
((uint32_t *)d)[0] = ((-(font_data >> 7)) & xorcol) ^ bgcol;
|
|
131 |
((uint32_t *)d)[1] = ((-(font_data >> 6) & 1) & xorcol) ^ bgcol;
|
|
132 |
((uint32_t *)d)[2] = ((-(font_data >> 5) & 1) & xorcol) ^ bgcol;
|
|
133 |
((uint32_t *)d)[3] = ((-(font_data >> 4) & 1) & xorcol) ^ bgcol;
|
|
134 |
((uint32_t *)d)[4] = ((-(font_data >> 3) & 1) & xorcol) ^ bgcol;
|
|
135 |
((uint32_t *)d)[5] = ((-(font_data >> 2) & 1) & xorcol) ^ bgcol;
|
|
136 |
((uint32_t *)d)[6] = ((-(font_data >> 1) & 1) & xorcol) ^ bgcol;
|
|
137 |
v = ((-(font_data >> 0) & 1) & xorcol) ^ bgcol;
|
|
130 |
((uint32_t *)d)[0] = (-((font_data >> 7)) & xorcol) ^ bgcol;
|
|
131 |
((uint32_t *)d)[1] = (-((font_data >> 6) & 1) & xorcol) ^ bgcol;
|
|
132 |
((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol;
|
|
133 |
((uint32_t *)d)[3] = (-((font_data >> 4) & 1) & xorcol) ^ bgcol;
|
|
134 |
((uint32_t *)d)[4] = (-((font_data >> 3) & 1) & xorcol) ^ bgcol;
|
|
135 |
((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol;
|
|
136 |
((uint32_t *)d)[6] = (-((font_data >> 1) & 1) & xorcol) ^ bgcol;
|
|
137 |
v = (-((font_data >> 0) & 1) & xorcol) ^ bgcol;
|
|
138 | 138 |
((uint32_t *)d)[7] = v; |
139 | 139 |
if (dup9) |
140 | 140 |
((uint32_t *)d)[8] = v; |
Also available in: Unified diff