From 13dfdf6849e2fb865aab8a13b8ca9185b5e3427b Mon Sep 17 00:00:00 2001 From: Liz Date: Thu, 7 Aug 2025 16:23:19 -0400 Subject: [PATCH] not rot, try tmds --- src/video_hstx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video_hstx.c b/src/video_hstx.c index 392c5be..b2379b5 100644 --- a/src/video_hstx.c +++ b/src/video_hstx.c @@ -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;