2
2
* VIDIX Direct Hardware Access (DHA).
3
3
* Copyright (C) 2002 Nick Kurshev
5
* 1996/10/27 - Robin Cutshaw (robin@xfree86.org)
6
* XFree86 3.3.3 implementation
7
* 1999 - Øyvind Aabling.
8
* Modified for GATOS/win/gfxdump.
10
* 2002 - library implementation by Nick Kurshev
11
* - dhahelper and some changes by Alex Beregszaszi
13
* supported OSes: SVR4, UnixWare, SCO, Solaris,
14
* FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
15
* Linux, Mach/386, ISC
16
* DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
17
* original location: www.linuxvideo.org/gatos
5
19
* This file is part of MPlayer.
7
21
* MPlayer is free software; you can redistribute it and/or modify
14
28
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
29
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with MPlayer; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
* 1996/10/27 - Robin Cutshaw (robin@xfree86.org)
22
* XFree86 3.3.3 implementation
23
* 1999 - Øyvind Aabling.
24
* Modified for GATOS/win/gfxdump.
26
* 2002 - library implementation by Nick Kurshev
27
* - dhahelper and some changes by Alex Beregszaszi
29
* Supported O/S's: SVR4, UnixWare, SCO, Solaris,
30
* FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
31
* Linux, Mach/386, ISC
32
* DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
33
* Original location: www.linuxvideo.org/gatos
31
* You should have received a copy of the GNU General Public License along
32
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
33
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
36
36
#include "config.h"
186
186
#endif /* Generic mmap (not win32, nor os2) */
188
#if !defined(__alpha__) && !defined(__powerpc__)
188
#if !defined(__alpha__) && !defined(__powerpc__) && !defined(__sh__)
189
189
unsigned char INPORT8(unsigned idx)