MusicKit  0.0.0
dsp_messages_1.0.h
00001 #ifndef __MK_dsp_messages_1.0_H___
00002 #define __MK_dsp_messages_1.0_H___
00003 /* dsp_messages.h - written by dspmsg from system symbols.
00004 
00005 This include file contains definitions for "host-message" and 
00006 "DSP message" opcodes used by the Music Kit (MK) and Array Processing (AP)
00007 libraries.  These definitions do not change as the DSP system software is 
00008 upgraded, except that new definitions may be added.
00009 
00010 "Host messages" are mnemonics for DSP system subroutine entry points. 
00011 They are called by the host for communication purposes via the
00012 DSPCall() or DSPHostMessage() functions in libdsp.  Each host message 
00013 opcode has the prefix "DSP_HM".
00014 
00015 "DSP messages" are one-word (24 bit) messages which flow from the 
00016 DSP to the host.  DSP messages use the prefix "DSP_DM".
00017 
00018 A DSP message consists of one byte of opcode and two bytes of data.
00019 Opcodes from 128 to 255 are, by MK/AP convention, error messages, and
00020 their prefix is "DSP_DE" rather than "DSP_DM".
00021 
00022 */ 
00023 
00024 /***** GLOBAL SYMBOLS *****/
00025 #define DSP_DE_ABORT     0x0000a8
00026 #define DSP_DE_ADMPWE    0x0000a0
00027 #define DSP_DE_BREAK     0x000080
00028 #define DSP_DE_DHRERR    0x000091
00029 #define DSP_DE_DMAWRECK  0x000090
00030 #define DSP_DE_DMQOVFL   0x000093
00031 #define DSP_DE_HF2_ON_2  0x0000a7
00032 #define DSP_DE_HMARGERR  0x000081
00033 #define DSP_DE_HMSBUSY   0x000096
00034 #define DSP_DE_HMSOVFL   0x000094
00035 #define DSP_DE_HMSUFL    0x000095
00036 #define DSP_DE_ILLHM     0x00008e
00037 #define DSP_DE_ILLSUB    0x00008d
00038 #define DSP_DE_LC        0x000085
00039 #define DSP_DE_LMEMARG   0x0000a5
00040 #define DSP_DE_NO_PROG   0x0000a6
00041 #define DSP_DE_PC        0x000082
00042 #define DSP_DE_PLE_SYSMM         0x0000a9
00043 #define DSP_DE_RESET     0x00008f
00044 #define DSP_DE_SCROVFL   0x0000a1
00045 #define DSP_DE_SP        0x000086
00046 #define DSP_DE_SR        0x000084
00047 #define DSP_DE_SSH       0x000083
00048 #define DSP_DE_SSIWDU    0x0000a2
00049 #define DSP_DE_STATUS0   0x00008a
00050 #define DSP_DE_STATUS1   0x00008b
00051 #define DSP_DE_STATUS2   0x00008c
00052 #define DSP_DE_TIME0     0x000087
00053 #define DSP_DE_TIME1     0x000088
00054 #define DSP_DE_TIME2     0x000089
00055 #define DSP_DE_TMQEOIF   0x00009f
00056 #define DSP_DE_TMQFULL   0x000097
00057 #define DSP_DE_TMQHMM    0x00009c
00058 #define DSP_DE_TMQMI     0x000099
00059 #define DSP_DE_TMQREADY  0x000098
00060 #define DSP_DE_TMQRWPL   0x00009e
00061 #define DSP_DE_TMQTM     0x00009d
00062 #define DSP_DE_TMQTMM    0x00009b
00063 #define DSP_DE_TMQU      0x00009a
00064 #define DSP_DE_USER_ERR  0x0000ab
00065 #define DSP_DE_WFP_BAD   0x0000aa
00066 #define DSP_DE_XHMILL    0x000092
00067 #define DSP_DE_XMEMARG   0x0000a3
00068 #define DSP_DE_YMEMARG   0x0000a4
00069 #define DSP_DM_DM_MIDI_MSG       0x000008
00070 #define DSP_DM_DM_OFF    0x000006
00071 #define DSP_DM_DM_ON     0x000007
00072 #define DSP_DM_HMS_ROOM  0x00001d
00073 #define DSP_DM_HM_DONE   0x00000b
00074 #define DSP_DM_HM_FIRST  0x000020
00075 #define DSP_DM_HM_LAST   0x000021
00076 #define DSP_DM_HOST_R_DONE       0x000003
00077 #define DSP_DM_HOST_R_REQ        0x000005
00078 #define DSP_DM_HOST_R_SET1       0x000009
00079 #define DSP_DM_HOST_W_DONE       0x000002
00080 #define DSP_DM_HOST_W_REQ        0x000004
00081 #define DSP_DM_IAA       0x000011
00082 #define DSP_DM_IDLE      0x00000f
00083 #define DSP_DM_ILLDSPMSG         0x000000
00084 #define DSP_DM_KERNEL_ACK        0x000001
00085 #define DSP_DM_LC        0x000015
00086 #define DSP_DM_MAIN_DONE         0x00000c
00087 #define DSP_DM_NOT_IN_USE        0x000010
00088 #define DSP_DM_PC        0x000012
00089 #define DSP_DM_PEEK0     0x00000d
00090 #define DSP_DM_PEEK1     0x00000e
00091 #define DSP_DM_SP        0x000016
00092 #define DSP_DM_SR        0x000014
00093 #define DSP_DM_SSH       0x000013
00094 #define DSP_DM_SSI_WDU   0x00001f
00095 #define DSP_DM_STATUS0   0x00001a
00096 #define DSP_DM_STATUS1   0x00001b
00097 #define DSP_DM_STATUS2   0x00001c
00098 #define DSP_DM_TIME0     0x000017
00099 #define DSP_DM_TIME1     0x000018
00100 #define DSP_DM_TIME2     0x000019
00101 #define DSP_DM_TMQ_LWM   0x00000a
00102 #define DSP_DM_TMQ_ROOM  0x00001e
00103 #define DSP_DM_USER_MSG  0x000022
00104 
00105 /***** PH SYMBOLS (DISPATCH ADDRESSES) *****/
00106 #define DSP_HM_ABORT     0x003fec
00107 #define DSP_HM_ADC_LOOP  0x003fc0
00108 #define DSP_HM_BLOCK_OFF         0x003f96
00109 #define DSP_HM_BLOCK_ON  0x003f94
00110 #define DSP_HM_BLOCK_TMQ_LWM     0x003fc6
00111 #define DSP_HM_BLT_P     0x003f72
00112 #define DSP_HM_BLT_X     0x003f6e
00113 #define DSP_HM_BLT_Y     0x003f70
00114 #define DSP_HM_CLEAR_BREAK       0x003f86
00115 #define DSP_HM_CLEAR_DMA_HM      0x003f38
00116 #define DSP_HM_CLOSE_PAREN       0x003fc4
00117 #define DSP_HM_DM_OFF    0x003f3a
00118 #define DSP_HM_DM_ON     0x003f3c
00119 #define DSP_HM_DMA_RD_SSI_OFF    0x003f4e
00120 #define DSP_HM_DMA_RD_SSI_ON     0x003f4c
00121 #define DSP_HM_DMA_WD_SSI_OFF    0x003f52
00122 #define DSP_HM_DMA_WD_SSI_ON     0x003f50
00123 #define DSP_HM_DONE_INT  0x003f98
00124 #define DSP_HM_DONE_NOINT        0x003f9a
00125 #define DSP_HM_ECHO      0x003f76
00126 #define DSP_HM_EXECUTE   0x003fa0
00127 #define DSP_HM_EXECUTE_HM        0x003fa2
00128 #define DSP_HM_FILL_P    0x003f6c
00129 #define DSP_HM_FILL_X    0x003f68
00130 #define DSP_HM_FILL_Y    0x003f6a
00131 #define DSP_HM_FIRST     0x003f38
00132 #define DSP_HM_GET_TIME  0x003f7e
00133 #define DSP_HM_GO        0x003f8a
00134 #define DSP_HM_HALT      0x003fb8
00135 #define DSP_HM_HIGH_SRATE        0x003fb0
00136 #define DSP_HM_HM_FIRST  0x003faa
00137 #define DSP_HM_HM_LAST   0x003fac
00138 #define DSP_HM_HMS_ROOM  0x003f92
00139 #define DSP_HM_HOST_R    0x003f3e
00140 #define DSP_HM_HOST_R_DONE       0x003f40
00141 #define DSP_HM_HOST_RD_DONE      0x003fb6
00142 #define DSP_HM_HOST_RD_OFF       0x003f46
00143 #define DSP_HM_HOST_RD_ON        0x003f44
00144 #define DSP_HM_HOST_W    0x003f42
00145 #define DSP_HM_HOST_W_DT         0x003fbc
00146 #define DSP_HM_HOST_W_SWFIX      0x003fbe
00147 #define DSP_HM_HOST_WD_DONE      0x003fb4
00148 #define DSP_HM_HOST_WD_OFF       0x003f4a
00149 #define DSP_HM_HOST_WD_ON        0x003f48
00150 #define DSP_HM_IDLE      0x003f78
00151 #define DSP_HM_JSR       0x003fa4
00152 #define DSP_HM_LAST      0x003fce
00153 #define DSP_HM_LOAD_STATE        0x003fa8
00154 #define DSP_HM_LOW_SRATE         0x003fb2
00155 #define DSP_HM_MAIN_DONE         0x003ff4
00156 #define DSP_HM_MIDI_MSG  0x003fae
00157 #define DSP_HM_OPEN_PAREN        0x003fc2
00158 #define DSP_HM_PEEK_N    0x003f5c
00159 #define DSP_HM_PEEK_P    0x003f58
00160 #define DSP_HM_PEEK_R    0x003f5a
00161 #define DSP_HM_PEEK_X    0x003f54
00162 #define DSP_HM_PEEK_Y    0x003f56
00163 #define DSP_HM_POKE_N    0x003f66
00164 #define DSP_HM_POKE_P    0x003f62
00165 #define DSP_HM_POKE_R    0x003f64
00166 #define DSP_HM_POKE_X    0x003f5e
00167 #define DSP_HM_POKE_Y    0x003f60
00168 #define DSP_HM_RESET_AP  0x003ff6
00169 #define DSP_HM_RESET_IPR         0x003f7c
00170 #define DSP_HM_RESET_SOFT        0x003f7a
00171 #define DSP_HM_SAVE_STATE        0x003fa6
00172 #define DSP_HM_SAY_SOMETHING     0x003f74
00173 #define DSP_HM_SERVICE_TMQ       0x003ff0
00174 #define DSP_HM_SERVICE_WRITE_DATA        0x003ff8
00175 #define DSP_HM_SET_BREAK         0x003f84
00176 #define DSP_HM_SET_DMA_R_M       0x003fca
00177 #define DSP_HM_SET_DMA_W_M       0x003fcc
00178 #define DSP_HM_SET_START         0x003f88
00179 #define DSP_HM_SET_TIME  0x003f80
00180 #define DSP_HM_SET_TINC  0x003f82
00181 #define DSP_HM_SINE_TEST         0x003fba
00182 #define DSP_HM_STDERR    0x003fee
00183 #define DSP_HM_STEP      0x003f8c
00184 #define DSP_HM_TMQ_LWM_ME        0x003f90
00185 #define DSP_HM_TMQ_ROOM  0x003f8e
00186 #define DSP_HM_TRACE_OFF         0x003f9e
00187 #define DSP_HM_TRACE_ON  0x003f9c
00188 #define DSP_HM_UNBLOCK_TMQ_LWM   0x003fc8
00189 #define DSP_HM_WRITE_DATA_SWITCH         0x003ff2
00190 #define DSP_LOC_SOUND_PAR_1      0x003fe4
00191 #define DSP_LOC_SOUND_PAR_2      0x003fe5
00192 #define DSP_LOC_SOUND_PAR_3      0x003fe6
00193 #define DSP_LOC_SOUND_PAR_4      0x003fe7
00194 #define DSP_LOC_UNUSED   0x003feb
00195 #define DSP_LOC_X_DMA_WFP        0x003fea
00196 #define DSP_LOC_XHMTA_RETURN_FOR_TZM     0x003fe8
00197 #define DSP_MAIN_DONE1   0x003b5f
00198 
00199 #endif