2008-08-07 14:26:07 +02:00
|
|
|
/*
|
|
|
|
SN76489 emulation
|
|
|
|
by Maxim in 2001 and 2002
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SN76489_H_
|
|
|
|
#define _SN76489_H_
|
|
|
|
|
|
|
|
/* Function prototypes */
|
2011-04-01 00:11:05 +02:00
|
|
|
|
2010-08-24 14:48:40 +02:00
|
|
|
extern void SN76489_Init(double PSGClockValue, int SamplingRate);
|
2009-05-27 16:07:14 +02:00
|
|
|
extern void SN76489_Reset(void);
|
|
|
|
extern void SN76489_Shutdown(void);
|
|
|
|
extern void SN76489_SetContext(uint8 *data);
|
|
|
|
extern void SN76489_GetContext(uint8 *data);
|
|
|
|
extern uint8 *SN76489_GetContextPtr(void);
|
2008-08-07 14:26:07 +02:00
|
|
|
extern int SN76489_GetContextSize(void);
|
2009-05-27 16:07:14 +02:00
|
|
|
extern void SN76489_Write(int data);
|
|
|
|
extern void SN76489_Update(INT16 *buffer, int length);
|
|
|
|
extern void SN76489_BoostNoise(int boost);
|
2008-08-07 14:26:07 +02:00
|
|
|
|
2011-04-01 00:11:05 +02:00
|
|
|
#endif /* _SN76489_H_ */
|
|
|
|
|