]> Shamusworld >> Repos - apple2/blob - src/ay8910.h
Added floppy #2 saving, statistics to makefile.
[apple2] / src / ay8910.h
1 #ifndef AY8910_H
2 #define AY8910_H
3
4 #include <stdint.h>
5
6 #define MAX_8910 4
7
8 void _AYWriteReg(int n, int r, int v);
9 void AY8910_reset(int chip);
10 void AY8910Update(int chip, int16_t ** buffer, int length);
11
12 void AY8910_InitAll(int clock, int sampleRate);
13 void AY8910_InitClock(int clock);
14 uint8_t * AY8910_GetRegsPtr(uint16_t chipNum);
15
16 #endif