6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 17, 2024 3:23 am

All times are UTC




Post new topic Reply to topic  [ 184 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12, 13  Next
Author Message
PostPosted: Fri Oct 12, 2012 5:19 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Your website is a gold mine of 6502 goodies!


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 15, 2012 9:42 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8542
Location: Southern California
alkopop79 wrote:
GARTHWILSON wrote:
I am slowly working on getting a basic, whole schematic together to post. (I say "slowly" because I've been back to work for the last three months.) It will have 65c02 µP, 32KB ROM, 16KB RAM (using half a 32KB), a 65c22 VIA, a quad NAND for glue logic, and perhaps a serial EEPROM. There will be a note on how to easily add lots more I/O if desired. I started out just modifying the diagram of the computer in the 2nd-to-last picture at http://wilsonminesco.com/6502primer/addr_decoding.html, removing some confusing things that don't need to be that way for the hobbyist, then went on to change the serial EEPROM from Microwire to I²C to get more capacity since it's basically free to do so at this point although we didn't need much for that particular project in 1994, increase the RAM & ROM size, change the I/O connector(s) to be compatible with Daryl's, then realized it was all too much modifying and I really just needed to start over.

I also want to add a pot-pourri page of circuits to interface to different voltage levels, LEDs, LCDs, keypads, I²C, data converters, strings of shift registers, and other things, possibly with code to run those things as shown.

Looking forward to all these additions!

It's up, at http://wilsonminesco.com/6502primer/potpourri.html. The only thing on that page so far is the whole-computer schematic, but I'll be adding schematics for how to interface various devices to the I/O like SPI and I²C devices, keypads, LCDs, A/D and D/A converters, etc., expanding on my Tips column which I originally did back when our Delphi forum did not allow graphics at all (although I've added some since).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 15, 2012 10:50 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
I notice that the individual chips do not have the decoupling(?) capacitors between power and ground, but there is a single 100 uF cap at the power jumper. Is that there to solve that problem? And the others are not needed?


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 16, 2012 12:00 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8542
Location: Southern California
whartung wrote:
I notice that the individual chips do not have the decoupling(?) capacitors between power and ground, but there is a single 100 uF cap at the power jumper. Is that there to solve that problem? And the others are not needed?

They're shown in the lower-right corner.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 16, 2012 5:46 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8493
Location: Midwestern USA
whartung wrote:
I notice that the individual chips do not have the decoupling(?) capacitors between power and ground, but there is a single 100 uF cap at the power jumper. Is that there to solve that problem? And the others are not needed?

Garth is follow a common drafting practice of aggregating the decoupling caps in one place to reduce drawing clutter. I do the same thing and often add a small table that tells where each cap is located.

If Garth is doing what I think he's doing, the 100 µf cap is there to assist in stabilizing Vcc. Again, I did the same thing on the POC unit, with one cap right by the power connector and another close to the MAX238 TIA-232 transceiver. I also have a 0.1 µf cap across the 100 µf electrolytic at the power connector to assure that any high frequency noise that shows up at that location is properly disposed of (electrolytics are not as good at bypassing high frequencies as ceramic caps). Any electrolytics that you may use for bypassing should be low ESR types.

During construction always place your decoupling caps as close the the chips as you can get them, with the minimum possible lead length between the Vcc leg of the chip and the cap. You want to make the noise path to ground as short and sweet as you can get it. Use MLCCs of the X7R type and with a working voltage that is at least five times Vcc (I use 0.1 µf caps with a 50 volt rating because they are cheap and readily available). Spikes caused by the rapid switching of chips can have an amplitude much higher than you think. Applying excessive voltage to an MLCC will, at best, cause a capacitance derating that may occasionally lead to mystery problems with noise and stability.

On Garth's schematic, he lists the three methods by which a Ø2 clock can be generated. I recommend the use of a half-size (square) can oscillator of the correct frequency, which will reduce the parts count and space consumed. In years past, oscillators were quite a bit more expensive than discrete crystals, but that is no longer the case—oftentimes a crystal costs as much as an oscillator. Can oscillators generate a strong and generally symmetric TTL clock signal with good fanout and stability. You can get even more fanout and symmetry by feeding the oscillator output into a D flop and use the flop's Q output to produce the actual Ø2 clock (which will be one-half the oscillator frequency). However, on a basic circuit use of the flop is overkill.

One other caveat if you decide to build Garth's circuit (which, I might add, should work very well and give you a fun gadget to play with). WDC's version of the 65C22 has a totem-pole IRQ output, which means it actively drives in both directions. If you later add another device that is also to be tied to /IRQ, odds are it will have an open drain IRQ output meant for use in a wired-OR circuit. Wired-OR is not directly compatible with the 'C22's totem-pole output, requiring that you isolate the 'C22 from the wired-OR /IRQ line with a Schottky diode (not a standard diode like a 1N4152 or 1N4001), with the diode's cathode connected to the 'C22. Omitting the diode will result in the other device attempting to sink the 'C22's IRQ output, which will cause the /IRQ circuit to malfunction, and possible result in device damage. A wired-OR circuit must be pulled up to Vcc with a resistor—3.3K is customary for that purpose. Use either a carbon film or metal film resistor, not a carbon comp. Also, keep /IRQ as short as you can to avoid too much stray capacitance.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 31, 2012 2:17 pm 
Offline

Joined: Sun Aug 26, 2012 1:10 am
Posts: 10
Location: France
I have 3 procs actually (from '84 Apple //e + '88 //e Platinum + a '86 //e Enhanced motherboard).

One is on a '86 Apple //e Enhanced motherboard: the chip is marked "Rockwell 6503 Mexico".
And I'm just discovering there have been a 6503 variation. ;)
(I suppose it's a 65C02 variation since I found that on a //e Enhanced motherboard)

This leads me to a question: are those variation pins & electrically compatible?
I mean, on my '88 //e Platinum, can I swap the cpu with an old NMOS 6502 (from a '82 Apple ][)?
(for some games that might use undocumented instructions, or just for testing)


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 12:23 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Just got the Maxim 232 IC marked as "232N". Is that the right one? I'm planning to build Grant's UK101:

http://searle.hostei.com/grant/uk101/uk101.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 5:19 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8493
Location: Midwestern USA
alkopop79 wrote:
Just got the Maxim 232 IC marked as "232N". Is that the right one? I'm planning to build Grant's UK101:

http://searle.hostei.com/grant/uk101/uk101.html

It sounds right. Can you list the full part number, including suffix?

Also, in Grant's circuit, he shows 74LS logic. Better if you use CMOS logic, e.g., 74AC or 74HC. I know I sound like a stuck record saying this, but you should avoid old silicon designs. The CMOS is better in all respects, especially the 74AC.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 5:34 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
I already bought LS ones and running out of money so I will give them a try. Thank for the advice though, I will swap them for CMOS ones! The packaging of the serial IC has a TI logo and it's written "18A0KKK E4 MAX232N".


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 6:35 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I used LS, i was lucky to find them whatsoever, since the electronic store is turning to consumer electronics... I remember when i switched from 4000cmos glue logic to 74ls glue logic i had an issue somewhere with some voltage level being incompatible, because i had one 74hc ic if i remember correctly, but it didn't take me long to fix it. LS should work fine for start.


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 9:40 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8493
Location: Midwestern USA
alkopop79 wrote:
The packaging of the serial IC has a TI logo and it's written "18A0KKK E4 MAX232N".

Can't say for certain if what you have is actually a MAX232. AFAIK, Maxim did not license second sources for the MAX232 family.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2012 10:04 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8542
Location: Southern California
I ordered MAX232's once and was given Sipex SP232's which are aparently a pin-compatible knockoff. I never went through with the project they were for, so I still haven't used them. The only line drivers and receivers I've used are the 1488, 1489, and MC145406. These need the ± power supply voltages, but are less expensive and don't require the charge-pump capacitors, meaning you get better board density.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 05, 2012 12:33 pm 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 336
alkopop79 wrote:
The packaging of the serial IC has a TI logo and it's written "18A0KKK E4 MAX232N".


TI do make MAX232s, and have since at least 1989: http://www.ti.com/product/max232. The 'N' just means it's in a DIP package.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 05, 2012 12:48 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 11, 2012 6:22 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
I started assembling my SBC. Only trouble is that the kynar wires often break while wrapping them around the posts. I've been trying to wrap very slowly but even then it happens occasionally. What am I doing wrong?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 184 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12, 13  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: