2011-07-14 00:49:52 +02:00
|
|
|
/*
|
|
|
|
SN76489 emulation
|
|
|
|
by Maxim in 2001 and 2002
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SN76489_H_
|
|
|
|
#define _SN76489_H_
|
|
|
|
|
2012-10-13 19:01:31 +02:00
|
|
|
#include "blip_buf.h"
|
|
|
|
|
|
|
|
#define SN_DISCRETE 0
|
|
|
|
#define SN_INTEGRATED 1
|
2011-07-14 00:49:52 +02:00
|
|
|
|
2012-10-13 19:01:31 +02:00
|
|
|
/* Function prototypes */
|
|
|
|
extern void SN76489_Init(blip_t* left, blip_t* right, int type);
|
2011-07-14 00:49:52 +02:00
|
|
|
extern void SN76489_Reset(void);
|
2012-10-15 10:40:39 +02:00
|
|
|
extern void SN76489_Config(unsigned int clocks, int preAmp, int boostNoise, int stereo);
|
2012-10-13 19:01:31 +02:00
|
|
|
extern void SN76489_Write(unsigned int clocks, unsigned int data);
|
|
|
|
extern void SN76489_Update(unsigned int cycles);
|
|
|
|
extern void *SN76489_GetContextPtr(void);
|
2011-07-14 00:49:52 +02:00
|
|
|
extern int SN76489_GetContextSize(void);
|
2012-04-08 19:54:02 +02:00
|
|
|
|
2012-10-22 15:59:40 +02:00
|
|
|
#endif /* _SN76489_H_ */
|