Jump to content

Midibox SID asm file Question


napierzaza

Recommended Posts

Okay, going through all the pin assignments.

What the devil is with this:

<code>

;; additional CS encoders

;;        SR  Pin  Mode

ENC_ENTRY  3,  0,  MIOS_ENC_MODE_DETENTED2 ; Osc delay/transpose/assign #1

ENC_ENTRY  3,  2,  MIOS_ENC_MODE_DETENTED2 ; Osc attack/finetune/assign #2

ENC_ENTRY  3,  4,  MIOS_ENC_MODE_DETENTED2 ; Osc decay/portamento/assign #3

ENC_ENTRY  3,  6,  MIOS_ENC_MODE_DETENTED2 ; Osc sustain/release/assign #4

ENC_ENTRY  3,  8,  MIOS_ENC_MODE_DETENTED2 ; Osc release/pulsewidth/assign #5

</code>

It says that there is a 8th pin for that SR? Looking at it I believe that it's showing only even because encoders take two pins to function. So I think this ASM is implying that this is a 10 pin encoder. It says there are only 8 pins though... correct?

Link to comment
Share on other sites

Interesting, this is a definition error in the encoder table, because the "OSC Release" encoder should be assigned to SR4, Pin 0 (and 1)

Due to some magic 3,8 leads to the same assignment as 4,0

(ok, replace "magic" by "sr*8 + pin" ;-))

I changed the source code to:

[tt]

ENC_ENTRY  4,  0,  MIOS_ENC_MODE_DETENTED2   ; Osc release/pulsewidth/assign #5

[/tt]

Best Regards, Thorsten.

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...
×
×
  • Create New...