I'm curious as to which uVGA version you used? I have the III, and the documentation seems to imply it does a lot. Much more than I plan to use.
Dan's 6502 build, aka, The WOPR Jr.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
Dan Moos wrote:
All I really want from the uVGA is a bridge to the monitor. Any other features are just gravy. I actually plan to roll my own font.
I'm curious as to which uVGA version you used? I have the III, and the documentation seems to imply it does a lot. Much more than I plan to use.
I'm curious as to which uVGA version you used? I have the III, and the documentation seems to imply it does a lot. Much more than I plan to use.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Dan's 6502 build, aka, The WOPR Jr.
Well, consider I haven't ruled out a from scratch go at it.
I feel like a hardware cursor (along with improved text capabilities) could be accomplished with a helper uController at the other end of the spectrum. Lots of possibilities.
I feel like a hardware cursor (along with improved text capabilities) could be accomplished with a helper uController at the other end of the spectrum. Lots of possibilities.
Re: Dan's 6502 build, aka, The WOPR Jr.
Yes, as I recall there were several ways forward with the cursor - BDD himself didn't find them satisfactory, but that's not to say that others won't.
Edit: Here's a link to the conversation
Edit: Here's a link to the conversation
Last edited by BigEd on Tue Jul 11, 2017 5:30 am, edited 1 time in total.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
BigEd wrote:
Yes, as I recall there were several ways forward with the cursor - BDD himself didn't find them satisfactory, but that's not to say that others won't.
I was also put off by the fact that I could not simply write a character to the µVGA to print a character on the screen. A multi-byte command has to be written to the µVGA before the actual character to be displayed, which I see as grossly inefficient—a lot of I/O is going on that isn't actually data.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Dan's 6502 build, aka, The WOPR Jr.
Ok, I'm thinking of moving the current build to a PCB. I've had mostly good luck doing diy PCB's of the complexity and tolerances this would require, but I am considering having this done professionally (at east at this stage)
I've never had a board made, and so far PCB way is the only place I've checked out. I typed in specs for a 6" by 6" 4 layer board, and to have 5 made would be $116. Turn around time looked decent. That isn't a ridiculous price to me, but its a lot if my first attempt is a serious failure. I am confident, from past projects, that the chances of designing a board so flawed I can't work around it are low, but its still a factor when the boards will cost over $100 for 5.
Ok, I then spec'd it for 2 layers. (obviously if I diy, that's what it would be anyway). Just $43 bucks!
Ok, how important are having dedicated power and ground plane layers? My original plan was to diy a board with healthy ground pours on one, if not both sides. hat would keep me at two layers.
Lets work off the assumption that I won't be diy'ing the board. Also, this isn't going to be the final board for the project either way. Just a way to get off the breadboard sooner.
Also, I haven't written off wire wrap, but I'm not very interested either. Show me where I can get quality tools and supplies inexpensively, and I'll be closer. But really, I want a PCB in the end.
I've never had a board made, and so far PCB way is the only place I've checked out. I typed in specs for a 6" by 6" 4 layer board, and to have 5 made would be $116. Turn around time looked decent. That isn't a ridiculous price to me, but its a lot if my first attempt is a serious failure. I am confident, from past projects, that the chances of designing a board so flawed I can't work around it are low, but its still a factor when the boards will cost over $100 for 5.
Ok, I then spec'd it for 2 layers. (obviously if I diy, that's what it would be anyway). Just $43 bucks!
Ok, how important are having dedicated power and ground plane layers? My original plan was to diy a board with healthy ground pours on one, if not both sides. hat would keep me at two layers.
Lets work off the assumption that I won't be diy'ing the board. Also, this isn't going to be the final board for the project either way. Just a way to get off the breadboard sooner.
Also, I haven't written off wire wrap, but I'm not very interested either. Show me where I can get quality tools and supplies inexpensively, and I'll be closer. But really, I want a PCB in the end.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
Dan Moos wrote:
Ok, how important are having dedicated power and ground plane layers?
Quote:
My original plan was to diy a board with healthy ground pours on one, if not both sides. That would keep me at two layers.
Ground pours do not qualify as a ground plane for this kind of work. They often won't hurt anything though. If you have to stay down to two layers, make as fine of a mesh of ground connections as you can. If you use pours, use vias to connect the pour on one side to that on the other everywhere the neighboring ground pour gets interrupted for any reason. The idea is to keep the signal's ground return current running immediately under or next to the signal trace, not having to go around anything. There is a way to use pours to supplement real planes; but if they're not done correctly, they can actually make things worse, according to experts in the field like Rick Hartley, Eric Bogatin, and Suzie Web whose lectures you can see on Altium's YouTube channel.
Quote:
Also, I haven't written off wire wrap, but I'm not very interested either. Show me where I can get quality tools and supplies inexpensively, and I'll be closer. But really, I want a PCB in the end.
I have a web page answering WW questions and doubts, at http://wilsonminesco.com/6502primer/WireWrap.html . I use the OK Industries WSU 30-M tool shown here

which I expect is still available at lots of distributors. As WW has lost the economy of scale in recent years, the price of sockets has particularly become a bit of a monster, and to a lesser extent, the wire has. The tool is something you only buy once, so I'm not so concerned there. WW allows you to get the sockets shoulder to shoulder across the board, minimizing connection length so the AC behavior is better, unlike a two-layer PCB which needs room between sockets to route enough traces. A WW board can also be added onto or modified later. It was definitely king before the prices of PCBs came way down. There is perfboard available with a ground plane. Twin Industries' index to them is here. They also have perfboard with a plane on each side, here. These both have plated-thru holes.
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?
Re: Dan's 6502 build, aka, The WOPR Jr.
The only reason I mentioned a power plane is that PCBWay seems to have even numbered layer options, so to have 3, I need 4. As a layout convenience, having a net that everything on the board needs access to sounds convenient, and power seems to be the obvious use for the extra layer.
Since I do have the thing running well on a breadboard, I figure its gonna be hard to come up with a PCB that doesn't work.
Since I do have the thing running well on a breadboard, I figure its gonna be hard to come up with a PCB that doesn't work.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
If you go for a 4-layer board, having only one plane (a ground plane) leaves you with three signal layers which might make for much easier routing and higher density than two signal layers would. If you get in a bind, rather than adding another pair of layers to get a few last traces in, there may not be anything wrong with having jumper wires that hug the board's surface on one side or the other. There used to be lots of these (although they were short, bare ones) in audio consumer electronics before double-sided boards with plated-thru holes were pretty standard.
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?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
GARTHWILSON wrote:
If you go for a 4-layer board, having only one plane (a ground plane) leaves you with three signal layers which might make for much easier routing and higher density than two signal layers would.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
BigDumbDinosaur wrote:
GARTHWILSON wrote:
If you go for a 4-layer board, having only one plane (a ground plane) leaves you with three signal layers which might make for much easier routing and higher density than two signal layers would.
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?
Re: Dan's 6502 build, aka, The WOPR Jr.
I'd be surprised if the capacitance between the inner planes of a regular 4-layer board was a useful amount - for example, if it allowed one to use fewer bypass caps with confidence. Do you have the numbers BDD?
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
The dielectric constant of FR4 board is approximately 4.1, and you can use that in the capacitor equation
C=.2235*KA/d*(N-1)
where C is the capacitance in pF,
K is the dielectric constant (4.1 in this case),
A is the area of one plate in square inches,
d in the thickness of the dielectric in inches, and
N is the number of plates.
So for a 4-layer, .062"-thick board with the layers evenly spaced and the inner layers being the planes at .020" apart, you get
.2235 * 4.1 * 1 / .020 * (2-1) = 46pF for one square inch, less than a tenth as much as the Zycon BC technology (which still wasn't monumental).
A nice thing, as I remember from one of Dr. Howard Johnson's articles on high-speed digital design, is that parallel planes close to each other have no inductance (as long as you stay far enough away from the edges to approximate an infinite plane), so it the board has enough capacitance in chip capacitors, you don't need a capacitor right next to every IC. You can put them wherever they fit best, even if it's kind of far from some ICs.
C=.2235*KA/d*(N-1)
where C is the capacitance in pF,
K is the dielectric constant (4.1 in this case),
A is the area of one plate in square inches,
d in the thickness of the dielectric in inches, and
N is the number of plates.
So for a 4-layer, .062"-thick board with the layers evenly spaced and the inner layers being the planes at .020" apart, you get
.2235 * 4.1 * 1 / .020 * (2-1) = 46pF for one square inch, less than a tenth as much as the Zycon BC technology (which still wasn't monumental).
A nice thing, as I remember from one of Dr. Howard Johnson's articles on high-speed digital design, is that parallel planes close to each other have no inductance (as long as you stay far enough away from the edges to approximate an infinite plane), so it the board has enough capacitance in chip capacitors, you don't need a capacitor right next to every IC. You can put them wherever they fit best, even if it's kind of far from some ICs.
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?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Dan's 6502 build, aka, The WOPR Jr.
BigEd wrote:
I'd be surprised if the capacitance between the inner planes of a regular 4-layer board was a useful amount - for example, if it allowed one to use fewer bypass caps with confidence. Do you have the numbers BDD?
As an example, POC V1.1 has a 21.00 square inch board. Using the 46 pF per square inch number Garth calculated the "capacitor" formed by the inner layers would be 966 pF. POC V2.1's board is slightly larger at 22.56 square inches, producing approximately 1038 pF (0.001 µF). It's not a lot but it does help.
GARTHWILSON wrote:
A nice thing, as I remember from one of Dr. Howard Johnson's articles on high-speed digital design, is that parallel planes close to each other have no inductance (as long as you stay far enough away from the edges to approximate an infinite plane), so it the board has enough capacitance in chip capacitors, you don't need a capacitor right next to every IC. You can put them wherever they fit best, even if it's kind of far from some ICs.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Dan's 6502 build, aka, The WOPR Jr.
totally stupid question considering how far along I am.
Should the PHI2 pin on my ACIA be hooked to the PHI2O on the MPU, or directly to the oscillator output.
I'm doing the actual schematic so I can do a board, and noticed my ACIA's PHI2 is coming right from the the oscillator. I tried hooking it to the PHI2O on the MPU, and got crashes.
Makes me wonder exactly what the difference is anyway. It almost kinda worked.
Should the PHI2 pin on my ACIA be hooked to the PHI2O on the MPU, or directly to the oscillator output.
I'm doing the actual schematic so I can do a board, and noticed my ACIA's PHI2 is coming right from the the oscillator. I tried hooking it to the PHI2O on the MPU, and got crashes.
Makes me wonder exactly what the difference is anyway. It almost kinda worked.
Re: Dan's 6502 build, aka, The WOPR Jr.
Also, I don't currently have the IRQ pin on my 6522 hooked up (wasn't using it)
I remember reading somewhere that if I do want to use it, and I have other devices using the IRQ line, I need an AND gate or something or I'll get conflicts. Can't find where I read this, but I'm sure I did. Only other device that currently uses the IRQ line is the ACIA.
I remember reading somewhere that if I do want to use it, and I have other devices using the IRQ line, I need an AND gate or something or I'll get conflicts. Can't find where I read this, but I'm sure I did. Only other device that currently uses the IRQ line is the ACIA.