mirror of
https://gitlab.com/zephray/glider.git
synced 2024-12-22 13:43:16 +00:00
Add support for 600x800 timing mode
This commit is contained in:
parent
aa2b932a34
commit
e2288b09d2
1 changed files with 13 additions and 1 deletions
14
fw/config.h
14
fw/config.h
|
@ -36,6 +36,7 @@
|
||||||
// #define SCREEN_10_8_INCH
|
// #define SCREEN_10_8_INCH
|
||||||
#define SCREEN_13_3_INCH
|
#define SCREEN_13_3_INCH
|
||||||
|
|
||||||
|
// #define SCREEN_600_800
|
||||||
// #define SCREEN_800_600
|
// #define SCREEN_800_600
|
||||||
// #define SCREEN_1024_758
|
// #define SCREEN_1024_758
|
||||||
// #define SCREEN_1448_1072
|
// #define SCREEN_1448_1072
|
||||||
|
@ -96,7 +97,18 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Screen timing
|
// Screen timing
|
||||||
#if defined(SCREEN_800_600)
|
#if defined(SCREEN_600_800)
|
||||||
|
// 600x800 @ 60
|
||||||
|
#define SCREEN_CLK 61000
|
||||||
|
#define SCREEN_HACT 600
|
||||||
|
#define SCREEN_VACT 800
|
||||||
|
#define SCREEN_HBLK 600
|
||||||
|
#define SCREEN_HFP 64
|
||||||
|
#define SCREEN_HSYNC 192
|
||||||
|
#define SCREEN_VBLK 48
|
||||||
|
#define SCREEN_VFP 1
|
||||||
|
#define SCREEN_VSYNC 3
|
||||||
|
#elif defined(SCREEN_800_600)
|
||||||
// 800x600 @ 60, 40MHz DMT
|
// 800x600 @ 60, 40MHz DMT
|
||||||
#define SCREEN_CLK 40000
|
#define SCREEN_CLK 40000
|
||||||
#define SCREEN_HACT 800
|
#define SCREEN_HACT 800
|
||||||
|
|
Loading…
Reference in a new issue