Page 1 of 2
radical retrofit expands 65c02 architecture
Posted: Sat Oct 02, 2010 8:36 pm
by Dr Jefyll
hello, fellow 6502 lovers
Some of you folks will be interested in this project. It is
a co-processor that extends the 65c02 architecture, and it provides
new registers and new instructions that are fully as fast and flexible as those of the legacy CPU. One of the main benefits is a 16 MByte address space, implemented without the constricting "window" arrangement that's the mainstay of ordinary memory expansion schemes.
I hope you enjoy the article! All feedback (and questions, especially if anything stated is unclear) are welcome.
Cheers,
Jeff
Edit: Updated link; snappier blurb

Posted: Sat Oct 02, 2010 9:07 pm
by Dwedit
I wonder if anyone ever made a 32-bit 6502?
Posted: Sat Oct 02, 2010 10:07 pm
by clueless
Dwedit wrote:I wonder if anyone ever made a 32-bit 6502?
The "Terbium":
http://forum.6502.org/viewtopic.php?t=785
Posted: Sat Oct 02, 2010 10:52 pm
by 3gengames
Lol they say the 68K is better then 65816 or whatever......I take it they have never had alot of first hand experience with 65XX programming.....6809 is so much easier then 6502!
And why are they flipping out over all this C stuff? I'd never write C on such a understood and good chip as that. 6502 != C.
Imagine putting one of these in a NES and writing C programs for NES!.....I bet games would run at , eh, 2 frames a second. Portability FTW.
BUT ANYWAY....
That project you have is pretty amazing.....I'd be more amazed if I understood hardware at all.

But it seems epic. Keep on adding, man!

Posted: Sun Oct 03, 2010 6:55 am
by tepples
Dwedit wrote:I wonder if anyone ever made a 32-bit 6502?
ARM.
As for C on 6502 family, NovaYoshi claims to have evidence that Koei's turn-based war sims were written in C, or at least in mixed C/assembly. Specifically, he ran
strings on a ROM and saw *printf() formatting commands. This would have allowed the same simulation to get compiled for 6502, Z80, GB-Z80, MC68000, and 8086, with different assembly language front-ends for each platform. In the modern era, use of C++ allows the same game with the same maps, physics, and NPC behaviors to get ported to i686 (PC 32-bit), amd64 (PC 64-bit), ARM (DS, iOS), PowerPC (Wii, 360, PS3), and MIPS (PSP), again with platform-specific front-ends.
Posted: Sun Oct 03, 2010 9:00 pm
by 3gengames
They might ave had a custom C compilers, C complers for PC's suck. I see program in A couple 20 MB that can be done in like 512K on NES!

Posted: Mon Oct 04, 2010 3:27 am
by tokumaru
65024U wrote:I see program in A couple 20 MB that can be done in like 512K on NES!

True, but that's not necessarily the compiler's fault. That's because whenever people need a certain feature they use a library for it, a library that does what they need plus tons of things they
don't need. That adds up quickly.
Posted: Mon Oct 04, 2010 8:07 am
by tepples
65024U wrote:They might ave had a custom C compilers, C complers for PC's suck. I see program in A couple 20 MB that can be done in like 512K on NES!

Sometimes the 20 MB allows for far more generality, allowing your program to reach a larger market. Arabic in particular reorders glyphs in the line and changes their shape based on their neighbors, and PC libraries have to support this behavior. Chinese has thousands of characters, and PC libraries need glyphs for these. PC screen resolutions and pixel depths vary from 640x480x8 bit all the way up to 1920x1080x32 bit and beyond; libraries have to support scaling of background and sprite textures, vector rendering, and color space conversion, and data needs more detail if the game isn't intentionally
retraux. PCs (apart from the far smaller market of home theater PCs) have smaller screens designed for one person per machine, and libraries have to support networking to communicate among copies of the program on separate machines.
Posted: Mon Oct 04, 2010 2:23 pm
by 3gengames
Idk....I just HATE having any more then needed on PC so it bugs me more then anyone.
I hope one day Mac just gives up and dies, eve though MS isn't that great, at least one platform would dominate. Thats what computers need.
And then....we all combine here and make our own PC!

Posted: Mon Oct 04, 2010 2:38 pm
by clueless
Heading back on topic...
I think that the KimKlone was a really neat idea. The design seems really nifty. Definitely ++ geek points.
The only thing even remotely like it that I've come across was a guy who built a dual-processor 68B09E computer. The 68B09E uses a dual phase clock (phi-0 and phi-1, 90 degrees out of phase). The CPU only drives the bus when one of the phases is active (I forget if it is high or low). So the designer put both chips is parallel, except that he inverted one of the phases for only one of the CPUs. The CPUs shared ROM and most RAM, but did have a small, per-CPU RAM bank (for stack and private vars).
So it is similar to the KK in that the CPUs run in parallel on the SAME BUS, but totally different in that the KK's extra "processing" augments the existing CPU and is not SMP computing.
Posted: Mon Oct 04, 2010 3:10 pm
by 3gengames
And you can always upgrade it to 6309's......Wow, that chip is insane. It's like a 32bit 8bit micro.
I can only imagine the logic behind this....We should hire him to make a MMC3 clone that can fit on that one chip you guys were talking about with the "Cells"

Posted: Mon Oct 04, 2010 7:44 pm
by psycopathicteen
Who's making a dual 6809/6309 computer? 6309 is the coolest cpu ever. Please tell me it's going to have actually have a good 2D graphics chip, and not the insulting 16-color software rendering the CoCo had. I'd like to see how a 6309 could push sprites around onscreen.
Posted: Mon Oct 04, 2010 8:20 pm
by 3gengames
Idk, it was mentioned above, but I just mentioned swapping it out. And dude, that was 8 years before NES was out so it was damn good for it's time.
Lol this project is like a 6809-6309 equivalent, I wish this was on a chip....imagine the power! -pokes bunnyboy- XD
Posted: Tue Oct 05, 2010 1:46 pm
by psycopathicteen
65024U wrote:Idk, it was mentioned above, but I just mentioned swapping it out. And dude, that was 8 years before NES was out so it was damn good for it's time.
Lol this project is like a 6809-6309 equivalent, I wish this was on a chip....imagine the power! -pokes bunnyboy- XD
CoCo3 was released in 1986 and was using software rendering, with a smaller resolution and smaller color palette than the Amiga which was released the same year. As a result, the 68000 looked God-like because it was used in systems that used powerful graphics chips, whereas the 6309 was made to look like a cheap and crappy cpu because it was used in a few bottom-of-the-barrel computers.
What did the 68000 have that the 6309 didn't? Sure the 68000 was capable of being clocked at slightly higher Mhz speeds and had a few more internal registers, but for everything else, it gets its butt kicked by the 6309.
Posted: Tue Oct 05, 2010 4:10 pm
by 3gengames
I know I own and program on one and know that.....I thought you were talking about the Coco 1

XD And the 6309 isn't even as close to the 68000, 16/32 bit @ 8 or so Mhz vs 8-bit @1 Mhz.....no competition.
Could this be added to the 65816 or whatever the SNES uses?