Jump to content
IGNORED

FPGA-based 6502 CPU replacement and Disk II emulator


dzenc

Recommended Posts

Hi Folks,

 

I'm new here. Thought I would stop by and say hi! and tell you all about a project I've been working on. I went looking for a good forum to post this on and found this one. (If there are other Apple II forums where it might be more appropriate to post this, please let me know.)

 

A few weeks ago, I went looking for an in-circuit emulator/debugger for my trusty old Apple II and stumbled across a project called "ICE-T65"

 

http://www.stardot.org.uk/forums/viewtopic.php?f=44&t=9655

 

The hardware is a small FPGA mounted on a 40-pin board that is similar form-factor to a 6502 processor. The hardware is generic and can be used for many projects. And it costs less than $100.

 

The magic software that re-creates a 6502 is all open source. David Banks combined a 6502 soft-core (to emulate the 6502) with an Atmel AVR soft-core (to act as a debugger) and wired them up such that the AVR can poke inside the 6502, including breakpoints, watchpoints, register reads, etc.

 

The debugger is written in C, and the AVR core is the same one used in an Arduindo, so it's easy to program for.

 

He developed the project on an Acorn Atom, but it simulates a real 6502 well enough that I was able to drop it into an Apple //e and have it work out of the box.

 

Really, really cool to see an Apple II boot up with the cpu removed and replaced with an FPGA. And the hardware backed 6502 debugging is awesome.

 

I'm a software developer, but I've never done any real hardware development, certainly not working with an FPGA. For me this was an opportunity to learn VHDL and teach myself how to design FPGA code.

 

My goal then became to add a virtual Disk II interface into the FPGA code. Initially, I was thinking of using an SD card for backing store, but then decided it would be more flexible if I added a network interface and allowed it to boot disk images over the network.

 

The beginnings of my project are here:

 

http://www.stardot.org.uk/forums/viewtopic.php?f=3&t=10334

 

There's been more progress since then. If people are interested, I will follow up with updated information.

 

Best,

Dan

Edited by dzenc
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...