void InitPSG(uint32_t s = 44100);
void UpdatePSG(uint8_t * buffer, int count);
void WritePSG(uint16_t address, uint8_t data);
uint8_t ReadPSG(uint16_t address);
void InitPSG(uint32_t s = 44100);
void UpdatePSG(uint8_t * buffer, int count);
void WritePSG(uint16_t address, uint8_t data);
uint8_t ReadPSG(uint16_t address);