more steps towards hdmi support

This commit is contained in:
Shaun Inman 2023-03-02 22:15:22 -05:00
parent 3d0b19e865
commit c56da23f55
5 changed files with 196 additions and 123 deletions

View file

@ -31,6 +31,7 @@ void LOG_note(int level, const char* fmt, ...);
#define HDMI_HEIGHT 720
#define HDMI_PITCH HDMI_WIDTH * FIXED_BPP
#define HDMI_SIZE HDMI_HEIGHT * HDMI_PITCH
#define HDMI_MENU_WIDTH 856 // FIXED_WIDTH * FIXED_HEIGHT / HDMI_HEIGHT rounded up to nearest 8
#define PAGE_COUNT 2
#define PAGE_SCALE 2