This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
how_to_use_midibox_cv_with_a_dout_german [2006/03/27 14:29] talion created |
how_to_use_midibox_cv_with_a_dout_german [2009/05/04 15:55] (current) 129.120.95.63 |
||
---|---|---|---|
Line 20: | Line 20: | ||
Sourcen von Midibox CV herunterladen http://www.ucapps.de/mios_download.html und in main.asm nach dieser Stelle suchen: | Sourcen von Midibox CV herunterladen http://www.ucapps.de/mios_download.html und in main.asm nach dieser Stelle suchen: | ||
+ | <code> | ||
USER_MPROC_NotifyReceivedEvent | USER_MPROC_NotifyReceivedEvent | ||
;; process MIDI event | ;; process MIDI event | ||
Line 28: | Line 28: | ||
;; will be mapped immediately | ;; will be mapped immediately | ||
rgoto USER_Tick | rgoto USER_Tick | ||
+ | </code> | ||
Mit diesem Code ersetzen: | Mit diesem Code ersetzen: | ||
+ | <code> | ||
USER_MPROC_NotifyReceivedEvent | USER_MPROC_NotifyReceivedEvent | ||
Line 45: | Line 45: | ||
movlw 0x90 ; check for Note On at channel #1 | movlw 0x90 ; check for Note On at channel #1 | ||
- | IFNEQ MIOS_PARAMETER1, ACCESS, rgoto USER_MPROC_NRE_NoNoteChn1 | + | cpfseq MIOS_PARAMETER1, ACCESS |
+ | rgoto USER_MPROC_NRE_NoNoteChn1 | ||
USER_MPROC_NRE_NoteChn1 | USER_MPROC_NRE_NoteChn1 | ||
;; MIOS_DOUT_PinSet expects pin number in WREG, value in MIOS_PARAMETER1 | ;; MIOS_DOUT_PinSet expects pin number in WREG, value in MIOS_PARAMETER1 | ||
Line 66: | Line 67: | ||
;; will be mapped immediately | ;; will be mapped immediately | ||
rgoto USER_Tick | rgoto USER_Tick | ||
+ | </code> | ||
Line 76: | Line 77: | ||
Wer Vintage Drummer triggern will muss diesen Code zusätzlich in die main.asm einsetzen. Nach folgender Stelle suchen: | Wer Vintage Drummer triggern will muss diesen Code zusätzlich in die main.asm einsetzen. Nach folgender Stelle suchen: | ||
+ | <code> | ||
USER_SR_Service_Finish | USER_SR_Service_Finish | ||
;; ---[ handle with control surface variables (flashing cursor, etc) ]--- | ;; ---[ handle with control surface variables (flashing cursor, etc) ]--- | ||
goto CS_MENU_TIMER | goto CS_MENU_TIMER | ||
+ | </code> | ||
Und mit diesem Code ersetzen: | Und mit diesem Code ersetzen: | ||
+ | <code> | ||
USER_SR_Service_Finish | USER_SR_Service_Finish | ||
clrf MIOS_PARAMETER1 | clrf MIOS_PARAMETER1 | ||
Line 97: | Line 98: | ||
;; ---[ handle with control surface variables (flashing cursor, etc) ]--- | ;; ---[ handle with control surface variables (flashing cursor, etc) ]--- | ||
goto CS_MENU_TIMER | goto CS_MENU_TIMER | ||
+ | </code> | ||
Hiermit erreicht man, dass bei jedem Cycle die dout's zurückgesetzt werden - das dauert 1ms. Somit kann man die Drummodule mit 1ms Latenz | Hiermit erreicht man, dass bei jedem Cycle die dout's zurückgesetzt werden - das dauert 1ms. Somit kann man die Drummodule mit 1ms Latenz | ||
Line 106: | Line 107: | ||
Themen im Forum: | Themen im Forum: | ||
- | http://www.midibox.org/forum/index.php?topic=2701.0 | + | http://www.midibox.org/forum/index.php?topic=2701.0\\ |
http://www.midibox.org/forum/index.php?topic=6333.0 | http://www.midibox.org/forum/index.php?topic=6333.0 |