not rot, try tmds
This commit is contained in:
parent
5cdd3aba4e
commit
13dfdf6849
1 changed files with 3 additions and 3 deletions
|
|
@ -35,9 +35,9 @@
|
|||
// ----------------------------------------------------------------------------
|
||||
// DVI constants
|
||||
|
||||
#define TMDS_CTRL_00 0x354u
|
||||
#define TMDS_CTRL_00 0x154u
|
||||
#define TMDS_CTRL_01 0x0abu
|
||||
#define TMDS_CTRL_10 0x154u
|
||||
#define TMDS_CTRL_10 0x354u
|
||||
#define TMDS_CTRL_11 0x2abu
|
||||
|
||||
#define SYNC_V0_H0 (TMDS_CTRL_00 | (TMDS_CTRL_00 << 10) | (TMDS_CTRL_00 << 20))
|
||||
|
|
@ -163,7 +163,7 @@ void video_init(uint32_t *framebuffer) {
|
|||
|
||||
size_t pixels_per_word = 32;
|
||||
size_t words_per_line = REAL_DISP_WIDTH / pixels_per_word;
|
||||
uint8_t rot = 25; // 24 + color_depth;
|
||||
uint8_t rot = 24; // 24 + color_depth;
|
||||
size_t shift_amount = 31; // color_depth % 32;
|
||||
|
||||
size_t command_word = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue