/*****************************************************************************/ /* */ /* Module: TIA Chip Sound Simulator Includes, V1.0 */ /* Purpose: Define global function prototypes and structures for the TIA */ /* Chip Sound Simulator. */ /* Author: Ron Fries */ /* Date: September 10, 1996 */ /* */ /*****************************************************************************/ /* */ /* License Information and Copyright Notice */ /* ======================================== */ /* */ /* TiaSound is Copyright(c) 1996 by Ron Fries */ /* */ /* This library is free software; you can redistribute it and/or modify it */ /* under the terms of version 2 of the GNU Library General Public License */ /* as published by the Free Software Foundation. */ /* */ /* 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. */ /* To obtain a copy of the GNU Library General Public License, write to the */ /* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* */ /* Any permitted reproduction of these routines, in whole or in part, must */ /* bear this legend. */ /* */ /*****************************************************************************/ #ifndef _TIASOUND_H #define _TIASOUND_H void Tia_sound_init (unsigned int sample_freq, unsigned int playback_freq); extern void Update_tia_sound (unsigned int addr, unsigned char val); extern void Tia_process_2 (register unsigned short *buffer, register unsigned int n); extern void Tia_process (register unsigned char *buffer, register unsigned int n); #endif