diff ym2612.h @ 739:2317bdca03b4

Add a basic YM-2612 command to the debugger. Fix negative detune values and get the correct precision for the multiplication step of phase inc calculation
author Michael Pavone <pavone@retrodev.com>
date Wed, 27 May 2015 20:53:21 -0700
parents aaa77e351c24
children 3a18b5f63afc
line wrap: on
line diff
--- a/ym2612.h	Tue May 26 22:22:30 2015 -0700
+++ b/ym2612.h	Wed May 27 20:53:21 2015 -0700
@@ -26,6 +26,7 @@
 	uint8_t  key_scaling;
 	uint8_t  multiple;
 	uint8_t  detune;
+	uint8_t  am;
 	uint8_t  env_phase;
 } ym_operator;
 
@@ -105,6 +106,7 @@
 uint8_t ym_read_status(ym2612_context * context);
 uint8_t ym_load_gst(ym2612_context * context, FILE * gstfile);
 uint8_t ym_save_gst(ym2612_context * context, FILE * gstfile);
+void ym_print_channel_info(ym2612_context *context, int channel);
 
 #endif //YM2612_H_