Following Ben Eater 6502 and have ROM addressing question
Re: Following Ben Eater 6502 and have ROM addressing questio
GARTHWILSON wrote:
Individual_Solid wrote:
The primer is a great guide, but being told "don't do it on breadboards" while working on a project intended to run on breadboard (and at a speed slow enough to not mater), it can be discouraging and harder to pick out the information actually relevant to you.
Bill
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
Individual_Solid wrote:
This conversation sort of started in the "Welcome Ben Eater Builders" thread, but it was well noted that turning that welcome thread into a criticism train was probably not a good idea.
I don't think anyone is angling to get on board the criticism train and gang up on Ben Eater. From my perspective, anyone who promotes the use of 6502 technology is one of the good guys/gals. All I think is happening here is observations are being made about some of the secondary effects of promoting that technology. Those who are just starting in digital electronics, especially in the realm of building a computer from scratch, have a lot to learn. Watching some U-Toobe videos isn't going to be enough to deal with the knowledge hurdles that have to be leaped in order to have a successful experience.
Quote:
First, I'd like to take a second to look at the BOM of the kit Ben has for sale. That list, purchased with the exact part numbers from Jameco would cost $80.59. The Ben Eater kit is $84.95. I'm used to seeing electronics kits with 100% margins. a ~5% isn't very much, at all. I'm sure the margin is a little higher, with bulk sales on some components.
I'd be surprised if Ben is getting most of his parts from Jameco, as there are more economical sources, such as Digi-Key and Mouser (plus their chip inventory is much more extensive and up-to-date than Jameco's). In most cases per piece prices drastically tumble with a significant quantity purchase, especially in the case of passives. Given that, and some other things, I suspect Ben's cost per kit is probably closer to 55-60 dollars. Obviously, he's not getting rich selling them, but he's also not operating at the break-even point.
Quote:
Thirdly, Ben also encourages folks not in his Patreon chats to engage with the community at reddit.com/r/beneater. This group has folks on the ready to help with easily answered questions.
And when someone who has purchased an Eater kit has a not-so-easily answered question where does he/she go for help?
Quote:
Ben does (very rarely) participate over there.
Being that it's Reddit, I fully understand why he rarely participates.
Quote:
The primer is a great guide, but being told "don't do it on breadboards" while working on a project intended to run on breadboard (and at a speed slow enough to not mater), it can be discouraging and harder to pick out the information actually relevant to you.
Garth's primer, in my opinion, is worth more than all the Ben Eater videos combined when it comes to dishing out guidance on how to achieve a successful build. One reason is it's a static medium that can be repeatedly studied until understanding has been achieved (and one's studies won't get repeatedly interrupted by commercials). Another reason is Garth has had a lot of real-world experience with the 6502 that includes practical builds that are used to get work done, not just to blink some LEDs. In the process, he's been able to amass and tabulate all the things that can go south in a build, something which the Eater videos only superficially cover.
Quote:
But I digress, as I said, I am not in the cult of Ben, I just learned a lot from those videos in particular and am excited about the idea of helping others learn more and more better from them.
Helping others learn about the fascinating world of the 6502 is what this place is all about, and unlike some other forums, that is the primary focus. When one of us posts a lengthy diatribe on how to get something working, it's a labor of love, so to speak, not an effort to generate a revenue stream.
x86? We ain't got no x86. We don't NEED no stinking x86!
- Individual_Solid
- Posts: 72
- Joined: 25 Jun 2021
- Location: Portland, Oregon, USA
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
BillO wrote:
GARTHWILSON wrote:
Individual_Solid wrote:
The primer is a great guide, but being told "don't do it on breadboards" while working on a project intended to run on breadboard (and at a speed slow enough to not mater), it can be discouraging and harder to pick out the information actually relevant to you.
My point was simply that, for many of the Eater builders coming, they've already decided they're going to use breadboards, and it's a build well known to work on breadboards. Then they're met with this:
Quote:
#1: Yes, number one! Avoid plug-in (solderless) breadboards for this kind of work! These are the worst of all worlds for computer performance. They require the connecting wires to be the longest of any method (meaning most inductance), have extra capacitance between neighboring tie points, and there's no chance of getting anything even remotely resembling a ground plane. (And no, a piece of sheet metal underneath, connected to ground, does not qualify. Not at all!) Unfortunately people insist on using solderless breadboards for computer construction, and we frequently find the resulting problems reported on the forum with pleas for help to figure it out, when the builder has the connections right but the solderless breadboards' stray inductance and capacitance are keeping his circuit from working. It causes so much grief, yet the builder has a hard time believing that that's the problem!
Quote:
I'd be surprised if Ben is getting most of his parts from Jameco, as there are more economical sources, such as Digi-Key and Mouser (plus their chip inventory is much more extensive and up-to-date than Jameco's). In most cases per piece prices drastically tumble with a significant quantity purchase, especially in the case of passives. Given that, and some other things, I suspect Ben's cost per kit is probably closer to 55-60 dollars. Obviously, he's not getting rich selling them, but he's also not operating at the break-even point.
Quote:
Those who are just starting in digital electronics, especially in the realm of building a computer from scratch, have a lot to learn. Watching some U-Toobe videos isn't going to be enough to deal with the knowledge hurdles that have to be leaped in order to have a successful experience.
--
Garth's primer, in my opinion, is worth more than all the Ben Eater videos combined when it comes to dishing out guidance on how to achieve a successful build. One reason is it's a static medium that can be repeatedly studied until understanding has been achieved (and one's studies don't get repeatedly interrupted by commercials). Another reason is Garth has had a lot of real-world experience with the 6502 that includes practical builds that are used to get work done, not just to blink some LEDs. In the process, he's been able to amass and tabulate all the things that can go south in a build, something which the Eater videos only superficially cover.
--
Garth's primer, in my opinion, is worth more than all the Ben Eater videos combined when it comes to dishing out guidance on how to achieve a successful build. One reason is it's a static medium that can be repeatedly studied until understanding has been achieved (and one's studies don't get repeatedly interrupted by commercials). Another reason is Garth has had a lot of real-world experience with the 6502 that includes practical builds that are used to get work done, not just to blink some LEDs. In the process, he's been able to amass and tabulate all the things that can go south in a build, something which the Eater videos only superficially cover.
Quote:
Helping others learn about the fascinating world of the 6502 is what this place is all about, and unlike some other forums, that is the primary focus. When one of us posts a lengthy diatribe on how to get something working, it's a labor of love [...]
Re: Following Ben Eater 6502 and have ROM addressing questio
BigDumbDinosaur wrote:
Those who are just starting in digital electronics, especially in the realm of building a computer from scratch, have a lot to learn. Watching some U-Toobe videos isn't going to be enough to deal with the knowledge hurdles that have to be leaped in order to have a successful experience.
I watch Ben's video's too, but it is plain to me with my few years of experience in digital electronics (merely 40+ of them) as I watch where those newbies enthusiastically starting out might run into problems. I still run into problems all the time. This is not simplistic stuff, but it can be portrayed that way.
Bill
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
Individual_Solid wrote:
First, I'd like to take a second to look at the BOM of the kit Ben has for sale. That list, purchased with the exact part numbers from Jameco would cost $80.59. The Ben Eater kit is $84.95. I'm used to seeing electronics kits with 100% margins. a ~5% isn't very much, at all. I'm sure the margin is a little higher, with bulk sales on some components. But yes, he's selling these kits but they probably aren't the main source of his income.
BigDumbDinosaur wrote:
I don't think anyone is angling to get on board the criticism train and gang up on Ben Eater. From my perspective, anyone who promotes the use of 6502 technology is one of the good guys/gals.
(BTW, thanks, BDD, for the website compliments.)
BillO wrote:
I guess he's trying to simplify, but it's not just the impedance mismatch between the receiver and the transmitter in the general case, but between transmitter and the transmission line at the origin .. then at the other end the transmission line to the receiver.
Individual_Solid wrote:
was in fact reminded of Ben's video discussing "Why Build A Computer on a Breadboard" which really was my first introduction to some of this physics.
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?
- Individual_Solid
- Posts: 72
- Joined: 25 Jun 2021
- Location: Portland, Oregon, USA
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
Quote:
You posted while I was writing, so I have not checked again yet to see if that's the video I'm thinking of; but I know he had one "proving" the good performance with a clock oscillator, but he did it right, with the ground return running right next to the signal line, whereas most builders will probably run the ground return over to the rail, down the rail to the end of the breadboard and up the next breadboard's rail, far from the signal line, making essentially a big loop, a big inductor, with taps along the way for other things. Surprising things can be accomplished if you do them right, but the successes will come from things the newbie won't catch. It is my understanding that the Cray-1 supercomputer used miles of wire-wrap and an 80MHz clock; but every signal line had its ground return twisted with it, in loads and loads of twisted pairs. Special insulation was also used to increase the propagation velocity to well above what it would be with more-common wire.
Re: Following Ben Eater 6502 and have ROM addressing questio
GARTHWILSON wrote:
Anyplace there's an impedance discontinuity, there'll be a reflection. And on a solderless breadboard, you don't really have transmission lines anyway, so what happens is uncontrolled and rather unpredictable.
Bill
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
Individual_Solid wrote:
Some of the best learning does seem to happen when we take a look at a malfunctioning (or non-perfectly functioning) design and see what fixes it. I think that is indeed the video you're thinking of Garth, and pointing out the ground return makes me want to pull out my scope and try it both ways. I've learned a bunch (and I'm sure others have too) from folks on here pointing out what's wrong.
We have a sticky topic here that goes into the practical aspects of building a computer, such as tradeoffs between point-to-point construction, use of wirewrap (which was how commercial computers were built for many years), PCB layout, etc. I highly recommend anyone who is building their first computer study that topic to learn about where things can go off the rails.
We have a saying around here that you can get away with murder at 1 MHz. That is mostly true, except when it comes to using a solderless breadboard. As Garth notes, those long leads throw unpredictable amounts of inductance into the circuit, potentially creating a timing quagmire that will result in a DOA or unstable unit. The problem isn't the clock rate, it's the signal transition rate, which with modern logic is very fast. That is why the use of a solderless breadboard is strongly discouraged. It's convenient, but has a much higher probably of failing to run unless the builder has a very good understanding of how all that wiring is likely to behave.
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: Following Ben Eater 6502 and have ROM addressing questio
BigDumbDinosaur wrote:
We have a sticky topic here that goes into the practical aspects of building a computer, such as tradeoffs between point-to-point construction, use of wirewrap (which was how commercial computers were built for many years), PCB layout, etc. I highly recommend anyone who is building their first computer study that topic to learn about where things can go off the rails.
Techniques for reliable high-speed digital circuits
On the last page (so far), enso gave a link to a very long but excellent video. One of the points made is that the signal energy does not travel in the copper, but in the dielectric between the signal trace and the return path. The copper only guides it.
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?
- Individual_Solid
- Posts: 72
- Joined: 25 Jun 2021
- Location: Portland, Oregon, USA
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
GARTHWILSON wrote:
BigDumbDinosaur wrote:
We have a sticky topic here that goes into the practical aspects of building a computer, such as tradeoffs between point-to-point construction, use of wirewrap (which was how commercial computers were built for many years), PCB layout, etc. I highly recommend anyone who is building their first computer study that topic to learn about where things can go off the rails.
Techniques for reliable high-speed digital circuits
On the last page (so far), enso gave a link to a very long but excellent video. One of the points made is that the signal energy does not travel in the copper, but in the dielectric between the signal trace and the return path. The copper only guides it.
Quote:
It's good to see he has some kind of deal going where Jameco can make up the kit and drop-ship it.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Following Ben Eater 6502 and have ROM addressing questio
GARTHWILSON wrote:
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: Following Ben Eater 6502 and have ROM addressing questio
Individual_Solid wrote:
Quote:
You posted while I was writing, so I have not checked again yet to see if that's the video I'm thinking of; but I know he had one "proving" the good performance with a clock oscillator, but he did it right, with the ground return running right next to the signal line, whereas most builders will probably run the ground return over to the rail, down the rail to the end of the breadboard and up the next breadboard's rail, far from the signal line, making essentially a big loop, a big inductor, with taps along the way for other things. Surprising things can be accomplished if you do them right, but the successes will come from things the newbie won't catch. It is my understanding that the Cray-1 supercomputer used miles of wire-wrap and an 80MHz clock; but every signal line had its ground return twisted with it, in loads and loads of twisted pairs. Special insulation was also used to increase the propagation velocity to well above what it would be with more-common wire.
"You must Unlearn what You have Learned"
https://www.youtube.com/watch?v=y4REmZlE7Jg
From about 11:48 to 25:54, he shows a little circuit he built up on a solderless breadboard that pulses the current, and shows on the 'scope how the voltage from the power bus to the ground bus is heavily affected because of the inductance in the solderless breadboard. He even used the power and ground that run close to each other, rather than one down one edge of the board and the other down the other edge, where his way is a lot better than what hobbyists usually do when the ground pin of an IC is on one side and the power pin is on the other. He's using a lot more current than we're usually talking about, but OTOH we're normally talking about much faster rise times which cause more problems. He puts the capacitor different distances from the load to show how much better it is to have it really close. He also shows that a bigger capacitor is not an improvement over a smaller one. In other parts of the video, he skewers other sacred cows.
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: Following Ben Eater 6502 and have ROM addressing questio
Quote:
I actually noticed while doing the math in this thread that Jameco appears to be the cheapest place to get small volumes of W65C02s in the US at the moment. The ones I've gotten from Jameco all appear to be brand new / not pulls. At Mouser, the 1 unit price is $10.75. At Jameco, the WDC65C02 is $6.95! We may all be valuing from a big order Jameco made to fulfill the kits. Good news for the BOM of my own SBC which I had calculated only at Mouser so far.
Re: Following Ben Eater 6502 and have ROM addressing questio
Individual_Solid wrote:
My point was simply that, for many of the Eater builders coming, they've already decided they're going to use breadboards, and it's a build well known to work on breadboards. Then they're met with this:
Then you get reports that feel contradictory, like ‘at 1MHz you can get away with murder’.
So in a way, I chose to take some information with a grain of salt and just push on and try things. Which, to me, is one of the best ways to learn. “Try and see what happens”.
In doing so, I was able to overclock the W65C02 all the way up to just short of 40MHz at 5v, before things got really unstable. This was using 20cm of un-optimised stripboard, housing the CPU and a couple of other bits, running from a clock which was constructed on, you guessed it, ‘a breadboard’.
The fact that all of this worked on such a noisy setup had given me a huge amount of confidence in being able to construct what I want to. And I only want the 6502 to run at 12.5 MHz for my main project.
So while wire wrap might be the best case scenario for the guru’s here, it’s not the end of the world if you chose stray from that, for whatever reason that may be.
Re: Following Ben Eater 6502 and have ROM addressing questio
Excellent to hear that you got the result you needed, despite the initial discouragement.