src/video/ataricommon/SDL_atarieddi_s.h
author Sam Lantinga <slouken@libsdl.org>
Sun, 17 Feb 2002 19:54:28 +0000
changeset 281 c5010ab8ba35
child 297 f6ffac90895c
permissions -rw-r--r--
Added initial support for Atari (thanks Patrice!)
slouken@281
     1
/*
slouken@281
     2
    SDL - Simple DirectMedia Layer
slouken@281
     3
    Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
slouken@281
     4
slouken@281
     5
    This library is free software; you can redistribute it and/or
slouken@281
     6
    modify it under the terms of the GNU Library General Public
slouken@281
     7
    License as published by the Free Software Foundation; either
slouken@281
     8
    version 2 of the License, or (at your option) any later version.
slouken@281
     9
slouken@281
    10
    This library is distributed in the hope that it will be useful,
slouken@281
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@281
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@281
    13
    Library General Public License for more details.
slouken@281
    14
slouken@281
    15
    You should have received a copy of the GNU Library General Public
slouken@281
    16
    License along with this library; if not, write to the Free
slouken@281
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@281
    18
slouken@281
    19
    Sam Lantinga
slouken@281
    20
    slouken@libsdl.org
slouken@281
    21
*/
slouken@281
    22
slouken@281
    23
#ifdef SAVE_RCSID
slouken@281
    24
static char rcsid =
slouken@281
    25
 "@(#) $Id$";
slouken@281
    26
#endif
slouken@281
    27
slouken@281
    28
#ifndef _SDL_Atari_eddi_s_h
slouken@281
    29
#define _SDL_Atari_eddi_s_h
slouken@281
    30
slouken@281
    31
/*--- Defines ---*/
slouken@281
    32
slouken@281
    33
/* EdDI versions */
slouken@281
    34
slouken@281
    35
#define EDDI_10	(0x0100)
slouken@281
    36
#define EDDI_11 (0x0110)
slouken@281
    37
slouken@281
    38
/* Screen format */
slouken@281
    39
slouken@281
    40
enum {
slouken@281
    41
	VDI_FORMAT_UNKNOWN=-1,
slouken@281
    42
	VDI_FORMAT_INTER=0,	/* Interleaved bitplanes */
slouken@281
    43
	VDI_FORMAT_VDI=1,	/* VDI independent */
slouken@281
    44
	VDI_FORMAT_PACK=2	/* Packed pixels */
slouken@281
    45
};
slouken@281
    46
slouken@281
    47
/* CLUT types */
slouken@281
    48
enum {
slouken@281
    49
	VDI_CLUT_NONE=0,	/* Monochrome mode */
slouken@281
    50
	VDI_CLUT_HARDWARE,	/* <256 colours mode */
slouken@281
    51
	VDI_CLUT_SOFTWARE	/* True colour mode */
slouken@281
    52
};
slouken@281
    53
slouken@281
    54
/*--- Functions ---*/
slouken@281
    55
slouken@281
    56
unsigned long Atari_get_EdDI_version(void *function_pointer);
slouken@281
    57
slouken@281
    58
#endif /* _SDL_Atari_eddi_s_h */