zamuel_a wrote:
Yes I understand the 65C816 is better to use, but when I guess there are other processors that are even better to use and finally you have design a modern PC
My comment was in the context of this project being built on 65xx hardware, which is why I mentioned the 65C816's support for the concept of instruction re-execution following a page fault.
Quote:
I like the idea of making an advanced 8 bit computer, unless there is to much work involved so that's why I thought making the MMU smart and handle what the CPU usually does would be much easier. I plan to use a PIC32MZ microcontroller as MMU since I am very familiar with them (A CPLD or FPGA could probably work too).
I'm sure a big-enough CPLD could do the job with some adroit programming. Also, the hardware interface
vis a vis the 6502 would be less onerous to work out. Doing this with a PIC could prove to be a challenge in working out the timing, since both the 6502 and the PIC would have to be bus masters on a cooperative basis.
Quote:
Since the PIC32 can run at 200MHz it would be a lot faster than the 6502 and could handle simple MMU operations very quickly. It could keep track of memory faults and other stuff so it should be simple to use.
I can't speak to the PIC's performance, as I've not explored using one in any situation. However, commentary by others has suggested to me that the PIC's throughput is not all that great relative to clock speed.
Good luck with your project.