Extended 6502 Project (Logisim)
- picosecond
- Posts: 4
- Joined: 24 Sep 2019
- Location: USA
Re: Extended 6502 Project (Logisim)
rwiker wrote:
The C256Foenix project (which may or may not still be going)...
Re: Extended 6502 Project (Logisim)
(welcome, picosecond)
> wind-down of C256Foenix
That's certainly a shame. These retro-remakes really are major and difficult projects. And it's one thing to note that you can't make everyone happy, quite another thing to see that people bring grief to a project that doesn't quite fit their views.
For me, enthusiasm and energy are the most fragile and valuable resources. Which is why I keep saying, if you don't see the merit in a project, ignore it. Leave it to the people who do see the merit, to enjoy themselves, and see where they can get to.
> wind-down of C256Foenix
That's certainly a shame. These retro-remakes really are major and difficult projects. And it's one thing to note that you can't make everyone happy, quite another thing to see that people bring grief to a project that doesn't quite fit their views.
For me, enthusiasm and energy are the most fragile and valuable resources. Which is why I keep saying, if you don't see the merit in a project, ignore it. Leave it to the people who do see the merit, to enjoy themselves, and see where they can get to.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Extended 6502 Project (Logisim)
BigEd wrote:
Which is why I keep saying, if you don't see the merit in a project, ignore it. Leave it to the people who do see the merit, to enjoy themselves, and see where they can get to.
Don't be wrong-headed about this, Ed. Peer review is part of the process and if one of those peers thinks the project is headed to failure, that individual should speak up in a respectful manner and explain why he feels so. That's what Garth was subtly doing in his earlier posts, in which he correctly pointed out that most of Proxy's objectives were already embodied in the 65C816. I'm not as subtle in that regard as Garth, but then I've never felt compelled to award participation trophies.
I'll leave you with a question. If the idea of turning the 6502 into a super-processor has as much merit as you suggest, why didn't WDC push forward with the 65C832?
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Extended 6502 Project (Logisim)
I could turn the poroject into a pure 6502 or 65C02, so the only actual difference would be the improved cycle times.
which i think would be useful for any FPGA based project?
which i think would be useful for any FPGA based project?
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Extended 6502 Project (Logisim)
Ed, weren't you in an a project to de-cap and map out the 65CE02? What happened to that? (so Proxy or anyone else could re-create it in an FPGA)
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: Extended 6502 Project (Logisim)
GARTHWILSON wrote:
Ed, weren't you in an a project to de-cap and map out the 65CE02? What happened to that? (so Proxy or anyone else could re-create it in an FPGA)
i can try to atleast... after i finish my pure 6502/65C02 of this. because even looking at the 65CE02 datasheet i can see that those cycle times are still a tiny bit slower than what i can do...
Re: Extended 6502 Project (Logisim)
There's a thread on the 65CE02 reverse-engineering here:
viewtopic.php?f=1&t=4954
BDD, if you think the correct response to any kind of CPU-constructing or CPU-extending project is to say that WDC made the last word in microprocessors and no-one need do any more than they have, you'll be well out of tune with anyone who does want to pursue such a project, and yes, you should stay out of the thread.
Clarke's Law:
viewtopic.php?f=1&t=4954
BDD, if you think the correct response to any kind of CPU-constructing or CPU-extending project is to say that WDC made the last word in microprocessors and no-one need do any more than they have, you'll be well out of tune with anyone who does want to pursue such a project, and yes, you should stay out of the thread.
Clarke's Law:
Quote:
When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. The only way of discovering the limits of the possible is to venture a little way past them into the impossible.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Extended 6502 Project (Logisim)
BigEd wrote:
There's a thread on the 65CE02 reverse-engineering here:
viewtopic.php?f=1&t=4954
viewtopic.php?f=1&t=4954
Thanks. It was on my own links page, yet I forgot about it!
Proxy wrote:
i mean we got a datasheet of the 65CE02, isn't that enough to make a functionally identical version of it?
Sure. I was just thinking there was a chance the reverse-engineering Ed links to could still be helpful.
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: Extended 6502 Project (Logisim)
It really would be good for us to get back into the habit of seeing threads as topics - link to a thread then use it. Otherwise every single discussion goes off-track.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Extended 6502 Project (Logisim)
BigEd wrote:
BDD, if you think the correct response to any kind of CPU-constructing or CPU-extending project is to say that WDC made the last word in microprocessors and no-one need do any more than they have, you'll be well out of tune with anyone who does want to pursue such a project, and yes, you should stay out of the thread.
Clarke's Law:
Clarke's Law:
Quote:
When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. The only way of discovering the limits of the possible is to venture a little way past them into the impossible.
I seldom use the word "impossible" in technology discussions and didn't here. What I did point out was most projects of this type are doomed to failure, usually due to overwhelming complexity. That's not the same as saying it's impossible.
I suggest you re-read my question about the 65C832. At no point did I say WDC was the last word in microprocessors. The question pertained to why WDC didn't see fit to extend the 6502 to a 32-bit design. I think the point I was trying to make with that question got past you.
Incidentally, this is supposed to be a website and forum about 6502-family MPUs. I'd like to see it stay that way. If you want to see topics about building Frankenstein microprocessors then you are encouraging content dilution.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Extended 6502 Project (Logisim)
The short answer is: they designed it, nobody wanted to buy it, so they didn't bother sending it to the fab.
Probably because nobody wanted a "32-bit" CPU without a built-in multiplier, was awkward to code for, and which took several cycles to do anything - not when you could just as easily get a 68020, ARM2 or 80286 to outperform it. The 65816, as a mere "16-bit" CPU, could just about get away with those limitations, as the 24-bit address space and 65C02 compatibility were the major selling points.
The 65CE02 was an extension to the 6502 in a different direction, adding processing capabilities rather than raw address space. Prototypes were made (as Commodore had an in-house fab) but the computer it was intended for was cancelled. Probably because nobody wanted a CPU that could only comfortably address 64KB, even if it was faster and more capable than a 6502.
Probably because nobody wanted a "32-bit" CPU without a built-in multiplier, was awkward to code for, and which took several cycles to do anything - not when you could just as easily get a 68020, ARM2 or 80286 to outperform it. The 65816, as a mere "16-bit" CPU, could just about get away with those limitations, as the 24-bit address space and 65C02 compatibility were the major selling points.
The 65CE02 was an extension to the 6502 in a different direction, adding processing capabilities rather than raw address space. Prototypes were made (as Commodore had an in-house fab) but the computer it was intended for was cancelled. Probably because nobody wanted a CPU that could only comfortably address 64KB, even if it was faster and more capable than a 6502.
Re: Extended 6502 Project (Logisim)
BigDumbDinosaur wrote:
Incidentally, this is supposed to be a website and forum about 6502-family MPUs. I'd like to see it stay that way. If you want to see topics about building Frankenstein microprocessors then you are encouraging content dilution.
Quote:
Here the main goals i want to reach with this CPU:
1. it should be 6502 compatible (minus the bugs)
2. it should be as fast or faster than a 6502 running at the same clock speed (ie fewer cycles per instruction; also more consistent cylce counts, no extra cycles because of page boundaries or something)
3. it should have more instructions and useful features
?. final goal is to have this run on a cheap FPGA, but that'll take a while. first i just want this to work on a Logic Simulator.
1. it should be 6502 compatible (minus the bugs)
2. it should be as fast or faster than a 6502 running at the same clock speed (ie fewer cycles per instruction; also more consistent cylce counts, no extra cycles because of page boundaries or something)
3. it should have more instructions and useful features
?. final goal is to have this run on a cheap FPGA, but that'll take a while. first i just want this to work on a Logic Simulator.
Dave
Re: Extended 6502 Project (Logisim)
I rather hope that one or two strident voices don't knock the wind out of this forum. Once we get to know the characters here, we know what to expect. My concern is for newcomers, who might mistake an opinion for a consensus.
Mike, who started the forum, owns the infrastructure, and surely maintains a keen interest in it continuing to serve 6502 fans of all stripes, not so long ago said this:
Mike, who started the forum, owns the infrastructure, and surely maintains a keen interest in it continuing to serve 6502 fans of all stripes, not so long ago said this:
Mike Naberezny wrote:
Generally, this forum tries to stay focused on the 6502 and related processors. Posts about new processor designs are welcome, but should have some content that makes them interesting to 6502 enthusiasts (e.g. the new processor is 6502-like, or the post compares the new processor to the 6502, etc). For completely off-topic processor discussions, there's our spin-off forum at http://anycpu.org.
Re: Extended 6502 Project (Logisim)
I'm sorry if i caused any kind of beef or conflict between some people... I didn't mean to do that.
I just thought of ideas to improve the 6502 but failed at finding any existing CPUs that already did such things. which is my own fault.
before this thread never even heard of the 65CE02, and i didn't bother looking more into the 65816 because honestly i don't really care that much about it.
the project basically changed to get rid of the point 3. of my "goals" list.
so now i'm just building a straight up 6502, with the only difference being the internal architecture, and improved cycle times.
after that i want to tackle the 65C02 with the same goal, and after that, maybe even the 65CE02.
Also welcome, picosecond! I'm sorry your first post had to be on such a mess of a thread.
I just thought of ideas to improve the 6502 but failed at finding any existing CPUs that already did such things. which is my own fault.
before this thread never even heard of the 65CE02, and i didn't bother looking more into the 65816 because honestly i don't really care that much about it.
the project basically changed to get rid of the point 3. of my "goals" list.
so now i'm just building a straight up 6502, with the only difference being the internal architecture, and improved cycle times.
after that i want to tackle the 65C02 with the same goal, and after that, maybe even the 65CE02.
Also welcome, picosecond! I'm sorry your first post had to be on such a mess of a thread.
- picosecond
- Posts: 4
- Joined: 24 Sep 2019
- Location: USA
Re: Extended 6502 Project (Logisim)
BigEd wrote:
(welcome, picosecond)
Proxy wrote:
Also welcome, picosecond! I'm sorry your first post had to be on such a mess of a thread.
Proxy, I don't think your thread is a mess and I am not put off by a little squabbling. If I may, here are some poorly organized thoughts on your project:
There are already numerous 65xx cores that can be used in FPGA applications but I think there is ample room for innovation. None of the cores I have looked at are particularly small. I think a minimal-area core is an interesting design challenge. And of course, the sky is the limit in the high-frequency / high-IPC direction.
For me, instruction compatibility with the original 6502 is not very interesting or useful without also having clock cycle compatibility. Since improved IPC is one of your goals I would forget about the original and start with the 65C02 as a baseline. Get that working on some FPGA dev board before adding new instructions/features. There are many design trade-offs to consider for this seemingly simple (but definitely not) project. For starters, do you optimize for embedded or external RAM? Do you emphasize portability or optimize for a specific FPGA family?
If you are more interested in exploring instruction sets in simulation and less interested in ultimately building something these thoughts are probably not helpful. Maybe we find fun in the same things, maybe we don't. By all means, focus on what floats your boat.