diff options
Diffstat (limited to 'arch/m68k/include/asm/mac_asc.h')
-rw-r--r-- | arch/m68k/include/asm/mac_asc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/mac_asc.h b/arch/m68k/include/asm/mac_asc.h new file mode 100644 index 000000000000..fc2e5467b41e --- /dev/null +++ b/arch/m68k/include/asm/mac_asc.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Apple Sound Chip | ||
3 | */ | ||
4 | |||
5 | #ifndef __ASM_MAC_ASC_H | ||
6 | #define __ASM_MAC_ASC_H | ||
7 | |||
8 | /* | ||
9 | * ASC offsets and controls | ||
10 | */ | ||
11 | |||
12 | #define ASC_BUF_BASE 0x00 /* RAM buffer offset */ | ||
13 | #define ASC_BUF_SIZE 0x800 | ||
14 | |||
15 | #define ASC_CONTROL 0x800 | ||
16 | #define ASC_CONTROL_OFF 0x00 | ||
17 | #define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte)) | ||
18 | #define ASC_ENABLE 0x801 | ||
19 | #define ASC_ENABLE_SAMPLE 0x02 | ||
20 | #define ASC_MODE 0x802 | ||
21 | #define ASC_MODE_SAMPLE 0x02 | ||
22 | |||
23 | #define ASC_VOLUME 0x806 | ||
24 | #define ASC_CHAN 0x807 /* ??? */ | ||
25 | |||
26 | |||
27 | #endif | ||