NAS FIFO MESSAGES first word: D0-D6 = MESSAGE D7 = NONBUFFERED D8-D31 = DATA following words: D0-D31 = DATA buffered messages: 00H INIT 01H RESET 02H PROGRAM 03H OPENTRACK D8-D15: INDEX D16-D23: PITCHMODE D24-D31: CHANNELS USED NEXT WORD: D0-D7: FLAGS D8-D31: RESERVED NEXT WORD: PITCHADJUST 04H CLOSETRACK 05H LOCK 06H UNLOCK 07H SR 08H UNPROGRAM 09H SREXT 0AH STOPSOURCE D8-31: REQUEST REPLY (boolean) NEXT W0RD: SOURCE ADDRESS 0BH UPDATELEVELS nonbuffered messages: 80H:2 SET CHANNEL REGISTER D8-D15: CHANNEL D16-D23: REGISTER NEXT WORD: REGISTER DATA 81H:1 SET CHANNEL VOLUME D8-D15: CHANNEL D16-D23: VOLUME D24-D31: SHIFT 82H:1 SET CHANNEL PANNING D8-D15: CHANNEL D16-D23: PANNING 83H:1 SET CHANNEL DUTY D8-D15: CHANNEL D16-D23: DUTY 84H:3/4 SET CHANNEL SOURCE D8-D15: CHANNEL D16-D23: REPEAT MODE D24-D31: FORMAT NEXT WORD: SOURCE NEXT WORD: LENGTH NEXT WORD: LOOPSTART (only in LOOPED SOURCE) 85H:1 SET CHANNEL SOURCE - PSG D8-D15: CHANNEL D16-D23: DUTY 86H:1 SET CHANNEL SOURCE - PSG NOISE D8-D15: CHANNEL 87H:1 SET CHANNEL TIMER D8-D15: CHANNEL D16-D31: TIMER DATA 88H:1 START CHANNELS D16-D31: CHANNEL BITMASK 89H:1 STOP CHANNELS D16-D31: CHANNEL BITMASK 8AH:1 WRITE SOUNDCNT D16-D31: SOUNDCNT DATA 8BH:1 WRITE SOUNDBIAS D16-D31: SOUNDBIAS DATA 8CH:1 WRITE CAPTURE CONTROL D8-D15: CHANNEL D16-D23: CONTROL BITS 8DH:1 WRITE CAPTURE DEST D8-D15: CHANNEL NEXT WORD: MEMORY ADDRESS 8EH:1 WRITE CAPTURE LENGTH D8-D15: CHANNEL D16-D31: LENGTH 8FH:1 WRITE DUAL CAPTURE CONTROL D16-D23: CAPTURE0 CONTROL D24-D31: CAPTURE1 CONTROL ARM7->ARM9 00h BLOCKUSED NEXT WORD: block address 01h STATUS D8: CAPTURE0 BUSYFLAG D9: CAPTURE1 BUSYFLAG D16-D31: CHANNEL BUSY FLAGS 02h 51HZ sent every 5 256hz ticks 03H FREESOURCE WORD: SOURCE ADDRESS sent after "STOPSOURCE" with reply flag 04H SRCUE D8-D15: TRACK INDEX NEXT WORD: CUE DATA 05H SREND - reached STOP block D8-D15: TRACK INDEX 06H LEVELS NEXT 16 WORDS: AUDIO LEVELS