Jump to content

MbseqV4 and TR808 bassdrum


matoz
 Share

Recommended Posts

Hi Antonio,

 

you would have to add following snipped into the source code (src/main.inc) after the USER_SR_Service_Finish label:

 

USER_SR_Service_Finish

    clrf    MIOS_PARAMETER1
    movlw   0x00 ; first SR
    call    MIOS_DOUT_SRSet
    movlw   0x01 ; second SR
    call    MIOS_DOUT_SRSet
    movlw   0x02 ; third SR
    call    MIOS_DOUT_SRSet
    ;; etc... add more MIOS32_DOUT_SRSet based on the same scheme if desired

 

 

Best Regards, Thorsten.

 

Hi Thorsten,

 

Finally I completed the boards for MIDIO128 and modified the code as you suggested me.

 

To achieve the 1ms pulse I added not this code after USER_SR_Service_Finish label  but I have added after USER_SR_Service_Finish_End

 

It works but I have an analog scope so I cant measure the time of the pulse with high precision , anyway , comparing the pulse to the scale on the CRT of the scope it seems to me about 1ms .

 

Best regards

 

Antonio

Edited by Antix
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...