Subversion Repositories svn.mios

Rev

Rev 679 | Rev 878 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 679 Rev 869
Line 1... Line 1...
1
; $Id: sid_par_table.inc 679 2009-02-07 22:19:22Z tk $
1
; $Id: sid_par_table.inc 869 2009-12-08 21:52:43Z tk $
2
;
2
;
3
; MIDIbox SID
3
; MIDIbox SID
4
; Parameter Table
4
; Parameter Table
5
; used by sid_parin.inc and sid_parout.inc
5
; used by sid_parin.inc and sid_parout.inc
6
;
6
;
Line 135... Line 135...
135
;;  Parameter Number String Definitions and table
135
;;  Parameter Number String Definitions and table
136
;; --------------------------------------------------------------------------
136
;; --------------------------------------------------------------------------
137
P_N_NOP		EQU	0x00
137
P_N_NOP		EQU	0x00
138
P_N_OSC		EQU	0x01
138
P_N_OSC		EQU	0x01
139
P_N_FIL		EQU	0x02
139
P_N_FIL		EQU	0x02
-
 
140
P_N_FIL_L	EQU	0x03
-
 
141
P_N_FIL_R	EQU	0x04
140
P_N_KNOB	EQU	0x03
142
P_N_KNOB	EQU	0x05
141
P_N_EXT		EQU	0x04
143
P_N_EXT		EQU	0x06
142
P_N_OSC123	EQU	0x05
144
P_N_OSC123	EQU	0x07
143
P_N_MOD		EQU	0x06
145
P_N_MOD		EQU	0x08
144
P_N_LFO		EQU	0x07
146
P_N_LFO		EQU	0x09
145
P_N_ENV		EQU	0x08
147
P_N_ENV		EQU	0x0a
146
P_N_WT		EQU	0x09
148
P_N_WT		EQU	0x0b
147
P_N_OSC_INS	EQU	0x0a
149
P_N_OSC_INS	EQU	0x0c
148
P_N_LFO1_INS	EQU	0x0b
150
P_N_LFO1_INS	EQU	0x0d
149
P_N_LFO2_INS	EQU	0x0c
151
P_N_LFO2_INS	EQU	0x0e
150
P_N_ENV_INS	EQU	0x0d
152
P_N_ENV_INS	EQU	0x0f
151
P_N_OSC_BL	EQU	0x0e
153
P_N_OSC_BL	EQU	0x10
152
P_N_LFO_BL	EQU	0x0f
154
P_N_LFO_BL	EQU	0x11
153
P_N_ENV_BL	EQU	0x10
155
P_N_ENV_BL	EQU	0x12
154
P_N_DRM_CUR	EQU	0x11
156
P_N_DRM_CUR	EQU	0x13
155
P_N_DRM_INS	EQU	0x12
157
P_N_DRM_INS	EQU	0x14
156
158
157
	;; read from sid_lcd.inc
159
	;; read from sid_lcd.inc
158
160
159
;; --------------------------------------------------------------------------
161
;; --------------------------------------------------------------------------
160
;;  Parameter Modification Definitions and table
162
;;  Parameter Modification Definitions and table
Line 169... Line 171...
169
P_M_PAR12	EQU	0x06
171
P_M_PAR12	EQU	0x06
170
P_M_CUSTOM_SW	EQU	0x07
172
P_M_CUSTOM_SW	EQU	0x07
171
P_M_FIL4L	EQU	0x08
173
P_M_FIL4L	EQU	0x08
172
P_M_FIL4U	EQU	0x09
174
P_M_FIL4U	EQU	0x09
173
P_M_FIL12	EQU	0x0a
175
P_M_FIL12	EQU	0x0a
-
 
176
P_M_FIL12_DIRECT EQU	0x0b
174
P_M_FIL8	EQU	0x0b
177
P_M_FIL8	EQU	0x0c
175
P_M_OSC123_PM7	EQU	0x0c
178
P_M_OSC123_PM7	EQU	0x0d
176
P_M_OSC123_PM8	EQU	0x0d
179
P_M_OSC123_PM8	EQU	0x0e
177
P_M_OSC123_7	EQU	0x0e
180
P_M_OSC123_7	EQU	0x0f
178
P_M_OSC123_8	EQU	0x0f
181
P_M_OSC123_8	EQU	0x10
179
P_M_OSC123_12	EQU	0x10
182
P_M_OSC123_12	EQU	0x11
180
P_M_OSC123_4L	EQU	0x11
183
P_M_OSC123_4L	EQU	0x12
181
P_M_OSC123_5L	EQU	0x12
184
P_M_OSC123_5L	EQU	0x13
182
P_M_OSC123_6L	EQU	0x13
185
P_M_OSC123_6L	EQU	0x14
183
P_M_OSC123_4U	EQU	0x14
186
P_M_OSC123_4U	EQU	0x15
184
P_M_OSC123_PB	EQU	0x15
187
P_M_OSC123_PB	EQU	0x16
185
P_M_MOD_PM8	EQU	0x16
188
P_M_MOD_PM8	EQU	0x17
186
P_M_MOD_B76	EQU	0x17
189
P_M_MOD_B76	EQU	0x18
187
P_M_LFO_4U	EQU	0x18
190
P_M_LFO_4U	EQU	0x19
188
P_M_LFO_PM8	EQU	0x19
191
P_M_LFO_PM8	EQU	0x1a
189
P_M_LFO_8	EQU	0x1a
192
P_M_LFO_8	EQU	0x1b
190
P_M_ENV_PM8	EQU	0x1b
193
P_M_ENV_PM8	EQU	0x1c
191
P_M_ENV_8	EQU	0x1c
194
P_M_ENV_8	EQU	0x1d
192
P_M_WT_6	EQU	0x1d
195
P_M_WT_6	EQU	0x1e
193
P_M_WT_7	EQU	0x1e
196
P_M_WT_7	EQU	0x1f
194
P_M_WT_POS	EQU	0x1f
197
P_M_WT_POS	EQU	0x20
195
P_M_NOTE	EQU	0x20
198
P_M_NOTE	EQU	0x21
196
P_M_OSC_INS_PM7	EQU	0x21
199
P_M_OSC_INS_PM7	EQU	0x22
197
P_M_OSC_INS_PM8	EQU	0x22
200
P_M_OSC_INS_PM8	EQU	0x23
198
P_M_OSC_INS_7	EQU	0x23
201
P_M_OSC_INS_7	EQU	0x24
199
P_M_OSC_INS_8	EQU	0x24
202
P_M_OSC_INS_8	EQU	0x25
200
P_M_OSC_INS_12	EQU	0x25
203
P_M_OSC_INS_12	EQU	0x26
201
P_M_OSC_INS_4L	EQU	0x26
204
P_M_OSC_INS_4L	EQU	0x27
202
P_M_OSC_INS_5L	EQU	0x27
205
P_M_OSC_INS_5L	EQU	0x28
203
P_M_OSC_INS_6L	EQU	0x28
206
P_M_OSC_INS_6L	EQU	0x29
204
P_M_OSC_INS_4U	EQU	0x29
207
P_M_OSC_INS_4U	EQU	0x2a
205
P_M_OSC_INS_PB	EQU	0x2a
208
P_M_OSC_INS_PB	EQU	0x2b
206
P_M_OSC_BL_PM7	EQU	0x2b
209
P_M_OSC_BL_PM7	EQU	0x2c
207
P_M_OSC_BL_PM8	EQU	0x2c
210
P_M_OSC_BL_PM8	EQU	0x2d
208
P_M_OSC_BL_P8	EQU	0x2d
211
P_M_OSC_BL_P8	EQU	0x2e
209
P_M_OSC_BL_7	EQU	0x2e
212
P_M_OSC_BL_7	EQU	0x2f
210
P_M_OSC_BL_8	EQU	0x2f
213
P_M_OSC_BL_8	EQU	0x30
211
P_M_OSC_BL_12	EQU	0x30
214
P_M_OSC_BL_12	EQU	0x31
212
P_M_OSC_BL_4L	EQU	0x31
215
P_M_OSC_BL_4L	EQU	0x32
213
P_M_OSC_BL_5L	EQU	0x32
216
P_M_OSC_BL_5L	EQU	0x33
214
P_M_OSC_BL_6L	EQU	0x33
217
P_M_OSC_BL_6L	EQU	0x34
215
P_M_OSC_BL_4U	EQU	0x34
218
P_M_OSC_BL_4U	EQU	0x35
216
P_M_OSC_BL_PB	EQU	0x35
219
P_M_OSC_BL_PB	EQU	0x36
217
P_M_OSC_BL_FIL12 EQU	0x36
220
P_M_OSC_BL_FIL12 EQU	0x37
218
P_M_OSC_BL_FIL8 EQU	0x37
221
P_M_OSC_BL_FIL8 EQU	0x38
219
P_M_DRM_8	EQU	0x38
222
P_M_DRM_8	EQU	0x39
220
P_M_DRM_PM8	EQU	0x39
223
P_M_DRM_PM8	EQU	0x3a
221
P_M_DRM_4U	EQU	0x3a
224
P_M_DRM_4U	EQU	0x3b
222
P_M_DRM_4L	EQU	0x3b
225
P_M_DRM_4L	EQU	0x3c
223
P_M_NOTE_INS	EQU	0x3c
226
P_M_NOTE_INS	EQU	0x3d
224
227
225
228
226
229
227
;; --------------------------------------------------------------------------
230
;; --------------------------------------------------------------------------
228
;;  This function returns the offset to the parameter table depending on WREG
231
;;  This function returns the offset to the parameter table depending on WREG
Line 575... Line 578...
575
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
578
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
576
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
579
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
577
  ;; --[ 0x04-0x07 ]-----------------------------------------------------------------------------
580
  ;; --[ 0x04-0x07 ]-----------------------------------------------------------------------------
578
  PAR_ENTRY	P_S_CUTOFF,	P_N_FIL,	P_M_FIL12,	SID_Ix_L_S1F_BASE+SID_Ix_L_Fx_CUTOFF_L
581
  PAR_ENTRY	P_S_CUTOFF,	P_N_FIL,	P_M_FIL12,	SID_Ix_L_S1F_BASE+SID_Ix_L_Fx_CUTOFF_L
579
  PAR_ENTRY	P_S_RESONANCE,	P_N_FIL,	P_M_FIL8,	SID_Ix_L_S1F_BASE+SID_Ix_L_Fx_RESONANCE
582
  PAR_ENTRY	P_S_RESONANCE,	P_N_FIL,	P_M_FIL8,	SID_Ix_L_S1F_BASE+SID_Ix_L_Fx_RESONANCE
580
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
583
  PAR_ENTRY	P_S_CUTOFF,	P_N_FIL_L,	P_M_FIL12_DIRECT,SID_Ix_L_S1F_BASE+SID_Ix_L_Fx_CUTOFF_L	; located here, since there is no other space free
581
  PAR_ENTRY	P_S_NOP,	P_N_NOP,	P_M_NOP,	0
584
  PAR_ENTRY	P_S_CUTOFF,	P_N_FIL_R,	P_M_FIL12_DIRECT,SID_Ix_L_S2F_BASE+SID_Ix_L_Fx_CUTOFF_L	; located here, since there is no other space free
582
  ;; --[ 0x08-0x0f ]-----------------------------------------------------------------------------
585
  ;; --[ 0x08-0x0f ]-----------------------------------------------------------------------------
583
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K1_BASE+SID_Ix_Px_VALUE
586
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K1_BASE+SID_Ix_Px_VALUE
584
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K2_BASE+SID_Ix_Px_VALUE
587
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K2_BASE+SID_Ix_Px_VALUE
585
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K3_BASE+SID_Ix_Px_VALUE
588
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K3_BASE+SID_Ix_Px_VALUE
586
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K4_BASE+SID_Ix_Px_VALUE
589
  PAR_ENTRY	P_S_KNOB,	P_N_KNOB,	P_M_8,		SID_Ix_P_K4_BASE+SID_Ix_Px_VALUE