The PIC32MZ at 200MHz has 330MIPS so it's rather fast. For an MMU it just need to monitor the address bus and do as little as possible. It something interessting happens. A page fault or whatever, when it can halt the processor and do whatever it needs before continue on.
I have created a graphic card for a 6502 processor (mostly tested it on a c64) that uses a PIC32MZ to read instructions from the 6502 and generate the output image, so it's a very capabel microncontroller that doesn't cost much.
Question about an MMU implementation idea
Re: Question about an MMU implementation idea
GARTHWILSON wrote:
jmp(FFFA), BDD's comment about microcontroller speed was with reference to using it as glue logic and more-sophisticated logic (an MMU in this case) to support a 6502/816. In a recent topic, I figured a 25MIPS PIC (100MHz in that case) was marginally fast enough to substitute for glue logic for a 1.79MHz '02 ...
Given that the 32-bit PICs and recent ARM MCUs are a lot faster than the PCs from yesteryear that were originally used to emulate 6502-based computers, I think the PIC32MZ (or similar ARM) would be a good platform to build a 6502 (or 65816) emulator on.
Re: Question about an MMU implementation idea
The goal of my project is to run a real 6502 so I won't emulate it, but it's a nice idea to do on a PIC32 if you want to create a small system. It has a lot of power and 512k RAM and 2Mb FLASH. You can probably emulate an c64 on it without any problem for example.
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: Question about an MMU implementation idea
jmp(FFFA) wrote:
I think the PIC32MZ (or similar ARM) would be a good platform to build a 6502 (or 65816) emulator on.
I was going to use Microchip tools but that forces you to use their horrid 'Harmony' framework on the PIC32MZs so I'm trying the alternative ChipKit tools out.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Re: Question about an MMU implementation idea
Quote:
I was going to use Microchip tools but that forces you to use their horrid 'Harmony' framework on the PIC32MZs