From a0e86733b4ddab6aa886a7cbb8fe9019f99a3459 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 2 Jan 2017 12:58:55 +0100 Subject: Import from http://www.sharpmz.org/mzf2wav.htm --- mzf2wav/src/wav.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mzf2wav/src/wav.h (limited to 'mzf2wav/src/wav.h') diff --git a/mzf2wav/src/wav.h b/mzf2wav/src/wav.h new file mode 100644 index 0000000..6d3daa4 --- /dev/null +++ b/mzf2wav/src/wav.h @@ -0,0 +1,30 @@ +// Defenitions. +#define DEFAULT_LONG_UP 21 // Normal mode. +#define DEFAULT_LONG_DOWN 21 +#define DEFAULT_SHORT_UP 11 +#define DEFAULT_SHORT_DOWN 11 + +#define FAST_LONG_UP 11 // Fastest in normal mode. +#define FAST_LONG_DOWN 21 +#define FAST_SHORT_UP 11 +#define FAST_SHORT_DOWN 12 + +#define TURBO_2_LONG_UP 11 // Turbo 2x. +#define TURBO_2_LONG_DOWN 11 +#define TURBO_2_SHORT_UP 5 +#define TURBO_2_SHORT_DOWN 6 + +#define TURBO_3_LONG_UP 7 // Turbo 3x. +#define TURBO_3_LONG_DOWN 7 +#define TURBO_3_SHORT_UP 3 +#define TURBO_3_SHORT_DOWN 4 + +#define TURBO_FAST_LONG_UP 3 // Fastest in turbo mode. +#define TURBO_FAST_LONG_DOWN 7 +#define TURBO_FAST_SHORT_UP 3 +#define TURBO_FAST_SHORT_DOWN 4 + +// Prototypes. +void outb(int, int), + writewavheader(void), + setheader(void); -- cgit v1.2.1