Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/genplus-gx/core/sound/sn76489.h
2 views
1
/*
2
SN76489 emulation
3
by Maxim in 2001 and 2002
4
*/
5
6
#ifndef _SN76489_H_
7
#define _SN76489_H_
8
9
#include "blip_buf.h"
10
11
#define SN_DISCRETE 0
12
#define SN_INTEGRATED 1
13
14
/* Function prototypes */
15
extern void SN76489_Init(blip_t* left, blip_t* right, int type);
16
extern void SN76489_Reset(void);
17
extern void SN76489_Config(unsigned int clocks, int preAmp, int boostNoise, int stereo);
18
extern void SN76489_Write(unsigned int clocks, unsigned int data);
19
extern void SN76489_Update(unsigned int cycles);
20
extern void *SN76489_GetContextPtr(void);
21
extern int SN76489_GetContextSize(void);
22
23
#endif /* _SN76489_H_ */
24
25