Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 1189 → Rev 1190

/trunk/apps/synthesizers/midibox_sid_v2/CHANGELOG.txt
1,5 → 1,11
$Id$
 
MIDIboxSID V2.045
~~~~~~~~~~~~~~~~~
 
o current instrument can now be selected via SysEx (see doc/mbsidv2_sysex_implementation.txt)
 
 
MIDIboxSID V2.044
~~~~~~~~~~~~~~~~~
 
/trunk/apps/synthesizers/midibox_sid_v2/doc/mbsidv2_sysex_implementation.txt
114,6 → 114,13
With <type> = 0x0b: stores the current edit buffer of SID4 in BankStick
With <type> = 0x70: stores the current ensemble in BankStick
 
0C/f) F0 00 00 7E 4B <device-number> 0C 20 <channel|instrument> F7
Changes the selected SID channel or instrument:
- lead engine: selects between --, L-, -R, LR (range 0..3)
- bassline engine: selects between --, L-, -R, LR (range 0..3)
- drum engine: 16 instruments -> range 0..15
- multi engine: 6 instruments -> range 0..5
Numbers outside the range will be silently ignored
 
0F/a) F0 00 00 7E 4B <device number> 0F F7
Ping (just sends back the same SysEx string + <sids>)
/trunk/apps/synthesizers/midibox_sid_v2/src/sid_sysex.inc
392,7 → 392,7
movf SID_MIDI_DEVICE, W
bz SID_SYSEX_PATCH_Write_I_Mst
SID_SYSEX_PATCH_Write_I_Slv
rcall SID_SYSEX_CopyBuffer
call SID_SYSEX_CopyBuffer
rgoto SID_SYSEX_PATCH_Write_I_End
 
SID_SYSEX_PATCH_Write_I_Mst
415,7 → 415,7
movf CS_MENU_SID, W
bnz SID_SYSEX_PATCH_Write_I_Mst_CAN
SID_SYSEX_PATCH_Write_I_Mst_Copy
rcall SID_SYSEX_CopyBuffer
call SID_SYSEX_CopyBuffer
rgoto SID_SYSEX_PATCH_Write_I_Mst_Next
 
SID_SYSEX_PATCH_Write_I_Mst_CAN
738,6 → 738,8
bz SID_SYSEX_Cmd_10
addlw 0x10-0x18
bz SID_SYSEX_Cmd_18
addlw 0x18-0x20
bz SID_SYSEX_Cmd_20
SID_SYSEX_Cmd_Inv
;; invalid command
rgoto SID_SYSEX_DisAck_InvCmd
897,7 → 899,44
;; and generate display message
rgoto SID_SYSEX_PATCH_Write_E_EE_Cont
 
SID_SYSEX_Cmd_20
;; action invalid if command byte hasn't been received
BRA_IFCLR SID_SYSEX_STATE2, SID_SYSEX_STATE2_CMDBYTE_RECEIVED, BANKED, SID_SYSEX_DisAck_NotComplete
 
;; check if instrument selection is within the range
movff SID_PATCH_BUFFER_SHADOW + SID_Ix_ENGINE, WREG
andlw 0x03
JUMPTABLE_2BYTES_UNSECURE
rgoto SID_SYSEX_Cmd_20_L
rgoto SID_SYSEX_Cmd_20_B
rgoto SID_SYSEX_Cmd_20_D
rgoto SID_SYSEX_Cmd_20_M
 
SID_SYSEX_Cmd_20_L ; lead: range 0..3 selects between --, L-, R- and LR)
movlw 4-1
cpfsgt SID_SYSEX_DATA, BANKED
movff SID_SYSEX_DATA, CS_MENU_SELECTED_SID_LR
rgoto SID_SYSEX_Cmd_Ack
SID_SYSEX_Cmd_20_B ; bassline: range 0..3 selects between --, L-, R- and LR)
movlw 4-1
cpfsgt SID_SYSEX_DATA, BANKED
movff SID_SYSEX_DATA, CS_MENU_SELECTED_SID_LR
rgoto SID_SYSEX_Cmd_Ack
 
SID_SYSEX_Cmd_20_D ; drums: range 0..15
movlw 16-1
cpfsgt SID_SYSEX_DATA, BANKED
movff SID_SYSEX_DATA, CS_MENU_SELECTED_INS
rgoto SID_SYSEX_Cmd_Ack
 
SID_SYSEX_Cmd_20_M ; multi: range 0..5
movlw 6-1
cpfsgt SID_SYSEX_DATA, BANKED
movff SID_SYSEX_DATA, CS_MENU_SELECTED_INS
rgoto SID_SYSEX_Cmd_Ack
 
 
SID_SYSEX_Cmd_Ack
;; send Acknowledge
rcall SID_SYSEX_Send_Acknowledge
/trunk/apps/synthesizers/midibox_sid_v2/src/main.inc
22,7 → 22,7
; ==========================================================================
;
; Version: <-------------------->
#define MBSID_VERSION_STR "MIDIboxSID V2.044 "
#define MBSID_VERSION_STR "MIDIboxSID V2.045 "
; (fixed string length - 20 characters!)
 
;; MBNET specific definitions (ping reply information - don't touch this!)
/trunk/apps/synthesizers/midibox_sid_v2/src/app_defines.h
110,7 → 110,7
CS_MENU_EDIT_BUFFER_SID EQU 0x03d ; reference to SID patch which is stored in edit buffer
CS_MENU_SELECTED_SID_FLAGS EQU 0x03e ; every flag stays for one SID
CS_MENU_SELECTED_SID_LR EQU 0x03f ; selected SID L/R
CS_MENU_SELECTED_INS EQU 0x040 ; the selected ensemble
CS_MENU_SELECTED_INS EQU 0x040 ; the selected instrument
CS_MENU_SELECTED_OSC EQU 0x041 ; the selected oscillator
CS_MENU_SELECTED_OSC_FLAGS EQU 0x042 ; every flag stays for one oscillator
CS_MENU_SELECTED_OSC_CTRL EQU 0x043 ; selects Env/Misc and Assign