README.DC
author Sam Lantinga <slouken@libsdl.org>
Sat, 12 Feb 2005 18:03:54 +0000
changeset 1036 50f4e7e4d117
parent 509 dad72daf44b3
child 1460 d79e6b0c2c19
permissions -rw-r--r--
[SDL] [PATCH] fix FB_VideoQuit for ia64
Jesse Barnes
Fri Jan 14 11:13:54 PST 2005

I noticed that on my ia64 machine when SDL_Quit was called, the machine would
hang in weird ways. It turned out to be caused by a machine check in the
memset() call near the top of FB_VideoQuit. Generally memset shouldn't be
used on I/O regions like the framebuffer or other I/O device memory (the
Linux kernel has special routines for dealing with I/O memory), so I changed
the #ifdef __powerpc__ to #if defined(__powerpc__) || defined(__ia64__) and
SDL_Quit now works properly. The change should probably be made
unconditional though since doing one byte at a time is the only way to be
portable, afaik.
     1 SDL for Dreamcast (beta2)
     2 
     3 	BERO
     4 	bero@geocities.co.jp
     5 
     6 	http://www.geocities.co.jp/Playtown/2004/
     7 
     8 this work with kos-newlib
     9 http://sourceforge.net/projects/dcquake/
    10 
    11 compile
    12 - edit KOS_BASE in Makefie.dc for your enviroment
    13 - make -f Makefile.dc
    14 
    15 FIXME: The KOS thread files can be found on HERO's site - not in the SDL source.
    16 - overwrite thread/*.c to kos-1.1.7/kernel/thread
    17 - rebuild kos
    18 
    19 compile with gl support
    20 - install latest libgl from http://sourceforge.net/projects/dcquake/
    21 - uncomment GL=1 in Makefile.dc
    22 - make -f Makefile.dc clean
    23 - make -f Makefile.dc
    24 
    25 install
    26 - copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment
    27 
    28 changelog:
    29 
    30 beta2
    31 - OpenGL support
    32 - Hardware page flip support
    33 
    34 beta
    35 - thread, timer don't tested so much.
    36 - not support OpenGL
    37