Page 4 of 9
Re: Extended 6502 Project (Logisim)
Posted: Tue May 05, 2020 1:28 pm
by picosecond
The C256Foenix project (which may or may not still be going)...
The wind-down of C256Foenix was announced yesterday.
https://mailchi.mp/12b4b4c9c6e4/c256-fo ... 020-update
Re: Extended 6502 Project (Logisim)
Posted: Tue May 05, 2020 1:50 pm
by BigEd
(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.
Re: Extended 6502 Project (Logisim)
Posted: Tue May 05, 2020 11:57 pm
by BigDumbDinosaur
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.
In other words, if someone here can see the emperor has no clothes he should keep his mouth shut and not point out the obvious because we shan't discourage someone from embarrassing themselves in public. Got it!
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?
- w65c832s.pdf
- 65C832 Data Sheet (1990)
- (3.41 MiB) Downloaded 224 times
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 4:05 am
by Proxy
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?
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 4:33 am
by GARTHWILSON
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)
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 5:08 am
by Proxy
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 mean we got a datasheet of the 65CE02, isn't that enough to make a functionally identical version of it?
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)
Posted: Wed May 06, 2020 5:10 am
by BigEd
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:
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 5:45 am
by GARTHWILSON
Thanks. It was on my own links page, yet I forgot about it!
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 6:32 am
by BigEd
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 8:25 am
by BigDumbDinosaur
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:
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 never said anything in this topic was impossible, you are not Arthur Clarke and also are not in charge around here. So don't be telling me to stay out of anything.
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 9:45 am
by Chromatix
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 11:00 am
by hoglet
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.
As a relative newcomer to these parts, I'm rather dismayed by direction and tone of this thread. Just so I'm clear, you are saying the original subject matter of this thread is inappropriate?
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.
That's helpful to know, and I'll bear this in mind when considering where/what to contribute in the future.
Dave
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 1:17 pm
by BigEd
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:
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)
Posted: Wed May 06, 2020 1:59 pm
by Proxy
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.
Re: Extended 6502 Project (Logisim)
Posted: Wed May 06, 2020 6:52 pm
by picosecond
Also welcome, picosecond! I'm sorry your first post had to be on such a mess of a thread.
Thanks for the welcome, BigEd and Proxy. Sometime soon I will get off my duff and make a proper greeting in the Introduce yourself thread. Here is a one-liner: I have worked professionally designing custom ASICs for more than three decades, but I have never designed a CPU.
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.