65XX SBC general help and color display help needed
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
So I finished wiring up the new layout, there are a few weird spots, but the processor busses (for the most part) are pretty straight and clean. Here's a picture:
and the 3d view to go with it (note, the MAX232 caps still aren't changed to ceramics yet, because I didn't source the parts yet)
and the 3d view to go with it (note, the MAX232 caps still aren't changed to ceramics yet, because I didn't source the parts yet)
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Alright so, I've been very busy with work the past few days and haven't had a lot of time to put into this, but I just cleaned up the board a bit and ran it through DRC and fixed a few errors. I'm going to source the replacement capacitors, then I think it should be pretty much done.
Before I send this off somewhere to have it made, has anyone spotted any potential issues? I'm going to try and hit max speed on this, at 16Mhz, but if I can only do 5-10 that's fine too, if I need to upload more docs/detail/pictures I can, I just really want this to work on the first try.
Before I send this off somewhere to have it made, has anyone spotted any potential issues? I'm going to try and hit max speed on this, at 16Mhz, but if I can only do 5-10 that's fine too, if I need to upload more docs/detail/pictures I can, I just really want this to work on the first try.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
As I've been sourcing the logic components, I noticed that the F series of 74xx components tend to be pretty fast, and cheap. It didn't strike me as odd until I noticed "bipolar" as the technology on one of their datasheets. After doing a bit of research, it appears that the F series is the fast bipolar series, it's not in the CMOS series. I'm thinking that I may have to look for AC or similar, which are quite a bit more expensive, but will the F series work at all?
I'm thinking here it may be like what garth was talking about earlier, that the logic 1 for these devices may not be at a CMOS compatible level.
Also, I re-read the post that Garth links to in the primer on good AC circuit design, but this time I went back earlier in the same thread and read the posts by BDD and the op of that thread. The op linked to some application notes from Altera that had some info in them for board design. One of the things mentioned was to keep the clock trace as straight as possible, with as few vias as possible (preferably none) and about equidistant to all the devices its feeding (to prevent out of phase operation).
In mine, you'll see I shoved the oscillator + flip flop right beside the 65816, then routed it to the other devices that needed it (using about 4 vias in total to get it around the board). Should I go back and redo this to move the clock to a more central location? Or will it not matter at these speeds?
I'm thinking here it may be like what garth was talking about earlier, that the logic 1 for these devices may not be at a CMOS compatible level.
Also, I re-read the post that Garth links to in the primer on good AC circuit design, but this time I went back earlier in the same thread and read the posts by BDD and the op of that thread. The op linked to some application notes from Altera that had some info in them for board design. One of the things mentioned was to keep the clock trace as straight as possible, with as few vias as possible (preferably none) and about equidistant to all the devices its feeding (to prevent out of phase operation).
In mine, you'll see I shoved the oscillator + flip flop right beside the 65816, then routed it to the other devices that needed it (using about 4 vias in total to get it around the board). Should I go back and redo this to move the clock to a more central location? Or will it not matter at these speeds?
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
In mine, you'll see I shoved the oscillator + flip flop right beside the 65816, then routed it to the other devices that needed it (using about 4 vias in total to get it around the board). Should I go back and redo this to move the clock to a more central location? Or will it not matter at these speeds?
As for vias, they will offer a little discontinuity in the transmission-line impedance, primarily from their inductance since yours are so tiny; but you are not controlling the impedance anyway. Your combination of board size and edge rates have not solidly crossed into an area where you really need to. (I would comment here also that terminations have little effect if they're nowhere close to the characteristic impedance of transmission lines.)
There are ways to make corners behave well even with very fast edge rates, but again, I don't think it's a concern with the stuff we're working with. The primary concern with the fastest of our stuff, and boards your size and smaller, is just to have a continuous ground plane and good bypassing.
At our speeds, it seems like 80% or 90% of projects work in spite of poor AC design; but occasionally we have a forum member who has problems with his creation that are almost impossible to figure out, and it's pretty clear to me that it's because of the construction methods. (These are usually solderless breadboards.) If I can keep helping people understand what's going on there, I will be glad to get the success rate up to 100%, rather than settling for 80% or 90%.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
GARTHWILSON wrote:
backspace119 wrote:
In mine, you'll see I shoved the oscillator + flip flop right beside the 65816, then routed it to the other devices that needed it (using about 4 vias in total to get it around the board). Should I go back and redo this to move the clock to a more central location? Or will it not matter at these speeds?
As for vias, they will offer a little discontinuity in the transmission-line impedance, primarily from their inductance since yours are so tiny; but you are not controlling the impedance anyway. Your combination of board size and edge rates have not solidly crossed into an area where you really need to. (I would comment here also that terminations have little effect if they're nowhere close to the characteristic impedance of transmission lines.)
There are ways to make corners behave well even with very fast edge rates, but again, I don't think it's a concern with the stuff we're working with. The primary concern with the fastest of our stuff, and boards your size and smaller, is just to have a continuous ground plane and good bypassing.
At our speeds, it seems like 80% or 90% of projects work in spite of poor AC design; but occasionally we have a forum member who has problems with his creation that are almost impossible to figure out, and it's pretty clear to me that it's because of the construction methods. (These are usually solderless breadboards.) If I can keep helping people understand what's going on there, I will be glad to get the success rate up to 100%, rather than settling for 80% or 90%.
I may try and do a little bit of cleanup (get some vias out, take some of the particularly bad lines and try and make them straighter) but from what you're saying it sounds like most likely I won't run into issues, since I have internal GND and VCC planes that are contiguous anyway.
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
I think sockets can be rather benign at our speeds. Humph—For that matter, if they let you put parts under ICs, they could help reduce the board size, which would be helpful anyway.
It's a bit scary to think of the possibility of needing to remove or replace an IC that's not socketed.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
GARTHWILSON wrote:
I think sockets can be rather benign at our speeds. Humph—For that matter, if they let you put parts under ICs, they could help reduce the board size, which would be helpful anyway.
It's a bit scary to think of the possibility of needing to remove or replace an IC that's not socketed.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
I also just realized that my clocks I have dip 14 sockets for, I can probably put those on dip-8 and save a bit of space
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 65XX SBC general help and color display help needed
What I have done many times when the IC was not worth endangering the board was to cut all the leads of the IC and remove them one by one. This was with our analog circuits that have a lot of op amps for example which cost us around twenty cents each, on a multilayer board with hundreds of parts on it.
As for parts under parts, I was thinking of this kind of thing:

(This is from the "Getting More on a Board" section of the 6502 primer.) I took this picture from an old PC motherboard I had here.
As for parts under parts, I was thinking of this kind of thing:

(This is from the "Getting More on a Board" section of the 6502 primer.) I took this picture from an old PC motherboard I had here.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
GARTHWILSON wrote:
What I have done many times when the IC was not worth endangering the board was to cut all the leads of the IC and remove them one by one. This was with our analog circuits that have a lot of op amps for example which cost us around twenty cents each, on a multilayer board with hundreds of parts on it.
As for parts under parts, I was thinking of this kind of thing:

(This is from the "Getting More on a Board" section of the 6502 primer.) I took this picture from an old PC motherboard I had here.
As for parts under parts, I was thinking of this kind of thing:

(This is from the "Getting More on a Board" section of the 6502 primer.) I took this picture from an old PC motherboard I had here.
The smaller I make this, the cheaper it gets, and potentially the better performance since I'll have shorter traces, so I think it's worth it going over this again and again, redoing the work until its right.
Also, the manufacturer I'm looking at, Seeed Studio, is observing the chinese lunar new year, and won't open back up till the 11th I think, so I have some time to spare.
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
The smaller I make this, the cheaper it gets
Have fun!
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
Re: 65XX SBC general help and color display help needed
backspace119 wrote:
It is, I've done it before, but it took a hot air kit, about 2 hours, and a lot of patience (and it was only dip-14 iirc).
Re: 65XX SBC general help and color display help needed
About 74F series logic: it's pretty fast, yes, but it's *very* power hungry, on the order of 35mW per simple logic chip. It has typical TTL input levels, input loads (this is *not* a high-impedance input, due to the bipolar transistors involved) and fanout restrictions. It's also no longer being manufactured.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Dr Jefyll wrote:
backspace119 wrote:
The smaller I make this, the cheaper it gets
Have fun!
I may go with what Garth was suggesting and throw some chips underneath the bigger chips sockets, although that would mean not putting the smaller chips in sockets (unless they were really short). Honestly, that will be a last resort.
I don't remember if I mentioned this, but OSHPark (I've gotten boards from them before, and they're good quality) quoted me about $420 to make this. That's for 3 boards, but that's still over $100 a board! Seeed I have not actually done a quote with (haven't uploaded the file) but they have a configurator where you can put in all the specs for your board, and they were quoting me about $150 for 10 boards!
I don't think OSHPark's quality is worth paying nearly 10x as much per board, and the turn around times (minus the fact that seeed is closed due to the chinese lunar new year until the 11th) are about the same from what I've seen. Plus, OSHPark only sells purple boards, and for this project, I'd like the "old fashioned" green a lot more. (seed even lets you get them in other colors, like black, blue, etc).
OSHPark, and some other american board makers with them, are good companies, but they probably need to refine their process to be able to compete with places like Seeed, because I don't see the point in paying all that extra money.
Chromatix wrote:
About 74F series logic: it's pretty fast, yes, but it's *very* power hungry, on the order of 35mW per simple logic chip. It has typical TTL input levels, input loads (this is *not* a high-impedance input, due to the bipolar transistors involved) and fanout restrictions. It's also no longer being manufactured.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
If you need fast logic, I recommend 74AHC series, switching to 74AC or 74HC for specific devices not available in that series. A quick pricing comparison suggests there's not much difference.
-
backspace119
- Posts: 346
- Joined: 25 Jan 2019
- Location: Knoxville, TN
Re: 65XX SBC general help and color display help needed
Dr Jefyll wrote:
backspace119 wrote:
The smaller I make this, the cheaper it gets
Have fun!