diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2017-01-02 12:58:55 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2017-01-02 12:58:55 +0100 |
commit | a0e86733b4ddab6aa886a7cbb8fe9019f99a3459 (patch) | |
tree | d2f6fb78372cbb12a4123901383b0fe65795ca20 /mzf2wav/src/wav.h | |
download | sharp-mz-a0e86733b4ddab6aa886a7cbb8fe9019f99a3459.tar.gz sharp-mz-a0e86733b4ddab6aa886a7cbb8fe9019f99a3459.zip |
Import from http://www.sharpmz.org/mzf2wav.htm
Diffstat (limited to 'mzf2wav/src/wav.h')
-rw-r--r-- | mzf2wav/src/wav.h | 30 |
1 files changed, 30 insertions, 0 deletions
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); |