view src/audio/SDL_mixer_m68k.h @ 1770:1632155c67e5

Fixed bug #216 The attached files allow building the SDL library and tests with the Open Watcom compiler for Windows: - static library or DLL - Debug or Release builds available - uses register calling convention of Open Watcom - wmake target to build the SDL test samples Following is a table that shows what works and what doesn't, yet: checkkeys + graywin + loopwave + testalpha + testbitmap + testdyngl + testerror + testfile + testgamma + testgl + testhread + testiconv - (all failed) testkeys + testlock + (after removing calls to raise() from signal handler) testoverlay + (needs 'set SDL_VIDEODRIVER=directx') testoverlay2 + (-"-) testpalette + testplatform + testsem + testsprite + testtimer + testver + testvidinfo + testwin - (fading doesn't seem right) testwm + torturethread + testcdrom + testjoystick not tested threadwin + TODO: - make stack calling convention work (has linking issues with dxguid.lib) - perform testjoystick (I don't have a joystick) - investigate fading in testwin - merge with OS/2 port - add DOS target
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 May 2006 03:44:58 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
line wrap: on
line source

/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997-2004 Sam Lantinga

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    Sam Lantinga
    slouken@libsdl.org
*/
#include "SDL_config.h"

/*
	m68k assembly mix routines

	Patrice Mandin
*/

#if defined(__M68000__) && defined(__GNUC__)
void SDL_MixAudio_m68k_U8(char* dst,char* src, long len, long volume, char* mix8);
void SDL_MixAudio_m68k_S8(char* dst,char* src, long len, long volume);

void SDL_MixAudio_m68k_S16MSB(short* dst,short* src, long len, long volume);
void SDL_MixAudio_m68k_S16LSB(short* dst,short* src, long len, long volume);
#endif