W65C265S-Based Computer
W65C265S-Based Computer
Before I get started, I do have someone who's worked with the 6502 processors professionally before helping me with some things.
He even told me that I should look into getting a logic analyzer before I do too much more.
Most of my reasoning for posting here is because he's also busy helping someone else with their project and in general just has things that are going to take priority over me.
I think we've agreed that KiCad would be a good software to work from.
I've already got some of the main chips picked out to go with the W65C265S, and I fully understood that it had quirks and limitations that I would have to work around.
The graphics chip is the Bridgetek BT816 and audio is going to be split between a Wavetable chip I found, the output of the BT816 and the ton generators of the microcontroller.
The BT816 doesn't use any external ram, it already has a built-in 1 Megabyte ram used for all video and audio data it outputs. The main issues I'm going to have with it are getting the most out of the Quad-SPI command input and how to get it to operate between multiple QSPI data inputs. It acts as a QSPI slave when getting commands from the microcontroller. For all texture and audio data it uses a different set of pins for single SPI sources, but I'd like it to go between at least two.
I went ahead and decided to go with a single parallel 1 Megabyte SRAM so I could keep chip complexity down and the room for code up.
I'm thinking of putting the whole PCB in a Mini-ITX form factor with PC power supply inputs so I can throw it into a spare computer case I have lying around.
With that in mind, I was wondering what would be some good chips I could use to operate a possible cartridge port or backplane with? I was thinking of some sort of ISA type bus or something like it. I want to be able to upgrade this machine without later on if I decide to without having to make a whole new PCB to do so. I saw from a recent post elsewhere that just leaving the cpu data and address buses open to a card edge connector wouldn't be a good idea.
Tell me what you think.
If you want to estimate my knowledge of this stuff I'll tell you what I tell other people when I get into new hobbies; I know just enough to get me into trouble and not enough to get me out.
He even told me that I should look into getting a logic analyzer before I do too much more.
Most of my reasoning for posting here is because he's also busy helping someone else with their project and in general just has things that are going to take priority over me.
I think we've agreed that KiCad would be a good software to work from.
I've already got some of the main chips picked out to go with the W65C265S, and I fully understood that it had quirks and limitations that I would have to work around.
The graphics chip is the Bridgetek BT816 and audio is going to be split between a Wavetable chip I found, the output of the BT816 and the ton generators of the microcontroller.
The BT816 doesn't use any external ram, it already has a built-in 1 Megabyte ram used for all video and audio data it outputs. The main issues I'm going to have with it are getting the most out of the Quad-SPI command input and how to get it to operate between multiple QSPI data inputs. It acts as a QSPI slave when getting commands from the microcontroller. For all texture and audio data it uses a different set of pins for single SPI sources, but I'd like it to go between at least two.
I went ahead and decided to go with a single parallel 1 Megabyte SRAM so I could keep chip complexity down and the room for code up.
I'm thinking of putting the whole PCB in a Mini-ITX form factor with PC power supply inputs so I can throw it into a spare computer case I have lying around.
With that in mind, I was wondering what would be some good chips I could use to operate a possible cartridge port or backplane with? I was thinking of some sort of ISA type bus or something like it. I want to be able to upgrade this machine without later on if I decide to without having to make a whole new PCB to do so. I saw from a recent post elsewhere that just leaving the cpu data and address buses open to a card edge connector wouldn't be a good idea.
Tell me what you think.
If you want to estimate my knowledge of this stuff I'll tell you what I tell other people when I get into new hobbies; I know just enough to get me into trouble and not enough to get me out.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: W65C265S-Based Computer
Welcome! We look forward to your success.
Do go through the 6502 primer, indexed at http://wilsonminesco.com/6502primer/ . Even though it's about the '02, much of the material applies just the same. It's organized logically into 22 sections.
A logic analyzer is nice but by no means necessary.
Do go through the 6502 primer, indexed at http://wilsonminesco.com/6502primer/ . Even though it's about the '02, much of the material applies just the same. It's organized logically into 22 sections.
A logic analyzer is nice but by no means necessary.
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: W65C265S-Based Computer
Thanks! I figured an analyzer wasn't required, but I might as well get one anyways in case I need to troubleshoot things. I was already directed to the primer and had bookmarked it previously. 
-
DerTrueForce
- Posts: 483
- Joined: 04 Jun 2016
- Location: Australia
Re: W65C265S-Based Computer
Welcome to our 6502 world!
There is an Introduce Yourself thread. Please, do feel free to post there!
For implementing ISA, I think you'd probably need some sort of CPLD. I haven't looked, but I suspect they don't make interface devices for those older standards anymore.
If you're willing to roll your own interface, or look around for a few, you'll probably find more success. 65SIB might be worth looking at, as might SPI-10 and I2C-6. Those last two aren't meant as an expansion bus as much as 65SIB is, though.
What chip you use would depend on what kind of interface you want.
If you want a parallel interface, you could use a 65c22. You might need supporting hardware to increase your I/O addressing beyond 256 bytes, though.
If you're OK with a serial interface, the 65SPI might be worth a look, although that's a CPLD firmware.
I don't know enough about the BT81x to say much of anything, really. I did look at using a Gameduino 3, which presents an ordinary SPI interface, but that's out of stock at the moment. It's also quite different to what you appear to be shooting for(the GD3 provides its own display). I'm not sure if these EVE chips can drive a monitor. I've only ever seen them paired fairly closely with an LCD panel.
I can second what Garth said about not needing a logic analyzer. I still don't have one, and I've gotten my SBC running without it. I've wished I had one, but I never actually needed it.
There is an Introduce Yourself thread. Please, do feel free to post there!
For implementing ISA, I think you'd probably need some sort of CPLD. I haven't looked, but I suspect they don't make interface devices for those older standards anymore.
If you're willing to roll your own interface, or look around for a few, you'll probably find more success. 65SIB might be worth looking at, as might SPI-10 and I2C-6. Those last two aren't meant as an expansion bus as much as 65SIB is, though.
What chip you use would depend on what kind of interface you want.
If you want a parallel interface, you could use a 65c22. You might need supporting hardware to increase your I/O addressing beyond 256 bytes, though.
If you're OK with a serial interface, the 65SPI might be worth a look, although that's a CPLD firmware.
I don't know enough about the BT81x to say much of anything, really. I did look at using a Gameduino 3, which presents an ordinary SPI interface, but that's out of stock at the moment. It's also quite different to what you appear to be shooting for(the GD3 provides its own display). I'm not sure if these EVE chips can drive a monitor. I've only ever seen them paired fairly closely with an LCD panel.
I can second what Garth said about not needing a logic analyzer. I still don't have one, and I've gotten my SBC running without it. I've wished I had one, but I never actually needed it.
Re: W65C265S-Based Computer
railsrust wrote:
Thanks! I figured an analyzer wasn't required, but I might as well get one anyways in case I need to troubleshoot things. I was already directed to the primer and had bookmarked it previously. 
In fact I have one on order right now that cost less than $55 (shipped) that is supposed to have a 16mHz bandwidth. Just needed something to put on my retro computing bench to help with diagnosing issues without having to tear apart my electronics bench. I'll do a mini-review of it when I get it.
Good luck with the project.
Bill
Re: W65C265S-Based Computer
Welcome railsrust! You'll find lots of expertise and encouragement here.
Certainly it's worthwhile to read Garth's primer, all the way through, at least once. It might be that there are lots of things you don't know, and you don't even know that yet.
It's been said many times here, and often enough ignored, but it really is well worth building something simple first. It's a lot quicker to build something simple, learn while doing, and progress to something more complicated. It may feel like a step down, but it is good advice. Learn to walk before you try to run. Grant Searle's designs are probably a good place to start.
That's an interesting-looking display controller you've found. I think it may be worth a thread of its own: here's one.
Certainly it's worthwhile to read Garth's primer, all the way through, at least once. It might be that there are lots of things you don't know, and you don't even know that yet.
It's been said many times here, and often enough ignored, but it really is well worth building something simple first. It's a lot quicker to build something simple, learn while doing, and progress to something more complicated. It may feel like a step down, but it is good advice. Learn to walk before you try to run. Grant Searle's designs are probably a good place to start.
That's an interesting-looking display controller you've found. I think it may be worth a thread of its own: here's one.
Re: W65C265S-Based Computer
Looking at the 65SIB, I am definitely interested in adding something like that to the PCB. My very reason for wanting an external bus connection is so that I could farm out any additional extensions I might want off to a daughter board containing any extra devices. It is also so I can keep the main board design as simple as possible. In fact, any sound effects will to be played by the video chip, and if I want music I'm going to be putting a Wave Blaster header on there for it to play back general Midi music. I'm going to be using the DreamBlaster S2 sold by Serdaco. It just needs a single Midi TTL line to produce music output from it. The ram is just going to be a single 1 Megabyte SRAM chip. That's all this thing will ever need for what I might do with it.
Re: W65C265S-Based Computer
In case I don't go with the BT816, could someone suggest a good DAC that could be implemented 'easily'. I basically want to add the ability for voice samples to play if the EVE chip isn't what I want.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: W65C265S-Based Computer
railsrust wrote:
could someone suggest a good DAC that could be implemented 'easily'.
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: W65C265S-Based Computer
So I got this email from "my little helper" yesterday.
Then a couple emails later:
I mean, if he wants to engineer all of this himself... Haha!
I guarantee you've heard his name before, and you might even guess who it is based on his sense of humor.
He's produced a couple of computers before, so I can trust him to make something like that work somehow.
Anyone know of a way to manage multiple 6502s like this?
Keep in mind he was asking me if we could do this instead of the W65C265S.
Quote:
So rather than the 816 in any form, what would you think of 4 or more 6502s, closely coupled but yet able to execute independently? If we think of the theme of throwing processors at the problem I could easily adopt the convention that the “Vic Chip” is a Raspberry running a VIC emulator. Or maybe even a 6502 running fast enough to move sprites, set collisions, and yet insulate the main ’02 from the task so in effect an 02 acting as a VIC chip emulator. Heck maybe even one act as a SID by bit banging a PWM.
The fact I am even writing about this means its something that would kind of float my boat, especially if it were expandable.
Heh, run a VIC-20 AND a C64 emulation at the same time. Oh oh, just thought of a smaller array of Z80’s near by.
The fact I am even writing about this means its something that would kind of float my boat, especially if it were expandable.
Heh, run a VIC-20 AND a C64 emulation at the same time. Oh oh, just thought of a smaller array of Z80’s near by.
Then a couple emails later:
Quote:
Heh, and a bargraph led display that acts like a speedometer the more 6502s you use.
I know people have done multiprocessor ’02’s before I wonder if there is anything in open domain, namely the task dispatcher and manager. They also have done a bunch of 8051s which are mores selfcontained.
I gotta believe one FPGA can manage a crapload of ‘02s.
I know people have done multiprocessor ’02’s before I wonder if there is anything in open domain, namely the task dispatcher and manager. They also have done a bunch of 8051s which are mores selfcontained.
I gotta believe one FPGA can manage a crapload of ‘02s.
I guarantee you've heard his name before, and you might even guess who it is based on his sense of humor.
He's produced a couple of computers before, so I can trust him to make something like that work somehow.
Anyone know of a way to manage multiple 6502s like this?
Keep in mind he was asking me if we could do this instead of the W65C265S.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: W65C265S-Based Computer
railsrust wrote:
Anyone know of a way to manage multiple 6502s like this?
Here are some earlier topics that are very relevant, and kc5tja made valuable contributions on:
- idea: a cell-like chip based on many 6502 cores
- and André Fachat's post in this one (already cued up), about distributing the work load among the various processors in a multiprocessing system: Parallel Processing with 6502s
- See also: Dual Processor SBC.
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: W65C265S-Based Computer
I mean, I wasn't trying to go off topic.
He just went and dropped that on me and I was like "sure I guess, you're the expert". I'll tell you who it is in a PM.
He just went and dropped that on me and I was like "sure I guess, you're the expert". I'll tell you who it is in a PM.
Re: W65C265S-Based Computer
It's interesting, so I've spun it into a new thread:
Re: W65C265S-Based Computer
railsrust wrote:
Anyone know of a way to manage multiple 6502s like this?
Keep in mind he was asking me if we could do this instead of the W65C265S.
Keep in mind he was asking me if we could do this instead of the W65C265S.
The W65C265S' parallel interface bus ("PIB") cannot compete with that but in theory one could attach numerous W65C265S' to one bus where a master could issue workload and fetch results. But it is difficult to estimate what performance can be reached. This interface is poorly documented.
On the other hand - the W65C265S has four serial ports. Using them in a link-like fashion you could arrange the same network topologies as Transputers. It is of course much much slower.
Re: W65C265S-Based Computer
GaBuZoMeu wrote:
The W65C265S' parallel interface bus ("PIB") cannot compete with that but in theory one could attach numerous W65C265S' to one bus where a master could issue workload and fetch results. But it is difficult to estimate what performance can be reached. This interface is poorly documented.
Quote:
On the other hand - the W65C265S has four serial ports. Using them in a link-like fashion you could arrange the same network topologies as Transputers. It is of course much much slower.