mac_asc.h 481 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Apple Sound Chip
  3. */
  4. #ifndef __ASM_MAC_ASC_H
  5. #define __ASM_MAC_ASC_H
  6. /*
  7. * ASC offsets and controls
  8. */
  9. #define ASC_BUF_BASE 0x00 /* RAM buffer offset */
  10. #define ASC_BUF_SIZE 0x800
  11. #define ASC_CONTROL 0x800
  12. #define ASC_CONTROL_OFF 0x00
  13. #define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte))
  14. #define ASC_ENABLE 0x801
  15. #define ASC_ENABLE_SAMPLE 0x02
  16. #define ASC_MODE 0x802
  17. #define ASC_MODE_SAMPLE 0x02
  18. #define ASC_VOLUME 0x806
  19. #define ASC_CHAN 0x807 /* ??? */
  20. #endif