RetroTINK-4K Custom Output Modeline Instructions


Up to 4 custom HDMI® output modelines can be loaded on the SD card. The files are custom1.txt, custom2.txt, custom3.txt and custom4.txt respectively.

 

Modelines are stored as a single line of 12 comma separated values. For example:

1690, 130, 184, 624, 1, 1420, 3, 10, 60, 1, 69.420, "1420p60"

 

1. Horizontal Active Pixels

2. Horizontal Front Porch Pixels

3. Horizontal Sync Pixels

4. Horizontal Total Blank Pixels (Active + Front Porch + Sync + Back Porch)

5. Horizontal Sync Polarity (1 = positive, 0 = negative)

6. Vertical Active Lines

7. Vertical Front Porch Lines

8. Vertical Sync Lines

9. Vertical Total Blank Lines (Active + Front Porch + Sync + Back Porch)

10. Vertical Sync Polarity (1 = positive, 0 = negative)

11. Nominal Frame Rate (floating point value) when in Triple Buffer mode

12. String Text Name (not used currently)

 

Guspaz created a tool to generate modelines automatically: https://guspaz.github.io/video_timings_calculator