cosmosuave Posted March 17, 2008 Report Share Posted March 17, 2008 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=ec12I 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 Quote Link to comment Share on other sites More sharing options...
rutgerv Posted March 17, 2008 Report Share Posted March 17, 2008 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 encoderFor the bourns encoder I changed it to ENC_ENTRY 1, 0, MIOS_ENC_MODE_DETENTED3 ; menu encoderwhich works perfectly for me!Rutger Quote Link to comment Share on other sites More sharing options...
cosmosuave Posted March 18, 2008 Author Report Share Posted March 18, 2008 No dice I try'd that and no change maybe I have a flaky encoder... I have few spares from when I changed the encoders on my Yamaha A4000 now to figure out which one's on it that were flaky... 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.