cog/Frameworks/GME/vgmplay/chips/k053260.h

33 lines
994 B
C
Raw Normal View History

2013-09-28 03:24:46 +00:00
/*********************************************************
Konami 053260 PCM/ADPCM Sound Chip
*********************************************************/
#pragma once
//#include "devlegcy.h"
/*typedef struct _k053260_interface k053260_interface;
struct _k053260_interface {
const char *rgnoverride;
timer_expired_func irq; // called on SH1 complete cycle ( clock / 32 ) //
};*/
void k053260_update(void *chip, stream_sample_t **outputs, int samples);
int device_start_k053260(void **chip, int clock);
void device_stop_k053260(void *chip);
void device_reset_k053260(void *chip);
2013-09-28 03:24:46 +00:00
//WRITE8_DEVICE_HANDLER( k053260_w );
//READ8_DEVICE_HANDLER( k053260_r );
void k053260_w(void *chip, offs_t offset, UINT8 data);
UINT8 k053260_r(void *chip, offs_t offset);
2013-09-28 03:24:46 +00:00
void k053260_write_rom(void *chip, offs_t ROMSize, offs_t DataStart, offs_t DataLength,
2013-09-28 03:24:46 +00:00
const UINT8* ROMData);
void k053260_set_mute_mask(void *chip, UINT32 MuteMask);
2013-09-28 03:24:46 +00:00
//DECLARE_LEGACY_SOUND_DEVICE(K053260, k053260);