/* * digimax.h * * Written by * Marco van den Heuvel * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. * */ #ifndef _DIGIMAX_H #define _DIGIMAX_H #include "types.h" #include "sound.h" extern int digimax_enabled; extern int digimax_address; extern int digimax_resources_init(void); extern int digimax_cmdline_options_init(void); extern int digimax_sound_machine_calculate_samples(sound_t *psid, SWORD *pbuf, int nr, int interleave, int *delta_t); extern int digimax_sound_machine_init(sound_t *psid, int speed, int cycles_per_sec); extern void digimax_sound_machine_store(sound_t *psid, WORD addr, BYTE val); extern BYTE digimax_sound_machine_read(sound_t *psid, WORD addr); extern void digimax_sound_reset(void); extern void REGPARM2 digimax_sound_store(WORD addr, BYTE value); extern BYTE REGPARM1 digimax_sound_read(WORD addr); extern void digimax_userport_store(WORD addr, BYTE value); #endif