- [NEW] [ui] incoffset() i panel()
- [NEW] mòdul ay_viewer - [NEW] [ay-3-8912] afegits mètodes de debug - [FIX] [ay-3-8912]Arreglats uns quants tipus de dades - [FIX] [ay-3-8912]Arreglat el càlcul de la frequència (en realitat amplitud) dels tonos - [FIX] [ay-3-8912] Arreglat el algoritme de càlcul del roido
This commit is contained in:
29
ay-3-8912.h
29
ay-3-8912.h
@@ -13,4 +13,33 @@ namespace audio
|
||||
void update(uint32_t dt);
|
||||
|
||||
uint8_t get_sample();
|
||||
|
||||
namespace debug
|
||||
{
|
||||
uint8_t get_register(uint8_t num);
|
||||
uint32_t get_channel_a_tone_freq();
|
||||
uint32_t get_channel_a_tone_freq_counter();
|
||||
uint8_t get_channel_a_tone_level();
|
||||
uint8_t get_channel_a_level();
|
||||
|
||||
uint32_t get_channel_b_tone_freq();
|
||||
uint32_t get_channel_b_tone_freq_counter();
|
||||
uint8_t get_channel_b_tone_level();
|
||||
uint8_t get_channel_b_level();
|
||||
|
||||
uint32_t get_channel_c_tone_freq();
|
||||
uint32_t get_channel_c_tone_freq_counter();
|
||||
uint8_t get_channel_c_tone_level();
|
||||
uint8_t get_channel_c_level();
|
||||
|
||||
uint32_t get_noise_freq();
|
||||
uint32_t get_noise_freq_counter();
|
||||
uint8_t get_noise_level();
|
||||
uint32_t get_shiftreg();
|
||||
|
||||
uint32_t get_envelope_freq();
|
||||
uint32_t get_envelope_freq_counter();
|
||||
int8_t get_envelope_volume();
|
||||
int8_t get_envelope_direction();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user