1.1 --- a/include/display_config.h Sat Nov 10 22:40:06 2018 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,67 +0,0 @@
1.4 -/*
1.5 - * Initialisation of application-specific display configuration. This requires
1.6 - * the prior definition of various display properties.
1.7 - *
1.8 - * Copyright (C) 2018 Paul Boddie <paul@boddie.org.uk>
1.9 - *
1.10 - * This program is free software: you can redistribute it and/or modify
1.11 - * it under the terms of the GNU General Public License as published by
1.12 - * the Free Software Foundation, either version 3 of the License, or
1.13 - * (at your option) any later version.
1.14 - *
1.15 - * This program is distributed in the hope that it will be useful,
1.16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.18 - * GNU General Public License for more details.
1.19 - *
1.20 - * You should have received a copy of the GNU General Public License
1.21 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.22 - */
1.23 -
1.24 -#ifndef __DISPLAY_CONFIG_H__
1.25 -#define __DISPLAY_CONFIG_H__
1.26 -
1.27 -#include "display.h"
1.28 -#include "vga.h"
1.29 -
1.30 -/* Define DMA channels if not indicated in the build configuration. */
1.31 -
1.32 -/* CPU-based transfers: no channels. */
1.33 -
1.34 -#ifdef TRANSFER_CPU
1.35 -#define LINE_CHANNELS 0
1.36 -
1.37 -/* DMA-based transfers: single channel by default. */
1.38 -
1.39 -#else
1.40 -
1.41 -#ifndef LINE_CHANNELS
1.42 -#define LINE_CHANNELS 1
1.43 -#endif
1.44 -
1.45 -#endif
1.46 -
1.47 -/* Define a structure containing the display parameters. */
1.48 -
1.49 -display_config_t display_config = {
1.50 -
1.51 - /* Define display properties. */
1.52 -
1.53 - .scanlines = SCANLINES,
1.54 - .line_channels = LINE_CHANNELS,
1.55 - .cell_size = CELL_SIZE,
1.56 - .transfer_cell_size = TRANSFER_CELL_SIZE,
1.57 -
1.58 - /* Define display region properties. */
1.59 -
1.60 - .hfreq_limit = HFREQ_LIMIT,
1.61 - .hsync_start = HSYNC_START,
1.62 - .hsync_end = HSYNC_END,
1.63 - .visible_start = VISIBLE_START,
1.64 - .vfp_start = VFP_START,
1.65 - .vsync_start = VSYNC_START,
1.66 - .vsync_end = VSYNC_END,
1.67 -
1.68 - };
1.69 -
1.70 -#endif /* __DISPLAY_CONFIG_H__ */