Jump to content

UPDATE: My SID is finished


Foona
 Share

Recommended Posts

  • Replies 118
  • Created
  • Last Reply

Top Posters In This Topic

I got it from this page http://www.ucapps.de/mbhp_bankstick.html

And it doesen't seem to be a pdf anywhere at that page :(

Either way,

My Shebeast is alive!!!

;D  ;D  ;D  ;D  ;D  ;D

Now, can anybody point me to the right page where i

can read about remaping buttons.

I can access anything properly as it is now.

<edit>

Ok i found it,

http://www.midibox.org/dokuwiki/changing_din_pins?s=mapping+buttons

..and im not so confident in my abillities anymore.

Due to the fact that this is math based, im at a HUGE loss.

Im reading the same stuff over and over again, and this is not gettin any more clear to me.

This was never a strong subject for me in school i can say....

C-Syntax: SR = ((event_number-1) / 8 ) + 1; Pin = (event_number-1) % 8;

Pascal-Syntax: SR := ((event_number-1) DIV 8 ) + 1; Pin := (event_number-1) MOD 8;

In plain english SR is the (event number minus 1) divided by 8 (using integer division) plus 1' date=' and the Pin is the remainder of that division.[/quote']

Ok so i did a test:

24/1

..so thats...24-1 = 23/8  = 2,875+1 = 3,875....

3,875..i don't get it  :-[  :-[ in my brain this is still jibrish...

<edit>

Well my maths ain't improving, and lucky me, i don't need it now.

I opened the setup.asm and found all the info i needed there.

Hopefully i can go back to finishing my frontpanel soon.

Link to comment
Share on other sites

..im having alot of problems with this hex file compilation.

I have made all the changes to the 6581.asm file, and i don't understand how to make this into a hex.

The more i read about it the less i understand.

What do i need to convert this into a hex?

I cannot find any make.bat file anywhere.

<edit>

This is what iv'e done so far:

Iv'e found this page:

http://www.midibox.org/dokuwiki/windows_toolchain_quickstart?s=compile+hex

1. Small Device C Compiler (SDCC) *done*

2. MinGW make *done*

3. MSYS *done*

4. GNU PIC Utilities (GPUtils) *done*

5. PATH Environment Variables and ‘make’ - here is where it ends for me now  :(

I get an "ERROR 2".

error2_01.jpg

Ops, there's some swedish in there.

Third line counting from top and down:

"Kan inte hitta sökvägen2 = "Cannot find searchpath"

Second line counting from bottom and up:

"Det går inte att hitta filen" = "File cannot be found"

Guys, it looks like im really stuck this time.

Iv'e looked at all the search paths, and everything is where it should be.

But it still doesen't work. still the same message.

<edit>

Obviously i made a mistake with the command line.

But this has been fixed now.

Wrong: PATH=C:\MSYS\1.0\bin;C:\MinGW\bin;%program%\SDCC\bin;%PATH%

make

Right: PATH=C:\MSYS\1.0\bin;C:\MinGW\bin;%program%\gputils\bin;%program%\SDCC\bin;%PATH%

make

But i still keep getting the same ERROR2 message.

what am i doing wrong?  :-\

<edit>

Iv'e noticed that after running the command line,

all the hex files dissapears in the midibox_sid_v2_0_rc18 folder.

Link to comment
Share on other sites

BIG LOVE!!!!  ;D

<edit>

Nice, that solved my problem.

My new key mappings works like a charm!

...

and on to the next one..  :(

Seems there is no sound comming out of my beast anymore.

Yesterday i sat and had fun with the MIOS Studio Keyboard Midi controller.

Even though there is only one soundpatch stored right now.. :)

There was no problem at all, and i have not touched the audio cable connected to it.

Today, nothing happens at all when i use the MIOS Studio Keyboard Midi controller.

I even hocked the MbSID up to my master midi keyboard, and nothing happens.

No sound.  >:(

Link to comment
Share on other sites

when you turn her on, do you hear that little beep tone it makes as it boots up?

that may tell you if its something with the hardware or not..

rather i should say, if the problem is with the audio or with recieving midi.. or maybe try the MBSID test tone app.. ?  :-\

Link to comment
Share on other sites

Im getting no "little beep" tone while booting up.

I do however get something else...

THis sound was below 30dB's so i had to master the file a bit,

..to bring the noise of doom closer.

Those two first seconds are just noise from my gear.

(Yeah, i should do something about it....and i will...in 20 years or so...)

After these two seconds i turn on the SID and this sound appears.

At 13 seconds im hitting keys on my master midi keyboard.

sounds real nice right.... :P

Sound Clip

At this stage i haven't tried the test tone app yet.

This is making me nervous.

Yesterday she talked back to me....today shes not  :'(

My precioussss..they have taken you from us!!!

<edit>

damn..i just realized what could make such a noise appear...

I can't believe i forgot to put that last 2200uF cap in there!

But this still doesen't explain why i can't play my SID.

Link to comment
Share on other sites

yeah.. it does sound noisy.. also very low vol since you had to boost it.. but it does seem to trigger a sound from your keyboard, so it must be getting MIDI..  you got me why it sounds messed up though.. did it sound nice and clear yesterday? these things seem fairly sturdy as far as being able to kill one, so its prob just something silly.. id check my connections and maybe try to send the app again.. other than that, its over my rookie head..  ???  maybe step back for a bit and brew on it mate..  8)

Link to comment
Share on other sites

Yep, it seems that it is accepting MIDI.

But still no sounds. Im gonna try to upload the testone app now.

<edit>

Ok, now im getting really worried.

I uploaded the testone...and there is no result.

No sound!

Iv'e checked my connections, and they appear to be correct.

This is bad right?...  :'(

<edit>

I have now done a thourough visual search for any solder shorts, cable shorts,

faulty viring and burned components.

I cannot find anything wrong with any of the curcuit boards.

And there shouldn't be, cuz the day before yesterday, after uploading the Sid app for the first time,

i was able to play my SID, and there was sound comming out of it.

Im gonna check all the voltages now too.

Mabye something happened on the way...

I even checked all the voltages before putting any chips on the boards.

Iv'e been soo carefull with everything, just to prevent stuff like this...

Man do i feel like breaking something now.  >:(

Link to comment
Share on other sites

Np man.

You where very helpful.

..regarding the interconnection test...

:-[

What pins am i supposed to measure, im getting confused here.

;    # 0: Pin A0 = 5V

;    # 1: Pin A1 = 5V

;    # 2: Pin A2 = 5V

;    # 3: Pin A3 = 5V

;    # 4: Pin A4 = 5V

;    # 5: Pin RES# = 5V

;    # 6: Pin D0 = 5V

;    # 7: Pin D1 = 5V

;    # 8: Pin D2 = 5V

;    # 9: Pin D3 = 5V

;    #10: Pin D4 = 5V

;    #11: Pin D5 = 5V

;    #12: Pin D6 = 5V

;    #13: Pin D7 = 5V

;    #14: Pin CS# = 0V

These are 14 pins...the J2 port only have 10 pins...

And there named differently then above...

A small hint please.

Link to comment
Share on other sites

:-X

why nILS..your'e right HAHAHAHA

I should be spanked!!!

<edit-addon>

For those who might be interested:

           SID 6581

        +-----__-----+
Cap 1a -| 1       28 |- Vdd
Cap 1b -| 2       27 |- Audio out
Cap 2a -| 3       26 |- Extern in
Cap 2b -| 4       25 |- Vcc
  /RES -| 5       24 |- Pot X
   phi -| 6       23 |- Pot Y
R / /W -| 7       22 |- D7
   /CS -| 8       21 |- D6
    A0 -| 9       20 |- D5
    A1 -| 10      19 |- D4
    A2 -| 11      18 |- D3
    A3 -| 12      17 |- D2
    A4 -| 13      16 |- D1
   GND -| 14      15 |- D0
        +------------+

Author: Marc-Jano Knopp <mjk@c64.org> on 97/1/4
Source: http://mjk.c64.org/

Or does this already exist somwhere here on the forum/Wiki?

I coudn't find the SID pinout a week ago before checking for voltages,

so i used google and i found a usefull page,

with info about C64 computers and the SID chip.

Just thaught i'll put it in here just in case..

Link to comment
Share on other sites

This is soo frustrating.

Im doing the interconection test, and when measuring i get random readings.

First time around i got these results:

;    # 0: Pin A0 = 5,23v

;    # 1: Pin A1 = 5,23v

;    # 2: Pin A2 = 0v

;    # 3: Pin A3 = 5,23v

;    # 4: Pin A4 = 5,23v

;    # 5: Pin RES# = 5,23v

;    # 6: Pin D0 = 5,22v

;    # 7: Pin D1 = 5,22v

;    # 8: Pin D2 = 5,22v

;    # 9: Pin D3 = 5,22v

;    #10: Pin D4 = 5,22v

;    #11: Pin D5 = 0v

;    #12: Pin D6 = 5,22v

;    #13: Pin D7 = 5,22v

;    #14: Pin CS# = 0v

Second time around i got these readings:

;    # 0: Pin A0 = 5,23v

;    # 1: Pin A1 = 5,23v

;    # 2: Pin A2 = 5,232v

;    # 3: Pin A3 = 0v

;    # 4: Pin A4 = 5,23v

;    # 5: Pin RES# = 5,23v

;    # 6: Pin D0 = 5,22v

;    # 7: Pin D1 = 5,22v

;    # 8: Pin D2 = 5,22v

;    # 9: Pin D3 = 5,22v

;    #10: Pin D4 = 5,22v

;    #11: Pin D5 = 5,22v

;    #12: Pin D6 = 0v

;    #13: Pin D7 = 5,22v

;    #14: Pin CS# = 0v

third time around i got these:

;    # 0: Pin A0 = 5,23v

;    # 1: Pin A1 = 0v

;    # 2: Pin A2 = 5,232v

;    # 3: Pin A3 = 5,23v

;    # 4: Pin A4 = 5,23v

;    # 5: Pin RES# = 5,23v

;    # 6: Pin D0 = 0v

;    # 7: Pin D1 = 5,22v

;    # 8: Pin D2 = 5,22v

;    # 9: Pin D3 = 5,22v

;    #10: Pin D4 = 0v

;    #11: Pin D5 = 5,22v

;    #12: Pin D6 = 5,22v

;    #13: Pin D7 = 5,22v

;    #14: Pin CS# = 0v

:o  :o  :o

I then noticed when changing the pin number to be checked with the modulation wheel,

i got differend readings. For instance:

Checking pin D1.

*I chose the D1 with modulation wheel. LCD displays Test Sid Module Pin D1

*I measured 0v. I measued many times still 0v.

*I then scrolled through the number with modulation wheel back and forth,

and then chose D1 once more.

*Once again LCD displays Test Sid Module Pin D1

For some reason i then measured 5,22 volts...  ???

This is not helping, cuz i can't trust what im reading.

Anyone been through this type of behaviour.

How am i supposed to do anything if readings fluxuate like this...  :-\

Iv'e even turned the unit of an on, but readings still fluxuate.

<edit-add>

And yes i have tried uploading the interconnection app at least 3 times during these tests.

Same result..

<edit>

8th time around measuring:

;    # 0: Pin A0 = 5,23v

;    # 1: Pin A1 = 5,23v

;    # 2: Pin A2 = 0v

;    # 3: Pin A3 = 5,23v

;    # 4: Pin A4 = 5,23v

;    # 5: Pin RES# = 5,23v

;    # 6: Pin D0 = 5,22v

;    # 7: Pin D1 = 0v

;    # 8: Pin D2 = 5,22v

;    # 9: Pin D3 = 5,22v

;    #10: Pin D4 = 5,22v

;    #11: Pin D5 = 5,22v

;    #12: Pin D6 = 5,22v

;    #13: Pin D7 = 5,22v

;    #14: Pin CS# = 0v

???

Im starting to feel my head explode.

The only constant reading is #14: Pin CS# = 0v.

<edit>

Iv'e been at this for hours now and it's driving me completely mad!

Is there anyone else that has experienced this behaviour before?

<edit>

I have now removed the IC's from the SID cuiruit board,

and measured the voltages. These are the results

IC1 - Vcc pin25  - IC1 Vss pin14 = 5,23V

IC2 - Vdd pin16  - IC2 Vss pin8 = 5,23V

IC3 - Vdd pin16  - IC3 Vss pin8 = 5,23V

This seems to be correct.

I am now once more going to try the interconnection test.

I'll probably die from heartburn if i get the same missguided results as before...

Link to comment
Share on other sites

Finally i got some results!  :)

I've got 5/5 successfull interconnection tests.

;    # 0: Pin A0 = 5,23v

;    # 1: Pin A1 = 5,23v

;    # 2: Pin A2 = 5,23v

;    # 3: Pin A3 = 5,22v

;    # 4: Pin A4 = 5,23v

;    # 5: Pin RES# = 5,23v

;    # 6: Pin D0 = 5,23v

;    # 7: Pin D1 = 5,22v

;    # 8: Pin D2 = 5,23v

;    # 9: Pin D3 = 5,23v

;    #10: Pin D4 = 5,22v

;    #11: Pin D5 = 5,22v

;    #12: Pin D6 = 5,22v

;    #13: Pin D7 = 5,22v

;    #14: Pin CS# = 0v

But it doesen't feel like a victory.

  • NO faulty wiring or connections

  • NO faulty or bad solderings

  • ALL the voltages check out fine

  • Interconnection test successfull

  • Test tone test failure

  • SID application upload successfull- though no sound

  • CORE recievs midi

  • Visual inspection shows nothing out of the ordinary

..and 3 days ago i was able to play this baby.

Now she's got a somewhat clean bill of health..

But she refuses to sing to me.

...does this mean i have a broken SID......please don't let it be that  :'(

Link to comment
Share on other sites

This is one of the last thing i could think of that i haven't checked.

I measured the voltage on the Optimized C64 PSU circuit.

correct_or_faulty_00001.jpg

Is this correct?

Shouldn't i be reading 9 volts after the regulator?

Im panicing right now, so im grasping every straw i can find...

Link to comment
Share on other sites

yea. that is odd. this may sound funny but, unplug test the PSU to be sure something hasn't gone "wonky" with it? :-\

<edit>

Oh, and also, what do you have your boards mounted to, plastic, wood, or metal?

I had mine mounted into an aluminum case, with a card backing that my boards were mounted to, and then one day, everything just quit working. come to find out, a couple of leads had poked through the card backing and made contact with the case. I ran some insulation under all the boards and the thing came back to life.

might not apply to your situation, but offering up any suggestion if it helps.

Link to comment
Share on other sites

Okay. Im gonna test the PSU.

The cards are all placed inside the bottom piece of the original C64 casing.

It's made of plastic so there shouldn't be any problems with it.

And let me underline that any suggestions are more than welcome!

As i stated in my previous reply, im panicing like crazy.

Link to comment
Share on other sites

Pin 4 has no connection, either way it's normal on some PSU's.

Pin 5 is +5VDC, Pin 2 is the only working ground, seems like there is no connection on either pin 1 or 3.

Now..i set my multimeter for AC,

and then i measured between Pin2 (gnd) and pin 6 (9VAC) i got 10,46VAC

The interessting part is when i measure between pin 2 (gnd) and pin 7(9VAC) i get 0.63VAC  ???

Is this normal?

<edit>

apparently it must be, cuz my second and third PSU init also C64 originals show

the sam d*mn thing. Crap i really thaught i was on to something.

This has gone from frustrating to insane.

Link to comment
Share on other sites

Of course you are correct, and i just realized that.

Then why am i only getting 4,5 volts out of a 9volt regulator when im feeding it with 9 volts?

Am i supposed to get the right voltages on the IC-sockets even if the SID module only gets

4,5 volts from the to the J1 connection?

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