6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 4:21 pm

All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: 65020
PostPosted: Fri Feb 09, 2024 11:33 am 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 293
GARTHWILSON wrote:


It's an evolution of that. That was the starting point, somewhere around 1988 or 1989. I've had a lot more experience with a lot more processors since then, and changed my ideas about what's important. But the core idea - extending the 6502 by making memory locations 16 bits instead of 8 - is the same.

And yes, I have continued working on it. Most of it has been around the CPU, building the rest of the computer and writing software for it. The CPU and assembler have had a few bug fixes and some small extensions ("count leading zeros" is the most significant). I should update github. I've been holding back on that because there's one feature left to implement (stack operations should be able to select different registers for the stack pointer), and haven't found a good way to do it yet. And there have been so many distractions.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Fri Feb 09, 2024 7:02 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
John West wrote:
It's an evolution of that. That was the starting point, somewhere around 1988 or 1989.

So is that page yours too?  Or did you pick up someone else's idea and start working on refining 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?


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Fri Feb 09, 2024 7:13 pm 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 293
GARTHWILSON wrote:
John West wrote:
It's an evolution of that. That was the starting point, somewhere around 1988 or 1989.

So is that page yours too?  Or did you pick up someone else's idea and start working on refining it?


That was me many many years ago.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Fri Apr 19, 2024 11:16 pm 
Offline

Joined: Fri Apr 19, 2024 11:03 pm
Posts: 2
John West wrote:
GARTHWILSON wrote:
John West wrote:
It's an evolution of that. That was the starting point, somewhere around 1988 or 1989.

So is that page yours too?  Or did you pick up someone else's idea and start working on refining it?


That was me many many years ago.


I admire how you created backward compatibility. The byte 'interlacing' is really nice.

You also refer to a 16 bit 3op Processor as well on that website. :D
A long time ago I designed a 16 bit, 16 register RISC processor and I can say that it works a charm.
Surprisingly 128KB (64K words) is a great amount for a retro computer.
Having only 16 instructions does not seem to be too restricting for RISC.
It makes the assembler very readable and easy to convert. And C/C++ compiler is doable too.

Does your 65020 have a C compiler?


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Sat Apr 20, 2024 8:38 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
(Welcome, janrinze! Your RISC16 intrigues me - I found some hints over on stardot)


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Sat Apr 20, 2024 9:48 am 
Offline

Joined: Fri Apr 19, 2024 11:03 pm
Posts: 2
BigEd wrote:
(Welcome, janrinze! Your RISC16 intrigues me - I found some hints over on stardot)


Thanks. Any suggestion on where I could start a thread on this endeavour? (don't want to hijack this thread)


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Sat Apr 20, 2024 10:21 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
janrinze wrote:
Any suggestion on where I could start a thread on this endeavour? (don't want to hijack this thread)

The "Programmable Logic" section of this forum is the appropriate place for the 6502 version, since you're doing it in an FPGA.  Note that the description of that section, on the front page of the forum, says, "Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL."  If you have a version that's not 65-related, then the sister forum AnyCPU is the place for that.

Garth (moderator)

_________________
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: 65020
PostPosted: Sun Apr 21, 2024 6:39 pm 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 293
janrinze wrote:
I admire how you created backward compatibility. The byte 'interlacing' is really nice.


Thanks. The byte interlacing is actually the part I consider the ugliest - it's only that way because it was the natural result of "16 bit data + top 8 bits zero = original 6502 behaviour". My favourite is the cheeky re-interpretation of non-indexed addressing modes as indexed with a default index of zero. With this particular method of modifying the default, and this particular numbering of registers, that allows any Y register, stack pointer, or PC as an index for any instruction.

Quote:
Does your 65020 have a C compiler?


It does not, and it is very unlikely that it ever will. I'm not interested in writing a C compiler, and I don't expect anyone else will be sufficiently interested in this processor to provide one.

I did start writing a compiler for a language that I've invented for it, but progress on that is slow. The 65020 is a small part of a larger project - an entire computer, with every wheel getting reinvented by me. There's an infinite amount of work in there to distract me. The wheel-reinventing is why I'm not interested in a C compiler: the only reason I'd want one is so I can compile code written by other people. And why do that when I can spend another few years writing it myself?

The copy on github still needs to be updated. That got postponed until I had it running on an Artix 7, and that's waiting for me to design an adapter PCB so I can plug all the connectors into a new FPGA board. Some time in the next decade, I promise.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: