Skip to content
Permalink
Browse files

Added Linux PlayStation 2 Graphics Synthesizer support

  • Loading branch information
Sam Lantinga committed Jun 16, 2001
1 parent d3ae161 commit c7111cbf6cacd0e205dd52d97b0eea80e77ad21d
@@ -666,6 +666,32 @@ CheckFBCON()
fi
}

dnl See if we're running on PlayStation 2 hardware
CheckPS2GS()
{
dnl AC_ARG_ENABLE(video-ps2gs,
dnl[ --enable-video-ps2gs use PlayStation 2 GS video driver [default=yes]],
dnl , enable_video_ps2gs=yes)
enable_video_ps2gs=yes
if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
dnl AC_MSG_CHECKING(for PlayStation 2 GS support)
video_ps2gs=no
AC_TRY_COMPILE([
#include <linux/ps2/dev.h>
#include <linux/ps2/gs.h>
],[
],[
video_ps2gs=yes
])
dnl AC_MSG_RESULT($video_ps2gs)
if test x$video_ps2gs = xyes; then
CFLAGS="$CFLAGS -DENABLE_PS2GS"
VIDEO_SUBDIRS="$VIDEO_SUBDIRS ps2gs"
VIDEO_DRIVERS="$VIDEO_DRIVERS ps2gs/libvideo_ps2gs.la"
fi
fi
}

dnl Find the GGI includes
CheckGGI()
{
@@ -1111,6 +1137,7 @@ case "$target" in
CheckNANOX
CheckDGA
CheckFBCON
CheckPS2GS
CheckGGI
CheckSVGA
CheckAAlib
@@ -2011,6 +2038,7 @@ src/video/x11/Makefile
src/video/dga/Makefile
src/video/nanox/Makefile
src/video/fbcon/Makefile
src/video/ps2gs/Makefile
src/video/ggi/Makefile
src/video/maccommon/Makefile
src/video/macdsp/Makefile
@@ -16,6 +16,7 @@ <H2>
Major changes since SDL 1.0.0:
</H2>
<UL>
<LI> 1.2.1: Added Linux PlayStation 2 Graphics Synthesizer support
<LI> 1.2.1: Added an audio driver that writes to disk (thanks Ryan!)
<LI> 1.2.1: Mouse wheel sends mouse button (4/5) events on Windows
<LI> 1.2.1: Added MacOS X Project Builder projects (thanks Darrell!)
@@ -0,0 +1,6 @@
Makefile.in
Makefile
.libs
*.o
*.lo
*.la
@@ -0,0 +1,17 @@

## Makefile.am for SDL using the framebuffer console video driver

noinst_LTLIBRARIES = libvideo_ps2gs.la
libvideo_ps2gs_la_SOURCES = $(PS2GS_SRCS)

# The SDL framebuffer console video driver sources
PS2GS_SRCS = \
SDL_gsevents.c \
SDL_gsevents_c.h \
SDL_gskeys.h \
SDL_gsmouse.c \
SDL_gsmouse_c.h \
SDL_gsvideo.c \
SDL_gsvideo.h \
SDL_gsyuv.c \
SDL_gsyuv_c.h

0 comments on commit c7111cb

Please sign in to comment.