Jump to content

Bournes Encoder Skipping... Checked Wiki


cosmosuave
 Share

Recommended Posts

Ok only trouble I am having with my Stereo Sid is that the main menu encoder is skipping which is frustrating... I searched the wiki and found this http://www.midibox.org/dokuwiki/fix_for_skipping_encoders?s=ec12

I make the the change to the 6581.asm file but when I compile the code I get a syntax error [105]... I get the error when I add the recommended code... When I remove the code no syntax error.... I am adding the code here... But the wiki shows the code being added after a clock divider statement which I do not have in my code... I know this is an easy fix or do I have to physically have to remove the Bournes encoder and remove the pin?

Thanks..

#define DEFAULT_ACCENT_OSC3_R_OUT 0

;; sets the default display mode for the LED matrix

;;    0: shows modulation assignments after power-on

;;    1: shows modulation meters after power-on

;; the mode can be toggled by pressing two mod target buttons at the same time (e.g. O1 and O2 Pitch)

#define DEFAULT_LEDMATRIX_MODE 0

;; if != 0, special variations for MB6582 hardware will be selected

#define DEFAULT_MB6582_CS 0

org 0x3082 ; never change the origin!

------>This where I am adding the code #define MIOS_ENC_MODE_DETENTED3 0×82

; ==========================================================================

;  In this table all button functions are mapped to the DIN pins

;

;  The function name can be found on the left, the shift register and pin

;  number on the right side.

;

;  SR/pin numbers:

;    SR =  1 for the first DIN shift register

;    SR =  2 for the second DIN shift register

;    ...

;    SR = 16 for the last DIN shift register

;

;    Pin = 0 for the D0 input pin of the shift register

Link to comment
Share on other sites

Hi!

are you using V2 of the SID firmware? In that case it's slightly different from what's described on the wiki I think. The code I downloaded from www.ucapps.de already had a line in it for the detention mode. It looked like this (just search on these lines in the editor...):

ENC_ENTRY  1,  0,  MIOS_ENC_MODE_DETENTED2 ; menu encoder

For the bourns encoder I changed it to

ENC_ENTRY  1,  0,  MIOS_ENC_MODE_DETENTED3 ; menu encoder

which works perfectly for me!

Rutger

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...