2007-05-29 03:06:33 +00:00
|
|
|
#ifndef AY8910_H
|
|
|
|
#define AY8910_H
|
|
|
|
|
2013-09-09 02:18:23 +00:00
|
|
|
#include <stdint.h>
|
2007-05-29 03:06:33 +00:00
|
|
|
|
|
|
|
#define MAX_8910 4
|
|
|
|
|
|
|
|
void _AYWriteReg(int n, int r, int v);
|
|
|
|
void AY8910_reset(int chip);
|
2013-09-09 02:18:23 +00:00
|
|
|
void AY8910Update(int chip, int16_t ** buffer, int length);
|
2007-05-29 03:06:33 +00:00
|
|
|
|
2007-07-02 16:13:08 +00:00
|
|
|
void AY8910_InitAll(int clock, int sampleRate);
|
|
|
|
void AY8910_InitClock(int clock);
|
2013-09-09 02:18:23 +00:00
|
|
|
uint8_t * AY8910_GetRegsPtr(uint16_t chipNum);
|
2007-05-29 03:06:33 +00:00
|
|
|
|
|
|
|
#endif
|