Software-core 6510 processor

For discussing the 65xx hardware itself or electronics projects.
Post Reply
telmomoya
Posts: 2
Joined: 28 Jun 2016

Software-core 6510 processor

Post by telmomoya »

Hi
I'm working on a software-core 6510 processor and for testings I`m using a C64 board.
Unlike other implementations based on programmable logic (FPGA) and soft-cores, this is an ARM 32-bit microcontroller running a 6502 emulator. So I call it software-core, no soft-core.
For easy reconfigurability, a portable C programed microprocessor emulator is used resulting in a "High-Level Languaje In-Circuit Emulator".
This is a "spacetime" emulator new use, space because in-circuit, and time because real-time operation (software running synchronized to an extrernal clock). This syncronization impairs emulation performance, I'm writing an academic paper with system performance meters.

I chose 65xx processors because a lot of documentation is available, specially at this site! Also I'm a C64 owner.
Emulation it's not limited to 65xx processor. Including another emulator an heterogeneous multi-core C64 is obtained.
Take a look at http://telmomoya.blogspot.com.ar and send your feedback.

Thanks!
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Software-core 6510 processor

Post by GARTHWILSON »

A real emulator, and a great project!

I spent six years just outside your city, actually just outside Cerrillos, on the north side of RN68. "Visiting" by satellite views shows a lot of change in the last 40+ years. I think the bank on the north side of the Plaza 9 de Julio was being built when we left. I have not been back since. It looks like the horse-racing track at the junction of RN51 (on the way to the airport) and RN68 was turned into a golf course.
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?
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Software-core 6510 processor

Post by BigEd »

Very nice project - and welcome!
telmomoya
Posts: 2
Joined: 28 Jun 2016

Re: Software-core 6510 processor

Post by telmomoya »

GARTHWILSON wrote:
A real emulator, and a great project!

I spent six years just outside your city, actually just outside Cerrillos, on the north side of RN68. "Visiting" by satellite views shows a lot of change in the last 40+ years. I think the bank on the north side of the Plaza 9 de Julio was being built when we left. I have not been back since. It looks like the horse-racing track at the junction of RN51 (on the way to the airport) and RN68 was turned into a golf course.

Hi Garth! Nice to meet you.
The city grew quite, my house, at Salta Capital, is closer to Cerrillos that of Plaza 9 de Julio.
Yes, the Jockey Club hippodrome is now a golf course. During last years tourism has greatly developed in Salta, exploiting its landscapes, wines and people of course!
Tell me what was doing a 6502-guru at "Salta la linda"
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Software-core 6510 processor

Post by GARTHWILSON »

The 6502 had not been invented yet when we were there. Back then, computers were huge, and very few people had ever seen one. Our math books in school had pictures of core memory, with donuts hardly bigger than the ball of a virome. (You're probably the only one here who knows what I mean by "virome"! :lol: ) Even when we came back to the States, those who worked on computers seemed next to God or something. Years later, In 1982-3, I worked at TEAC in southern California, and there was one computer, a mainframe, that lived in its special holy room, and I remember only a couple of people had access to it. They were always dressed fit to kill. The rest of us were to remain outside, in reverence. There were scores of dumb terminals around the building. They did seem to be behind the times though. I worked on tape recorders that had microcontrollers in them (with bugs, but we had no way to fix those), and I was taking that first 6502 class at the local community college. At the same time, I took a Fortran class, and for that one, we had to punch the cards and turn them in for the computer operators to run them on an old mainframe. We would come back a couple of hours later for our printout that usually just gave a list of excuses that it couldn't run it. :lol:
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?
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Software-core 6510 processor

Post by BigEd »

Hi Telmo
I'm very impressed - looks like you have a 120MHz(?) ARM able to bit-bang an in-circuit emulation of a 6502 (6510) at 1MHz - or very nearly so? (If you can't quite keep up with full speed, what do you do?)

I see you're choosing to stick with high-level language emulation, using fake6502. I suppose for C64 purposes you do need to be cycle-accurate - otherwise I'd suggest taking a look at lib6502. Thanks for the mention of my a6502 emulation core - anyone who likes the look of that should now look also to the fast 6502 core in PiTubeDirect. But in both cases they are written in ARM assembly language.

Cheers!
Post Reply