Jump to content

cosmosuave

Members
  • Posts

    259
  • Joined

  • Last visited

Everything posted by cosmosuave

  1. I have changed the encoder to different pins... When I change the coding on the 6581asm file sometimes I can get values to increment one integer at a time but the drawback is this: Only works to decrease value no matter which way the encoder is turned... When turning the encoder left/right the integer value is erratic... Going to DL a new asm file load it to see if I get the compiling error that I have been getting and start changing the coding one section at a time and compile to see what I am doing wrong....
  2. a) have yet to try none of my local shops carry encoders b) will give this a go c) I have a dl'd a clean version in the event something else was causing issues but no change.. Thanks Nils I'll try b and hope that will work if not then I'll source an encoder...
  3. I agree with what you say on all the info... There is lots but there are always people here to help which is great... Try this for wiring the core and SID boards... http://www.ucapps.de/mbhp/mbhp_8xsid_c64_psu_optimized.pdf
  4. Okay I manged to find some time to post this... I am having erratic behaviour with my bournes encoder... I have changed the wiring config several times and no change and the various detented settings in the 6581.asm file... Also getting line errors when compiling the asm file... I thinks it is a coding issue.... DIN_ENTRY MACRO function, sr, pin dw function, (pin + 8*(sr-1)) & 0xff ENDM DIN_ENTRY_EOT MACRO dw 0x0000, 0x0000 ENDM CS_MENU_DIN_TABLE ;; Function name SR# Pin# DIN_ENTRY CS_MENU_BUTTON_Dec, 2, 1 ; only valid if rotary encoder not assigned to these pins DIN_ENTRY CS_MENU_BUTTON_Inc, 2, 0 ; (see mios_tables.inc) and CS_MENU_USE_INCDEC_BUTTONS == 1 DIN_ENTRY CS_MENU_BUTTON_Exec, 2, 2 DIN_ENTRY CS_MENU_BUTTON_Sel1, 1, 7 DIN_ENTRY CS_MENU_BUTTON_Sel2, 1, 6 DIN_ENTRY CS_MENU_BUTTON_Sel3, 1, 5 DIN_ENTRY CS_MENU_BUTTON_Sel4, 1, 4 DIN_ENTRY CS_MENU_BUTTON_Sel5, 2, 3 DIN_ENTRY CS_MENU_BUTTON_Sel6, 4, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5 DIN_ENTRY CS_MENU_BUTTON_Sel7, 4, 1 ; define this if CS_MENU_DISPLAYED_ITEMS > 5 DIN_ENTRY CS_MENU_BUTTON_Sel8, 4, 2 ; define this if CS_MENU_DISPLAYED_ITEMS > 5 DIN_ENTRY CS_MENU_BUTTON_Sel9, 4, 3 ; define this if CS_MENU_DISPLAYED_ITEMS > 5 DIN_ENTRY CS_MENU_BUTTON_Sel10, 3, 4 ; define this if CS_MENU_DISPLAYED_ITEMS > 5 DIN_ENTRY CS_MENU_BUTTON_SID1, 0, 0 DIN_ENTRY CS_MENU_BUTTON_SID2, 0, 0 DIN_ENTRY CS_MENU_BUTTON_SID3, 0, 0 DIN_ENTRY CS_MENU_BUTTON_SID4, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Shift, 3, 5 ; was: link button DIN_ENTRY CS_MENU_BUTTON_CC_PageUp, 3, 6 ; combined CC/PageUp -- CC actived together with shift button (no error) DIN_ENTRY CS_MENU_BUTTON_Edit_PageDown, 3, 7 ; combined Edit/PageDown -- Edit actived together with shift button (no error) DIN_ENTRY CS_MENU_BUTTON_Osc_Sel, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Osc_Ctrl, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Osc_Wav, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Osc_RS, 0, 0 DIN_ENTRY CS_MENU_BUTTON_LFO_Sel, 0, 0 DIN_ENTRY CS_MENU_BUTTON_LFO_Wav, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Env_Sel, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Env_Ctrl, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Fil_Sel, 0, 0 DIN_ENTRY CS_MENU_BUTTON_Fil_Mod, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O1Ptch, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O2Ptch, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O3Ptch, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O1PW, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O2PW, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_O3PW, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_Filter, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_E1, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_E2, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L1, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L2, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L3, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L4, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L5, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_L6, 0, 0 DIN_ENTRY CS_MENU_BUTTON_M_Vol, 0, 0 Above is for my control panel for a 2x40 LCD config... ;; encoder entry structure ENC_ENTRY MACRO sr, din_0, mode dw (mode << 8) | (din_0 + 8*(sr-1)) ENDM ENC_EOT MACRO dw 0xffff ENDM MIOS_ENC_PIN_TABLE ;; SR Pin Mode #if CS_MENU_USE_INCDEC_BUTTONS == 0 ENC_ENTRY 2, 0, MIOS_ENC_MODE_DETENTED2 ; menu encoder #endif ;; additional CS encoders ;; SR Pin Mode ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc delay/transpose/assign #1 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc attack/finetune/assign #2 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc decay/portamento/assign #3 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc sustain/release/assign #4 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc release/pulsewidth/assign #5 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; LFO rate ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; LFO depth ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Filter CutOff ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Filter Resonance ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env depth/assign #1 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env attack/assign #2 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env decay/assign #3 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env sustain/assign #4 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env release/assign #5 ;; don't remove this "end-of-table" entry! ENC_EOT Above code for encoder... dw (mode << 8) | (din_0 + 8*(sr-1)) Above code for line 408 error... That code is part of the encoder code.... Is that formula above correct? I want to sort this encoder issue out or I will have to resort to up/down buttons which will not look nice with a big hole on the control surface where the encoder once was...
  5. Thanks... I'll post later today...
  6. Code tag what is that? I know what you mean when i post the code I'm getting smilies and I checked in my profile to disable but I can't... Here is a link to the thread that I think may relate to my issue... For this line of code... dw (mode << | (din_0 + 8*(sr-1)) <---------This is Line 408 Link: http://www.midibox.org/forum/index.php/topic,10936.msg84596.html#msg84596 Scroll to the bottom of 1st page... Then again those #%!! smilies are screwing things up again... I need to get this encoder sorted trying to program the sequencer on the bass engine is a PITA..
  7. Started with a new 6581.asm file made my changes and used the default DETENTED2 and still get the same following error but at line 408 dw (mode << | (din_0 + 8*(sr-1)) <---------This is Line 408 As I recall there were some discussions about this formula in one of my previous threads...
  8. Yes I try'd DETENTED2 and it produced erratic behaviour with the Bournes encoder... I may start with a fresh 6581.asm file and go from there...
  9. Okay hope this is what's req'd This code for the contrl panel... ________________________________________________________________ CS_MENU_DIN_TABLE ;; Function name SR# Pin# DIN_ENTRY CS_MENU_BUTTON_Dec, 2, 1 ; only valid if rotary encoder not assigned to these pins DIN_ENTRY CS_MENU_BUTTON_Inc, 2, 0 ; (see mios_tables.inc) and CS_MENU_USE_INCDEC_BUTTONS == 1 _____________________________________________________________________________ Encoder code... ;; encoder entry structure ENC_ENTRY MACRO sr, din_0, mode dw (mode << 8) | (din_0 + 8*(sr-1)) ENDM ENC_EOT MACRO dw 0xffff ENDM MIOS_ENC_PIN_TABLE ;; SR Pin Mode #if CS_MENU_USE_INCDEC_BUTTONS == 0 ENC_ENTRY 2, 0, MIOS_ENC_MODE_DETENTED3 ; menu encoder #endif ;; additional CS encoders ;; SR Pin Mode ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Osc delay/transpose/assign #1 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Osc attack/finetune/assign #2 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Osc decay/portamento/assign #3 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Osc sustain/release/assign #4 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Osc release/pulsewidth/assign #5 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; LFO rate ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; LFO depth ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Filter CutOff ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Filter Resonance ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Env depth/assign #1 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Env attack/assign #2 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Env decay/assign #3 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Env sustain/assign #4 ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED3 ; Env release/assign #5 ;; don't remove this "end-of-table" entry! ENC_EOT
  10. Okay here is the line 411 and it deals with the encoder so I hope this will fix the erratic behaviour once someone looks at the code... ;; encoder entry structure ENC_ENTRY MACRO sr, din_0, mode dw (mode << 8) | (din_0 + 8*(sr-1)) <---------This is Line 411 ENDM ENC_EOT MACRO dw 0xffff ENDM Kind of ironic that the error is 411 and that I need nfo on the 411... Ok bad humour... Thanks...
  11. Thanks... I'll post line 411 today...
  12. I am unable to count down to line 411 with notepad or word pad... Is there some app that will let me display line#'s? Will MSWord do this?
  13. I am still having issues with my Bournes encoder being erratic when changing parameters... I have changed the detented value in the .asm file several times and the wiring to the encoder and no real change... When I compile the 6581.asm I do get the following error and is this causing the erratic behaviour of the encoder? Error msg.. setup_6581.asm:411: Warning [202] Argument out of range. Least significant bits used. Is [202] the line of code that is causing the issue? Please forgive me as I am not that knowledgable about programming... Thanks...
  14. Good job nice a and neat... I'm having the same issues with my encoder... Gonna buy a new one and try removing the indent pin on the one I have to see it works any better... Your right the SID does sound phat...
  15. Patches are loaded only 64... Gonna have to get a larger bankstick... Is there anyway of splitting the syx file in 1/2 so that I have 2x64 patch's? Impressed by some of the patch's and the sound of the SIDbox... Two years ago I thought of taking on this project but wrote it off as that 8 bit video game sound but you can get some very warm analogue sounds out of it and a bit of verb makes it even more lush...
  16. Sorted feel like an idiot.... Midi cables reversed and I decided to unplug the midi out cable of the SIDbox so the cable is as follows... Used Midi-OX... FW410 midi out----->SIDbox midi in Now I have to get the baby up from his nap will have to check later....
  17. Okay I'm stupid... I cannot get the syx patch file to load to the SID... I try'd Jsynth Librarian and have no clue on how to use it.... Setup the config on Midi-OX did a lpbk test to ensure I had the correct midi ports... Opened the SYSEX CMD window loaded the file and sent... The window shows all sorts of hex#'s and completes the file upload... When auditioning the SIDbox nothing... Do I need to config the the SIDbox for sys rx? I have no clue with sysex since all I have used for synths have been pre midi analogue...
  18. My bad never saw it... I was too eager to get the SID up and running... Will go back to the folder... Can the LFO's sync to midi clock?
  19. Thanks I'll give it a go... Don't know much about scripting... If it is anything like compiling .asm files then I should be ok...
  20. Looking to dl some v2 patches in order to get an idea what this box can do... Any sites or thread?
  21. 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...
  22. 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
  23. Thanks again Wilba... That did it...
  24. How do I get out of the Ensemble menu? I am going into the main menu and entering SAV... Here is the sequence of what I am doing... E001|A004 Ld Chn. 1 1***|<empty> Hit the first button get the following... Ensemble: E001* SID CLK FIL INS EXT SAV Now I press the button under SAV and get the following... E# do! E001 Hit the button (2nd button) under do! get the following --Save Ensemble-- Then it flash's back to... E# do! E001 Obviously I am not doing something right... I have a bankstik plugged in that will hold 64 patches that are all empty so it must be working... Thanks...
  25. Try'd that and nothing... This is what happens... When pushing the 1st button E001 will flash with an underscore under the 2nd "0"... When I turn the encoder I get E--- with an underscore under the 2nd "-"... SHould I not be able to dial in the bank# with the encoder?
×
×
  • Create New...