sequencer states
This commit is contained in:
@ -32,10 +32,20 @@ typedef enum {
|
||||
e_Null
|
||||
} t_note;
|
||||
|
||||
#define e_Es e_Dis
|
||||
#define e_As e_Gis
|
||||
#define e_B e_Ais
|
||||
|
||||
|
||||
void psgInit();
|
||||
|
||||
void psgPlayTone(uint8_t channel, t_octave octave, t_note note);
|
||||
void psgAmplitude(uint8_t channel, uint8_t volume);
|
||||
|
||||
// low level
|
||||
void psgWriteFrequency(uint8_t channel, uint16_t frequencyCode);
|
||||
|
||||
// very low level
|
||||
void psgWrite(uint8_t address, uint8_t data);
|
||||
uint8_t psgReadShadow(uint8_t address);
|
||||
|
||||
|
Reference in New Issue
Block a user