···11+/***************************************************************************
22+ * __________ __ ___.
33+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
44+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
55+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
66+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
77+ * \/ \/ \/ \/ \/
88+ * $Id$
99+ *
1010+ * Copyright (C) 2025 Aidan MacDonald
1111+ *
1212+ * This program is free software; you can redistribute it and/or
1313+ * modify it under the terms of the GNU General Public License
1414+ * as published by the Free Software Foundation; either version 2
1515+ * of the License, or (at your option) any later version.
1616+ *
1717+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
1818+ * KIND, either express or implied.
1919+ *
2020+ ****************************************************************************/
2121+#ifndef __LCD_ECHOPLAYER_H__
2222+#define __LCD_ECHOPLAYER_H__
2323+2424+#include "config.h"
2525+2626+/* Hsync pulse width in units of dot clocks */
2727+#define LCD_HSW 10
2828+2929+/* Hsync back porch in units of dot clocks */
3030+#define LCD_HBP 20
3131+3232+/* Horizontal active width in units of dot clocks */
3333+#define LCD_HAW LCD_WIDTH
3434+3535+/* Hsync front porch in units of dot clocks */
3636+#define LCD_HFP 10
3737+3838+/* Vsync pulse height in units of horizontal lines */
3939+#define LCD_VSH 2
4040+4141+/* Vsync back porch in units of horizontal lines */
4242+#define LCD_VBP 2
4343+4444+/* Vertical active height in units of horizontal lines */
4545+#define LCD_VAH LCD_HEIGHT
4646+4747+/* Vsync front porch in units of horizontal lines */
4848+#define LCD_VFP 2
4949+5050+/* Total horizontal width in dots */
5151+#define LCD_HWIDTH (LCD_HSW + LCD_HBP + LCD_HAW + LCD_HFP)
5252+5353+/* Total vertical height in lines */
5454+#define LCD_VHEIGHT (LCD_VSH + LCD_VBP + LCD_VAH + LCD_VFP)
5555+5656+/* Target frame rate */
5757+#define LCD_FPS 70
5858+5959+/* Dot clock frequency */
6060+#define LCD_DOTCLOCK_FREQ (LCD_FPS * LCD_HWIDTH * LCD_VHEIGHT)
6161+6262+#endif /* __LCD_ECHOPLAYER_H__ */