logo64 Posted June 28, 2006 Report Share Posted June 28, 2006 Greetings,I finally got around to installing the latest SID OS, with '303' control, and have been loving it. I was hoping that the pitch of the sequence would be mapped to an output on the AOUT, and once again I need to dig into the source files to figure out the AOUT hard-coded routing. I'm having a hell of a time finding where in the code this is laid out... there are something like 60 files to wade through. Any idea which file/files define the AOUT routing?I Finally got around to posting some pictures and details on my modular midibox SID here:http://home.earthlink.net/~erinys/tech.htm-gerald Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 28, 2006 Report Share Posted June 28, 2006 you're after midi_evnt.inc, line 114 :) Quote Link to comment Share on other sites More sharing options...
logo64 Posted June 29, 2006 Author Report Share Posted June 29, 2006 Okay, so I must be blind, but the midi_evnt.inc file wasn't included with midibox SID v 1.7303, or earlier versions that I have either. What am I missing? ??? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 29, 2006 Report Share Posted June 29, 2006 Heh sorry that was for the seq.... I've got sequencers on the brain ;)Gimme a minute here.... Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 29, 2006 Report Share Posted June 29, 2006 I'm not so well versed on the MBSID but try sid_sw.inc, line 400.... ;; AOUT1: resonance movf SID_RESONANCE_7BIT, W, BANKED BIFCLR SID_SE_OPTION, SE_OPTION_TB303, BANKED, rgoto SIDSW_Handler_Res_NoAcc BIFCLR SID_V1_BASE + SID_Vx_MODE, SID_MODE_ACCENT, BANKED, rgoto SIDSW_Handler_Res_NoAcc addlw 0x40 IFSET WREG, 7, movlw 0x7f SIDSW_Handler_Res_NoAcc mullw 32 movff PRODL, AOUT1_L movff PRODH, AOUT1_H ;; AOUT2/3/4: PW OSC1/2/3 movff SID_V1_PW_L, AOUT2_L movff SID_V1_PW_H, AOUT2_H movff SID_V2_PW_L, AOUT3_L movff SID_V2_PW_H, AOUT3_H movff SID_V3_PW_L, AOUT4_L movff SID_V3_PW_H, AOUT4_H ;; AOUT5/6/7: Pitch OSC1/2/3 swapf SID_V1_FRQ_L, W, BANKED andlw 0x0f movwf AOUT5_L swapf SID_V1_FRQ_H, W, BANKED andlw 0xf0 iorwf AOUT5_L swapf SID_V1_FRQ_H, W, BANKED andlw 0x0f movwf AOUT5_H swapf SID_V2_FRQ_L, W, BANKED andlw 0x0f movwf AOUT6_L swapf SID_V2_FRQ_H, W, BANKED andlw 0xf0 iorwf AOUT6_L, F swapf SID_V2_FRQ_H, W, BANKED andlw 0x0f movwf AOUT6_H swapf SID_V3_FRQ_L, W, BANKED andlw 0x0f movwf AOUT7_L swapf SID_V3_FRQ_H, W, BANKED andlw 0xf0 iorwf AOUT7_L, F swapf SID_V3_FRQ_H, W, BANKED andlw 0x0f movwf AOUT7_H Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.